Merge pull request #5714 from alexischr/update_bockbuild
[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 KEYFILE = ../msfinal.pub
7 ifdef MOBILE_PROFILE
8 LIB_REFS = System System.Xml
9 LIB_MCS_FLAGS = \
10         -nowarn:649 -nowarn:168         \
11         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
12         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
13         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
14 else
15 LIB_REFS = System System.EnterpriseServices System.Xml System.Data
16 LIB_MCS_FLAGS = -nowarn:168,612,618,649 -d:MONO_BROKEN_CONFIGURATION_DLL
17
18 ifndef NO_SYSTEM_WEB_DEPENDENCY
19 plainweb = $(the_libdir_base)plainweb/System.Web.dll
20 system_web_deps = $(plainweb)
21 LIB_REFS += plainweb/System.Web
22 endif
23
24 ifndef NO_SYSTEM_DESIGN_DEPENDENCY
25 plaindesign = $(the_libdir_base)plaindesign/System.Design.dll
26 system_design_deps = $(plaindesign)
27 LIB_REFS += plaindesign/System.Design
28 endif
29
30 ifndef NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY
31 LIB_REFS += System.DirectoryServices
32 endif
33
34 LIB_REFS += System.Configuration
35 LIB_MCS_FLAGS += \
36         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
37         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
38         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
39 endif
40
41 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
42
43 ifndef NO_THREAD_ABORT
44 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
45 endif
46
47 ifndef NO_THREAD_SUSPEND_RESUME
48 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_SUSPEND_RESUME
49 endif
50
51 EXTRA_DISTFILES = \
52         System.Web.Services.Description/web-reference.xsd       \
53         System.Web.Services.Description/wsdl-1.1.xsd            \
54         System.Web.Services.Description/wsdl-1.1-soap.xsd       \
55         System.Web.Services.Description/wsdl.genxs              \
56         Test/System.Web.Services.Description/*.wsdl
57
58 include ../../build/library.make
59
60 $(the_libdir_base)$(LIBRARY): $(system_web_deps) $(system_design_deps)
61
62 $(plainweb):
63         (cd ../System.Web; $(MAKE) $@)
64
65 $(plaindesign):
66         (cd ../System.Design; $(MAKE) $@)
67
68 .NOTPARALLEL: $(plainweb) $(plaindesign)