Remove Thread.[Abort|Suspend|Resume] from TvOS/WatchOS.
[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         -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_REFS = System System.EnterpriseServices System.Xml System.Data
18 LIB_MCS_FLAGS = -nowarn:168,169,219,414,612,649 -d:MONO_BROKEN_CONFIGURATION_DLL
19
20 ifndef NO_SYSTEM_WEB_DEPENDENCY
21 LIB_REFS += System.Web
22 plainweb_dir = $(the_libdir_base)plainweb
23 plainweb = $(plainweb_dir)/System.Web.dll
24 system_web_services_deps = $(plainweb)
25 LOCAL_MCS_FLAGS += -lib:$(plainweb_dir)
26 endif
27
28 ifndef NO_SYSTEM_DESIGN_DEPENDENCY
29 LIB_REFS += System.Design
30 plaindesign_dir = $(the_libdir_base)plaindesign
31 plaindesign = $(plaindesign_dir)/System.Design.dll
32 system_design_deps = $(plaindesign)
33 LOCAL_MCS_FLAGS += -lib:$(plaindesign_dir)
34 endif
35
36 ifndef NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY
37 LIB_REFS += System.DirectoryServices
38 endif
39
40 LIB_REFS += System.Configuration
41 LIB_MCS_FLAGS += \
42         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
43         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
44         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
45 endif
46
47 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
48
49 ifndef NO_THREAD_ABORT
50 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
51 endif
52
53 ifndef NO_THREAD_SUSPEND_RESUME
54 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_SUSPEND_RESUME
55 endif
56
57 EXTRA_DISTFILES = \
58         System.Web.Services.Description/web-reference.xsd       \
59         System.Web.Services.Description/wsdl-1.1.xsd            \
60         System.Web.Services.Description/wsdl-1.1-soap.xsd       \
61         System.Web.Services.Description/wsdl.genxs              \
62         Test/System.Web.Services.Description/*.wsdl
63
64 include ../../build/library.make
65
66 $(the_libdir_base)$(LIBRARY): $(system_web_services_deps) $(system_design_deps)
67
68 $(plainweb):
69         (cd ../System.Web; $(MAKE) $@)
70
71 $(plaindesign):
72         (cd ../System.Design; $(MAKE) $@)
73
74 .NOTPARALLEL: $(plainweb) $(plaindesign)