Makefile 632 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # "make" builds tests web application
  3. #
  4. # "make run-xsp" runs xsp with deployed web tests
  5. #
  6. .SUFFIXES: .cs .exe .dll
  7. RUNTIME = mono
  8. ifeq ($(PROFILE), net_2_0)
  9. nunit_MONO_PATH="../../../../../class/lib/net_2_0"
  10. CSCOMPILE=gmcs
  11. XSPSERVER=xsp2
  12. else
  13. nunit_MONO_PATH="../../../../../class/lib/default"
  14. CSCOMPILE=mcs
  15. XSPSERVER=xsp
  16. endif
  17. TEST_PROG=bin/MainsoftWebApp.dll
  18. $(TEST_PROG) :
  19. $(CSCOMPILE) -target:library -recurse:./*.cs -r:System.Web.dll -r:System.Data.dll -r:System.Drawing.dll -out:$@
  20. run-xsp : $(TEST_PROG)
  21. $(XSPSERVER) --port 8088 --applications /MainsoftWebApp:./ --nonstop
  22. clean :
  23. rm -f $(TEST_PROG)