Makefile 757 B

1234567891011121314151617181920212223242526272829
  1. thisdir = class/System.ComponentModel.DataAnnotations
  2. SUBDIRS = Test
  3. include ../../build/rules.make
  4. LIBRARY = System.ComponentModel.DataAnnotations.dll
  5. LIB_MCS_FLAGS = \
  6. /r:System.dll \
  7. /r:System.Core.dll \
  8. /r:System.Data.dll \
  9. /r:System.Xml.dll \
  10. ifeq (2.0, $(FRAMEWORK_VERSION))
  11. # This is a .NET 3.5 only assembly, but built during the 2.0 build
  12. LIB_MCS_FLAGS += -d:NET_3_5
  13. endif
  14. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  15. # This is a .NET 3.5+ assembly
  16. VALID_PROFILE := $(filter net_2_0 net_4_0 net_4_5, $(PROFILE))
  17. ifndef VALID_PROFILE
  18. LIBRARY_NAME = dummy-System.ComponentModel.DataAnnotations.dll
  19. NO_INSTALL = yes
  20. NO_SIGN_ASSEMBLY = yes
  21. NO_TEST = yes
  22. endif
  23. include ../../build/library.make