This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / System.Web.Services / Test / standalone / Makefile
1 MCS=mcs -g
2 sourcefile = proxies.sources
3
4 tools: wstest.exe
5
6 proxies: proxies.dll
7
8 wstest.exe: wstest.cs
9         $(MCS) wstest.cs /r:System.Web.Services.dll
10         
11 clean:
12         rm -f *.dll *.exe *~ *.pdb
13         rm -rf proxies
14         rm -rf wsdlcache
15         rm error/*
16
17 proxies.dll:
18         $(MCS) /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
19
20 tests: proxies
21         $(MCS) /r:proxies.dll /r:System.Web.Services.dll /r:nunit.framework.dll /r:System.Data /target:library -out:System.Web.Services-standalone_test.dll @client.sources WebServiceTest.cs
22
23 update:
24         mono --debug wstest.exe ur http://www.xmethods.net/default.disco wsdl.ignore
25         mono --debug wstest.exe ur http://localhost:8080/xsp.vsdisco
26         mono --debug wstest.exe dw
27         rm -f wsdlfiles.tar.gz
28         tar --gzip -cf wsdlfiles.tar.gz wsdl
29
30 gen:
31         mono --debug wstest.exe gp
32         mono --debug wstest.exe gc
33
34 regen:
35         mono --debug wstest.exe gp all
36
37 cls:
38         mono --debug wstest.exe clean
39
40 pack:
41         tar --gzip -cf wsdlfiles.tar.gz wsdlcache
42         gzip proxies.net.xml
43         
44 winbase:
45         csc wstest.cs
46         rm -rf wsdl
47         rm -rf proxies
48         rm -f proxies.dll
49         tar xvfz wsdlfiles.tar.gz
50         wstest.exe gp
51         csc /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
52         mono ../../../../tools/corcompare/mono-api-info.exe proxies.net.dll > proxies.net.xml
53         
54 test-wsdl: tools
55         rm -rf wsdlcache
56         rm -rf proxies
57         rm -f proxies.dll
58         tar xvfz wsdlfiles.tar.gz
59         gunzip -c proxies.net.xml.gz > proxies.net.xml
60         mono wstest.exe gp
61         mono wstest.exe gc
62         mcs /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
63         mono ../../../../tools/corcompare/mono-api-info.exe proxies.dll > proxies.mono.xml
64         mono wstest.exe msfix proxies.net.xml
65         mono ../../../../tools/corcompare/mono-api-diff.exe proxies.net.xml proxies.mono.xml > proxies.diff.xml
66         mono wstest.exe checkdiff proxies.diff.xml
67         
68 test-clients: tests
69         rm -f somefile && touch somefile
70         (tail -f somefile | xsp --root server)&
71         sleep 2
72         -mono ../../../lib/nunit-console.exe System.Web.Services-standalone_test.dll
73         echo "" >> somefile
74
75 test: test-wsdl test-clients
76         
77 respage:
78         mono transform.exe proxies.diff.xml ../../../../tools/corcompare/mono-api.xsl > proxies.data.html
79         cat header.html proxies.data.html > proxies.html
80         rm proxies.data.html