Makefile 2.2 KB

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