2
0

Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. /nowarn:414,169,67,3005,436,219,618 \
  10. /unsafe \
  11. /d:TRACE \
  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. ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
  34. LIB_MCS_FLAGS += /r:System.Web.ApplicationServices.dll
  35. endif
  36. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  37. TEST_EXTRA_FILES = \
  38. System.ServiceModel_test_net_3_0.dll.config \
  39. Test/config/* \
  40. Test/Resources/* \
  41. Test/XmlFiles/* \
  42. Test/System.ServiceModel.Channels/soap-fault*.xml \
  43. Test/System.ServiceModel.Channels/binary-message.raw \
  44. Test/System.ServiceModel.Description/dump.xml \
  45. Test/MetadataTests/Resources/*
  46. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
  47. # Useful for debugging under Visual Studio 2005
  48. # NO_SIGN_ASSEMBLY = yes
  49. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  50. ifndef VALID_PROFILE
  51. LIBRARY_NAME = dummy-System.ServiceModel.dll
  52. NO_INSTALL = yes
  53. NO_SIGN_ASSEMBLY = yes
  54. NO_TEST = yes
  55. endif
  56. include ../../build/library.make