Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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. VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
  14. ifndef VALID_PROFILE
  15. LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
  16. NO_INSTALL = yes
  17. NO_SIGN_ASSEMBLY = yes
  18. endif
  19. test-data-ondotnet:
  20. csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
  21. ./SyndicationSerializerUtil.exe
  22. test-data:
  23. $(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)
  24. ./SyndicationSerializerUtil.exe
  25. include ../../build/library.make