Make CancellationToken more lightweight and fix few bugs in it
[mono.git] / mcs / class / System.ServiceModel.Web / Makefile
1 thisdir = class/System.ServiceModel.Web
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.ServiceModel.Web.dll
6 LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -r:System.Runtime.Serialization.dll -r:System.ServiceModel.dll -r:System.Core.dll
7
8 ifneq (2.1, $(FRAMEWORK_VERSION))
9 LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0  \
10                         -r:System.Configuration.dll \
11                         -r:System.Web.Extensions.dll
12 endif
13
14 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
15
16 EXTRA_DISTFILES = $(RESOURCE_FILES) \
17         Test/config/webHttpBinding \
18         Test/config/webHttpBinding.config
19
20 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
21 ifndef VALID_PROFILE
22 LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
23 NO_INSTALL = yes
24 NO_SIGN_ASSEMBLY = yes
25 endif
26
27 test-data-ondotnet:
28         csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
29         ./SyndicationSerializerUtil.exe
30
31 test-data:
32         $(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)
33         ./SyndicationSerializerUtil.exe
34
35 include ../../build/library.make