2
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 (2.1, $(FRAMEWORK_VERSION))
  30. LIB_MCS_FLAGS += /r:System.Net
  31. endif
  32. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  33. TEST_EXTRA_FILES = \
  34. System.ServiceModel_test_net_3_0.dll.config \
  35. Test/config/* \
  36. Test/Resources/* \
  37. Test/System.ServiceModel.Description/dump.xml
  38. EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
  39. # Useful for debugging under Visual Studio 2005
  40. # NO_SIGN_ASSEMBLY = yes
  41. VALID_PROFILE := $(filter net_2_0 net_2_1_raw net_4_0, $(PROFILE))
  42. ifndef VALID_PROFILE
  43. LIBRARY_NAME = dummy-System.ServiceModel.dll
  44. NO_INSTALL = yes
  45. NO_SIGN_ASSEMBLY = yes
  46. NO_TEST = yes
  47. endif
  48. include ../../build/library.make