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