Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / class / System.Design / Makefile
index 66855fea6231de4b85434fae1d5be0de343f23d3..3dc11aa3b01e293dc886b475ccd6ff36704715d2 100644 (file)
@@ -3,14 +3,16 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Design.dll
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Web.dll \
-       -r:System.Windows.Forms.dll -r:System.Drawing.dll \
-       -r:Accessibility.dll -r:System.Data.dll
 
-ifeq (net_2_0, $(PROFILE))
-LIB_MCS_FLAGS += -r:System.Configuration.dll
-endif
+LIB_REFS = System System.Xml plainweb/System.Web System.Windows.Forms System.Drawing Accessibility System.Data System.Configuration
+LIB_MCS_FLAGS =
 
-NO_TEST = yes
+TEST_LIB_REFS = System System.Drawing System.Windows.Forms
+TEST_MCS_FLAGS =
 
 include ../../build/library.make
+
+ifneq (plaindesign/,$(intermediate))
+$(the_libdir_base)plaindesign/System.Design.dll:
+       $(MAKE) intermediate=plaindesign/ $(the_libdir_base)plaindesign/System.Design.dll
+endif