Debian Codegraph @

mcs/class/System.Web.Services/Makefile

raw
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 API_BIN_REFS := System.Web
20 endif
21
22 ifndef NO_SYSTEM_DESIGN_DEPENDENCY
23 LIB_REFS += System.Design
24 endif
25
26 ifndef NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY
27 LIB_REFS += System.DirectoryServices
28 endif
29
30 LIB_REFS += System.Configuration
31 LIB_MCS_FLAGS += \
32 -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
33 -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
34 -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
35 endif
36
37 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
38
39 ifndef NO_THREAD_ABORT
40 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
41 endif
42
43 ifndef NO_THREAD_SUSPEND_RESUME
44 TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_SUSPEND_RESUME
45 endif
46
47 TEST_RESOURCE_FILES = $(wildcard Test/System.Web.Services.Description/*.wsdl)
48
49 TEST_MCS_FLAGS += $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
50
51 #
52 # This is only used to test the tool in `--existing` mode, see my comment
53 # at top top of tools/resx2sr/resx2sr.cs
54 #
55
56 RESX_EXTRA_ARGUMENTS = \
57 --in=corefx/SR.template.cs --name=System.Web.Services.Res --existing
58
59 RESX_RESOURCE_STRING = \
60 ../referencesource/System.Web.Services/System.Web.Services.txt
61
62
63 EXTRA_DISTFILES = \
64 System.Web.Services.Description/web-reference.xsd \
65 System.Web.Services.Description/wsdl-1.1.xsd \
66 System.Web.Services.Description/wsdl-1.1-soap.xsd \
67 System.Web.Services.Description/wsdl.genxs \
68 $(TEST_RESOURCE_FILES)
69
70 include ../../build/library.make