Message headers are now serialized and deserialized for MessageHeaderDescription.
[mono.git] / mcs / class / System.Design / Makefile
index 66855fea6231de4b85434fae1d5be0de343f23d3..f71c5bb86f4d9e35dd7ab7ea029c1235fdc98b8c 100644 (file)
@@ -3,14 +3,44 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Design.dll
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Web.dll \
+
+ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
+
+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))
+ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
 LIB_MCS_FLAGS += -r:System.Configuration.dll
 endif
 
-NO_TEST = yes
+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
+
 
 include ../../build/library.make
+
+
+ifdef DRAWING_DESIGN_DEP_FILE
+LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
+$(build_lib): $(DRAWING_DESIGN_DEP_FILE)
+endif