Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. thisdir = class/System.Runtime.Serialization
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. RESOURCE_FILES =
  5. LIBRARY = System.Runtime.Serialization.dll
  6. LIB_REFS = System System.Xml System.Core System.ServiceModel.Internals
  7. LIB_MCS_FLAGS = \
  8. -unsafe \
  9. -d:NO_DYNAMIC_CODEGEN \
  10. /nowarn:168,169,219,414,618,1634 \
  11. $(RESOURCE_FILES:%=/resource:%)
  12. TXT_RESOURCE_STRINGS = ../referencesource/System.Runtime.Serialization/System.Runtime.Serialization.txt
  13. ifneq (2.1, $(FRAMEWORK_VERSION))
  14. LIB_REFS += System.Data System.Configuration SMDiagnostics
  15. LIB_MCS_FLAGS += /d:NET_3_0
  16. else
  17. LIB_MCS_FLAGS += /d:NO_CONFIGURATION /d:NO_SECURITY_ATTRIBUTES /d:NO_CODEDOM /d:NO_DESKTOP_SECURITY
  18. endif
  19. ifdef XAMMAC_4_5
  20. LIB_MCS_FLAGS += /d:NO_CONFIGURATION
  21. endif
  22. TEST_RESOURCE_FILES = \
  23. Test/Resources/WSDL/collections.wsdl \
  24. Test/Resources/WSDL/custom-collections.wsdl
  25. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(TEST_RESOURCE_FILES:%=/resource:%)
  26. TEST_LIB_REFS = System.ServiceModel System.Web.Services
  27. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
  28. Test/Resources/FrameworkTypes/* \
  29. Test/Resources/Schemas/*.xsd \
  30. Test/System.Runtime.Serialization/one.xml \
  31. ReferenceSource.common.sources \
  32. ReferenceSource.desktop.sources
  33. include ../../build/library.make