Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / class / Mono.CompilerServices.SymbolWriter / Makefile
index 0104454d40414fda4d01bcba7ea8b1591893104c..d30779ce7f13af8b685c1f04fa764222a1556c86 100644 (file)
@@ -1,15 +1,26 @@
-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