Makefile 2.3 KB

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