Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. thisdir = class/System.Runtime.Serialization
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. RESOURCE_FILES = \
  5. resources/mstypes.schema
  6. LIBRARY = System.Runtime.Serialization.dll
  7. LIB_MCS_FLAGS = \
  8. /nowarn:168,169,219,414 \
  9. /r:System.dll \
  10. /r:System.Xml.dll \
  11. /r:System.Core.dll \
  12. $(RESOURCE_FILES:%=/resource:%)
  13. ifneq (2.1, $(FRAMEWORK_VERSION))
  14. LIB_MCS_FLAGS += /d:NET_3_0 /r:System.Data.dll /r:System.Configuration.dll
  15. endif
  16. TEST_RESOURCE_FILES = \
  17. Test/Resources/WSDL/collections.wsdl \
  18. Test/Resources/WSDL/custom-collections.wsdl
  19. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /r:System.ServiceModel.dll /r:System.Web.Services.dll \
  20. $(TEST_RESOURCE_FILES:%=/resource:%)
  21. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
  22. Test/Resources/FrameworkTypes/* \
  23. Test/Resources/Schemas/*.xsd \
  24. Test/System.Runtime.Serialization/one.xml
  25. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  26. ifndef VALID_PROFILE
  27. LIBRARY_NAME = dummy-System.Runtime.Serialization.dll
  28. NO_INSTALL = yes
  29. NO_SIGN_ASSEMBLY = yes
  30. NO_TEST = yes
  31. endif
  32. include ../../build/library.make