Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. /r:System.dll \
  12. /r:System.Xml.dll \
  13. /r:System.Core.dll \
  14. /r:System.Runtime.Serialization.dll \
  15. $(RESOURCE_FILES:%=/resource:%)
  16. ifneq (2.1, $(FRAMEWORK_VERSION))
  17. LIB_MCS_FLAGS += /d:NET_3_0 \
  18. /r:System.Configuration.dll \
  19. /r:System.Data.dll \
  20. /r:System.Security.dll \
  21. /r:System.IdentityModel.dll \
  22. /r:System.IdentityModel.Selectors.dll \
  23. /r:System.Transactions.dll \
  24. /r:System.Messaging.dll \
  25. /r:System.Web.dll \
  26. /r:System.Web.Services.dll \
  27. /r:Mono.Security.dll
  28. endif
  29. ifeq (moonlight_raw, $(PROFILE))
  30. LIB_MCS_FLAGS += /r:System.Net
  31. endif
  32. ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
  33. LIB_MCS_FLAGS += /r:System.Web.ApplicationServices.dll
  34. endif
  35. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  36. TEST_EXTRA_FILES = \
  37. System.ServiceModel_test_net_3_0.dll.config \
  38. Test/config/* \
  39. Test/Resources/* \
  40. Test/System.ServiceModel.Description/dump.xml
  41. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
  42. # Useful for debugging under Visual Studio 2005
  43. # NO_SIGN_ASSEMBLY = yes
  44. VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
  45. ifndef VALID_PROFILE
  46. LIBRARY_NAME = dummy-System.ServiceModel.dll
  47. NO_INSTALL = yes
  48. NO_SIGN_ASSEMBLY = yes
  49. NO_TEST = yes
  50. endif
  51. include ../../build/library.make