235ddbed880d4aefe7c448f122269888873eb586
[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 EXTRA_DISTFILES = \
50         System.Web.Services.Description/web-reference.xsd       \
51         System.Web.Services.Description/wsdl-1.1.xsd            \
52         System.Web.Services.Description/wsdl-1.1-soap.xsd       \
53         System.Web.Services.Description/wsdl.genxs              \
54         Test/System.Web.Services.Description/*.wsdl
55
56 include ../../build/library.make
57
58 $(the_libdir_base)$(LIBRARY): $(system_web_services_deps) $(system_design_deps)
59
60 $(plainweb):
61         (cd ../System.Web; $(MAKE) $@)
62
63 $(plaindesign):
64         (cd ../System.Design; $(MAKE) $@)
65
66 .NOTPARALLEL: $(plainweb) $(plaindesign)