Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. thisdir = class/System.ServiceModel.Web
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.ServiceModel.Web.dll
  5. LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -r:System.Runtime.Serialization.dll -r:System.ServiceModel.dll -r:System.Core.dll
  6. ifneq (2.1, $(FRAMEWORK_VERSION))
  7. LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0 \
  8. -r:System.Configuration.dll \
  9. -r:System.Web.Extensions.dll
  10. endif
  11. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  12. EXTRA_DISTFILES = $(RESOURCE_FILES) \
  13. Test/config/webHttpBinding \
  14. Test/config/webHttpBinding.config
  15. VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
  16. ifndef VALID_PROFILE
  17. LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
  18. NO_INSTALL = yes
  19. NO_SIGN_ASSEMBLY = yes
  20. endif
  21. test-data-ondotnet:
  22. csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
  23. ./SyndicationSerializerUtil.exe
  24. test-data:
  25. $(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)
  26. ./SyndicationSerializerUtil.exe
  27. include ../../build/library.make