Merge pull request #260 from pcc/topmost
[mono.git] / mcs / class / System.Design / Makefile
1 thisdir = class/System.Design
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Design.dll
6
7 LIBRARY_USE_INTERMEDIATE_FILE = yes
8
9 DRAWING_DESIGN_DEP := System.Drawing.Design.dll
10 DRAWING_DESIGN_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(DRAWING_DESIGN_DEP))
11 CYCLIC_DEPS := $(DRAWING_DESIGN_DEP)
12 CYCLIC_DEP_FILES := $(DRAWING_DESIGN_DEP_FILE)
13
14
15 LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Web.dll \
16         -r:System.Windows.Forms.dll -r:System.Drawing.dll \
17         -r:Accessibility.dll -r:System.Data.dll \
18         -r:System.Configuration.dll
19         
20 TEST_MCS_FLAGS = /r:System.dll -r:System.Drawing.dll -r:System.Windows.Forms
21
22 ifneq ($(CYCLIC_DEPS:%=../lib/$(PROFILE)/%), $(CYCLIC_DEP_FILES))
23 NO_SIGN_ASSEMBLY = yes
24 NO_INSTALL = yes
25 all-local: echo-warning
26 .PHONY: echo-warning
27
28 ifeq   (, $(strip $(CYCLIC_DEP_FILES)))
29 echo-warning:
30         @echo "** Warning: System.Web.dll built without parts that depend on: $(CYCLIC_DEPS)"
31 endif
32 endif
33
34
35 include ../../build/library.make
36
37
38 ifdef DRAWING_DESIGN_DEP_FILE
39 LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
40 $(build_lib): $(DRAWING_DESIGN_DEP_FILE)
41 endif