Merge pull request #1155 from steffen-kiess/json-string
[mono.git] / mcs / class / Mono.Security / Makefile
index e3286f288a5f78ab1375b0dedfc85fd2dc57e487..edb34ec36bf623cc729675ce4c3d8d1d641f1f66 100644 (file)
@@ -3,8 +3,16 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = Mono.Security.dll
-LIB_MCS_FLAGS = -r:System.dll -unsafe
-LIBRARY_USE_INTERMEDIATE_FILE = yes
+LOCAL_MCS_FLAGS = -lib:$(the_libdir_base)bare
+LIB_REFS = System
+LIB_MCS_FLAGS = -unsafe -nowarn:1030
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:169,219,618,672
 
 include ../../build/library.make
+
+$(build_lib): $(the_libdir_base)bare/System.dll
+
+$(the_libdir_base)bare/System.dll:
+       (cd ../System; $(MAKE) $@)
+
+.NOTPARALLEL: $(the_libdir_base)bare/System.dll