Files
mono/mcs/class/System.Design/Makefile
T
Atsushi Eno d47c11f091 2007-10-09 Atsushi Enomoto <[email protected]>
In 2.0 System.Design.dll has cyclic dep on System.Drawing.Design.dll.


svn path=/trunk/mcs/; revision=87194
2007-10-09 16:41:51 +00:00

47 lines
1.1 KiB
Makefile

thisdir = class/System.Design
SUBDIRS =
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
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)
endif