Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. thisdir = class/System.ServiceModel.Web
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.ServiceModel.Web.dll
  5. LIB_REFS = System System.Xml System.Runtime.Serialization System.ServiceModel System.Core
  6. LIB_MCS_FLAGS =
  7. ifneq (2.1, $(FRAMEWORK_VERSION))
  8. LIB_REFS += System.Configuration
  9. ifndef NO_SYSTEM_WEB_DEPENDENCY
  10. LIB_REFS += System.Web.Extensions
  11. endif
  12. LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0
  13. endif
  14. ifndef NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY
  15. ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
  16. LIB_REFS += System.ServiceModel.Activation
  17. endif
  18. endif
  19. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  20. EXTRA_DISTFILES = $(RESOURCE_FILES) \
  21. Test/config/webHttpBinding \
  22. Test/config/webHttpBinding.config \
  23. System.Runtime.Serialization.Json/DataContractJsonSerializerSettings.cs \
  24. System.Runtime.Serialization.Json/JavaScriptReader.cs
  25. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  26. ifndef VALID_PROFILE
  27. LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
  28. NO_INSTALL = yes
  29. NO_SIGN_ASSEMBLY = yes
  30. endif
  31. test-data-ondotnet:
  32. csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
  33. ./SyndicationSerializerUtil.exe
  34. test-data:
  35. $(LIBRARY_COMPILE) Test/System.ServiceModel.Syndication/SyndicationSerializerUtil.cs Test/System.ServiceModel.Syndication/FeedLib.cs -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS)
  36. ./SyndicationSerializerUtil.exe
  37. include ../../build/library.make