Makefile 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_REFS = System System.Xml System.Core System.Runtime.Serialization System.IdentityModel
  9. LIB_MCS_FLAGS = \
  10. /nowarn:414,169,67,3005,436,219,618 \
  11. /unsafe \
  12. /d:TRACE \
  13. $(RESOURCE_FILES:%=/resource:%)
  14. ifdef XAMMAC_4_5
  15. LIB_REFS += System.ServiceModel.Internals
  16. endif
  17. ifneq (2.1, $(FRAMEWORK_VERSION))
  18. LIB_REFS += System.Configuration System.Data System.Security System.IdentityModel.Selectors System.Transactions System.Messaging System.Web.Services Mono.Security
  19. LIB_MCS_FLAGS += /d:NET_3_0
  20. ifndef NO_SYSTEM_WEB_DEPENDENCY
  21. LIB_REFS += System.Web
  22. endif
  23. ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
  24. ifndef NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY
  25. activation = $(the_libdir_base)System.ServiceModel.Activation.dll
  26. servicemodel_deps = $(activation)
  27. ifneq (plainservice/,$(intermediate))
  28. LIB_REFS += System.ServiceModel.Activation
  29. LIB_MCS_FLAGS += -define:HAS_ACTIVATION
  30. endif
  31. endif # NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY
  32. ifndef NO_SYSTEM_WEB_APPSERVICES_DEPENDENCY
  33. LIB_REFS += System.Web.ApplicationServices
  34. endif
  35. endif # (4, $(FRAMEWORK_VERSION_MAJOR))
  36. endif # (2.1, $(FRAMEWORK_VERSION))
  37. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  38. TEST_EXTRA_FILES = \
  39. System.ServiceModel_test_net_3_0.dll.config \
  40. Test/config/* \
  41. Test/Resources/* \
  42. Test/XmlFiles/* \
  43. Test/System.ServiceModel.Channels/soap-fault*.xml \
  44. Test/System.ServiceModel.Channels/binary-message.raw \
  45. Test/System.ServiceModel.Description/dump.xml \
  46. Test/MetadataTests/Resources/*
  47. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
  48. # Useful for debugging under Visual Studio 2005
  49. # NO_SIGN_ASSEMBLY = yes
  50. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  51. ifndef VALID_PROFILE
  52. LIBRARY_NAME = dummy-System.ServiceModel.dll
  53. NO_INSTALL = yes
  54. NO_SIGN_ASSEMBLY = yes
  55. NO_TEST = yes
  56. endif
  57. include ../../build/library.make
  58. $(the_libdir_base)System.ServiceModel.dll: $(servicemodel_deps)
  59. $(activation):
  60. (cd ../System.ServiceModel.Activation; $(MAKE) $@)
  61. ifneq (plainservice/,$(intermediate))
  62. $(the_libdir_base)plainservice/System.ServiceModel.dll:
  63. $(MAKE) intermediate=plainservice/ $(the_libdir_base)plainservice/System.ServiceModel.dll
  64. endif
  65. .NOTPARALLEL: $(servicemodel_deps)
  66. CLEAN_FILES = $(the_libdir_base)plainservice/System.ServiceModel.dll
  67. ifndef intermediate
  68. csproj-local:
  69. $(MAKE) csproj-local intermediate=plainservice/
  70. endif