Makefile 1.1 KB

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