Merge pull request #1898 from alexanderkyte/debugger_variable_reflection
[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 monotouch_watch monodroid xammac mobile mobile_static, $(PROFILE))
7 ifdef MOBILE
8 LIB_REFS = System System.Xml
9 LIB_MCS_FLAGS = \
10         -nowarn:649 -nowarn:169                 \
11         -r:$(corlib)                            \
12         -r:System.dll                           \
13         -r:System.Xml.dll                       \
14         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
15         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
16         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
17 else
18 LIB_REFS = System System.EnterpriseServices System.Xml System.Data
19 LIB_MCS_FLAGS = -nowarn:168,169,219,414,612,649 -d:MONO_BROKEN_CONFIGURATION_DLL
20
21 ifndef NO_SYSTEM_WEB_DEPENDENCY
22 LIB_REFS += System.Web
23 plainweb_dir = $(the_libdir_base)plainweb
24 plainweb = $(plainweb_dir)/System.Web.dll
25 system_web_services_deps = $(plainweb)
26 LOCAL_MCS_FLAGS += -lib:$(plainweb_dir)
27 endif
28
29 ifndef NO_SYSTEM_DESIGN_DEPENDENCY
30 LIB_REFS += System.Design
31 plaindesign_dir = $(the_libdir_base)plaindesign
32 plaindesign = $(plaindesign_dir)/System.Design.dll
33 system_design_deps = $(plaindesign)
34 LOCAL_MCS_FLAGS += -lib:$(plaindesign_dir)
35 endif
36
37 ifndef NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY
38 LIB_REFS += System.DirectoryServices
39 endif
40
41 LIB_REFS += System.Configuration
42 LIB_MCS_FLAGS += \
43         -resource:System.Web.Services.Description/wsdl-1.1.xsd,wsdl-1.1.xsd \
44         -resource:System.Web.Services.Description/wsdl-1.1-soap.xsd,wsdl-1.1-soap.xsd \
45         -resource:System.Web.Services.Description/web-reference.xsd,web-reference.xsd
46 endif
47
48 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
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_services_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)