Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. thisdir = class/System.Design
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.Design.dll
  5. ifeq (net_2_0, $(PROFILE))
  6. LIBRARY_USE_INTERMEDIATE_FILE = yes
  7. DRAWING_DESIGN_DEP := System.Drawing.Design.dll
  8. DRAWING_DESIGN_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(DRAWING_DESIGN_DEP))
  9. CYCLIC_DEPS := $(DRAWING_DESIGN_DEP)
  10. CYCLIC_DEP_FILES := $(DRAWING_DESIGN_DEP_FILE)
  11. endif
  12. LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Web.dll \
  13. -r:System.Windows.Forms.dll -r:System.Drawing.dll \
  14. -r:Accessibility.dll -r:System.Data.dll
  15. ifeq (net_2_0, $(PROFILE))
  16. LIB_MCS_FLAGS += -r:System.Configuration.dll
  17. endif
  18. ifneq ($(CYCLIC_DEPS:%=../lib/$(PROFILE)/%), $(CYCLIC_DEP_FILES))
  19. NO_SIGN_ASSEMBLY = yes
  20. NO_INSTALL = yes
  21. all-local: echo-warning
  22. .PHONY: echo-warning
  23. ifeq (, $(strip $(CYCLIC_DEP_FILES)))
  24. echo-warning:
  25. @echo "** Warning: System.Web.dll built without parts that depend on: $(CYCLIC_DEPS)"
  26. endif
  27. endif
  28. include ../../build/library.make
  29. ifdef DRAWING_DESIGN_DEP_FILE
  30. LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
  31. $(the_lib): $(DRAWING_DESIGN_DEP_FILE)
  32. endif