Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  24. ifndef VALID_PROFILE
  25. LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
  26. NO_INSTALL = yes
  27. NO_SIGN_ASSEMBLY = yes
  28. endif
  29. test-data-ondotnet:
  30. csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
  31. ./SyndicationSerializerUtil.exe
  32. test-data:
  33. $(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)
  34. ./SyndicationSerializerUtil.exe
  35. include ../../build/library.make