* wstest.cs: Added new option that downloads and cahces the wsdl docs.
[mono.git] / mcs / class / System.Web.Services / Test / standalone / Makefile
1 MCS=mcs -g
2 sourcefile = proxies.sources
3
4 %.dll: %.cs
5         $(MCS) /r:System.Web.dll /target:library $<
6
7 all: tools update gen proxies tests
8
9 tools: wstest.exe
10
11 proxies: proxies.dll
12
13 wstest.exe: wstest.cs
14         $(MCS) wstest.cs /r:System.Web.Services.dll
15         
16 clean:
17         rm -f *.dll *.exe *~ *.pdb
18         rm -rf proxies
19         rm -rf wsdlcache
20         rm error/*
21
22 proxies.dll:
23         $(MCS) /r:System.Web.Services.dll /target:library -out:proxies.dll @proxies.sources
24
25 tests: proxies
26         $(MCS) /r:proxies.dll /r:System.Web.Services.dll /r:NUnit.Framework.dll /target:library -out:testclient.dll @client.sources WebServiceTest.cs
27
28 update:
29         mono --debug wstest.exe ur http://www.xmethods.net/default.disco wsdl.ignore
30         mono --debug wstest.exe ur http://localhost:8080/xsp.vsdisco
31         mono --debug wstest.exe dw
32
33 gen:
34         mono --debug wstest.exe gp
35         mono --debug wstest.exe gc
36
37 regen:
38         mono --debug wstest.exe gp all
39
40 cls:
41         mono --debug wstest.exe clean