Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. thisdir = class/System.ServiceModel
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. RESOURCE_FILES = \
  5. resources/WS-Addressing.schema \
  6. resources/ws-addr.xsd
  7. LIBRARY = System.ServiceModel.dll
  8. LIB_MCS_FLAGS = \
  9. /d:USE_DATA_CONTRACT_IMPORTER \
  10. /nowarn:414,169,67,3005,436,219,618 \
  11. /unsafe \
  12. /r:System.dll \
  13. /r:System.Xml.dll \
  14. /r:System.Core.dll \
  15. /r:System.Runtime.Serialization.dll \
  16. $(RESOURCE_FILES:%=/resource:%)
  17. ifneq (2.1, $(FRAMEWORK_VERSION))
  18. LIB_MCS_FLAGS += /d:NET_3_0 \
  19. /r:System.Configuration.dll \
  20. /r:System.Data.dll \
  21. /r:System.Security.dll \
  22. /r:System.IdentityModel.dll \
  23. /r:System.IdentityModel.Selectors.dll \
  24. /r:System.Transactions.dll \
  25. /r:System.Messaging.dll \
  26. /r:System.Web.dll \
  27. /r:System.Web.Services.dll \
  28. /r:Mono.Security.dll
  29. endif
  30. ifeq (moonlight_raw, $(PROFILE))
  31. LIB_MCS_FLAGS += /r:System.Net
  32. endif
  33. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  34. TEST_EXTRA_FILES = \
  35. System.ServiceModel_test_net_3_0.dll.config \
  36. Test/config/* \
  37. Test/Resources/* \
  38. Test/System.ServiceModel.Description/dump.xml
  39. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
  40. # Useful for debugging under Visual Studio 2005
  41. # NO_SIGN_ASSEMBLY = yes
  42. VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
  43. ifndef VALID_PROFILE
  44. LIBRARY_NAME = dummy-System.ServiceModel.dll
  45. NO_INSTALL = yes
  46. NO_SIGN_ASSEMBLY = yes
  47. NO_TEST = yes
  48. endif
  49. include ../../build/library.make