Merge pull request #2819 from BrzVlad/fix-major-log
[mono.git] / mcs / class / System.Design / Makefile
index d1f822e603e6238201e84ff6d313e23b94e8b645..3dc11aa3b01e293dc886b475ccd6ff36704715d2 100644 (file)
@@ -4,43 +4,15 @@ include ../../build/rules.make
 
 LIBRARY = System.Design.dll
 
-ifeq (net_2_0, $(PROFILE))
-
-LIBRARY_USE_INTERMEDIATE_FILE = yes
-
-
-DRAWING_DESIGN_DEP := System.Drawing.Design.dll
-DRAWING_DESIGN_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(DRAWING_DESIGN_DEP))
-CYCLIC_DEPS := $(DRAWING_DESIGN_DEP)
-CYCLIC_DEP_FILES := $(DRAWING_DESIGN_DEP_FILE)
-endif
-
-
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.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
-
-ifneq ($(CYCLIC_DEPS:%=../lib/$(PROFILE)/%), $(CYCLIC_DEP_FILES))
-NO_SIGN_ASSEMBLY = yes
-NO_INSTALL = yes
-all-local: echo-warning
-.PHONY: echo-warning
-
-ifeq   (, $(strip $(CYCLIC_DEP_FILES)))
-echo-warning:
-       @echo "** Warning: System.Web.dll built without parts that depend on: $(CYCLIC_DEPS)"
-endif
-endif
+LIB_REFS = System System.Xml plainweb/System.Web System.Windows.Forms System.Drawing Accessibility System.Data System.Configuration
+LIB_MCS_FLAGS =
 
+TEST_LIB_REFS = System System.Drawing System.Windows.Forms
+TEST_MCS_FLAGS =
 
 include ../../build/library.make
 
-
-ifdef DRAWING_DESIGN_DEP_FILE
-LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
-$(the_lib): $(DRAWING_DESIGN_DEP_FILE)
+ifneq (plaindesign/,$(intermediate))
+$(the_libdir_base)plaindesign/System.Design.dll:
+       $(MAKE) intermediate=plaindesign/ $(the_libdir_base)plaindesign/System.Design.dll
 endif