2010-06-21 Marek Habersack <mhabersack@novell.com>
[mcs.git] / class / System.Design / Makefile
blobf71c5bb86f4d9e35dd7ab7ea029c1235fdc98b8c
1 thisdir = class/System.Design
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Design.dll
7 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
9 LIBRARY_USE_INTERMEDIATE_FILE = yes
12 DRAWING_DESIGN_DEP := System.Drawing.Design.dll
13 DRAWING_DESIGN_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(DRAWING_DESIGN_DEP))
14 CYCLIC_DEPS := $(DRAWING_DESIGN_DEP)
15 CYCLIC_DEP_FILES := $(DRAWING_DESIGN_DEP_FILE)
16 endif
19 LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Web.dll \
20 -r:System.Windows.Forms.dll -r:System.Drawing.dll \
21 -r:Accessibility.dll -r:System.Data.dll
23 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
24 LIB_MCS_FLAGS += -r:System.Configuration.dll
25 endif
27 ifneq ($(CYCLIC_DEPS:%=../lib/$(PROFILE)/%), $(CYCLIC_DEP_FILES))
28 NO_SIGN_ASSEMBLY = yes
29 NO_INSTALL = yes
30 all-local: echo-warning
31 .PHONY: echo-warning
33 ifeq (, $(strip $(CYCLIC_DEP_FILES)))
34 echo-warning:
35 @echo "** Warning: System.Web.dll built without parts that depend on: $(CYCLIC_DEPS)"
36 endif
37 endif
40 include ../../build/library.make
43 ifdef DRAWING_DESIGN_DEP_FILE
44 LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
45 $(build_lib): $(DRAWING_DESIGN_DEP_FILE)
46 endif