Merge pull request #1051 from josedonizetti/bug11916-DataContractSerializer
[mono.git] / mcs / class / System.Web.Services / Makefile
1 thisdir = class/System.Web.Services
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Web.Services.dll
6 MOBILE := $(filter monotouch monodroid xammac mobile mobile_static, $(PROFILE))
7 ifdef MOBILE
8 LIB_MCS_FLAGS = \
9         -nowarn:649 -nowarn:169                 \
10         -r:$(corlib)                            \
11         -r:System.dll                           \
12         -r:System.Xml.dll                       \
13         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
14         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
15         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
16 else
17 LIB_MCS_FLAGS = \
18         -nowarn:649 -nowarn:169                 \
19         -r:$(corlib)                            \
20         -r:System.dll                           \
21         -r:System.EnterpriseServices.dll        \
22         -r:System.Xml.dll                       \
23         -r:System.Web.dll
24
25 plainweb_dir = $(the_libdir_base)plainweb
26 LOCAL_MCS_FLAGS = -lib:$(plainweb_dir)
27
28 plainweb = $(plainweb_dir)/System.Web.dll
29 system_web_services_deps = $(plainweb)
30
31 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
32 LIB_MCS_FLAGS += \
33         -r:System.Configuration.dll \
34         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
35         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
36         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
37 endif
38 endif
39
40 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
41
42 EXTRA_DISTFILES = \
43         System.Web.Services.Description/web-reference.xsd       \
44         System.Web.Services.Description/wsdl-1.1.xsd            \
45         System.Web.Services.Description/wsdl-1.1-soap.xsd       \
46         System.Web.Services.Description/wsdl.genxs              \
47         Test/System.Web.Services.Description/*.wsdl
48
49 include ../../build/library.make
50
51 $(the_libdir_base)$(LIBRARY): $(system_web_services_deps)
52
53 $(plainweb):
54         (cd ../System.Web; $(MAKE) $@)
55
56 .NOTPARALLEL: $(plainweb)