-thisdir = class/Mono.CSharp.Debugger
+thisdir = class/Mono.CompilerServices.SymbolWriter
SUBDIRS =
include ../../build/rules.make
LIBRARY = Mono.CompilerServices.SymbolWriter.dll
-LIBRARY_USE_INTERMEDIATE_FILE = yes
+LIB_REFS = System
+LIB_MCS_FLAGS =
-LIB_MCS_FLAGS = /r:$(corlib)
NO_TEST = yes
-ifeq (win32default, $(PLATFORM)$(PROFILE))
-LIBRARY_COMPILE = MONO_PATH="$(topdir)/class/lib/$(PROFILE);$$MONO_PATH" $(INTERNAL_MCS) $(USE_MCS_FLAGS)
+ifneq (basic, $(PROFILE))
+USE_BOOT_COMPILE = yes
+endif
+
+ifdef USE_BOOT_COMPILE
+LIBRARY_COMPILE = $(BOOT_COMPILE)
endif
include ../../build/library.make
+
+$(build_lib): $(bare_libdir)/System.dll
+
+$(bare_libdir)/System.dll:
+ (cd ../System; make $@)
+
+.NOTPARALLEL: $(bare_libdir)/System.dll