2009-07-20 Jb Evain <jbevain@novell.com>
[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
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 endif
12
13 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
14
15 EXTRA_DISTFILES = $(RESOURCE_FILES)
16
17 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
18 ifndef VALID_PROFILE
19 LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
20 NO_INSTALL = yes
21 NO_SIGN_ASSEMBLY = yes
22 endif
23
24 test-data-ondotnet:
25         csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
26         ./SyndicationSerializerUtil.exe
27
28 test-data:
29         $(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)
30         ./SyndicationSerializerUtil.exe
31
32 include ../../build/library.make