Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / class / Mono.CompilerServices.SymbolWriter / Makefile
index 4e8f2ab38911416faf5a0cadbcf77531dc79f6a6..d30779ce7f13af8b685c1f04fa764222a1556c86 100644 (file)
@@ -3,9 +3,9 @@ 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) /r:System.dll
 NO_TEST = yes
 
 ifneq (basic, $(PROFILE))
@@ -17,3 +17,10 @@ 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