copied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history...
[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 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
8
9 LIBRARY_USE_INTERMEDIATE_FILE = yes
10
11
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
17
18
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
22
23 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
24 LIB_MCS_FLAGS += -r:System.Configuration.dll
25 endif
26
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
32
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
38
39
40 include ../../build/library.make
41
42
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