| 1234567891011121314151617181920212223242526272829303132 |
- #
- # "make" builds tests web application
- #
- # "make run-xsp" runs xsp with deployed web tests
- #
- .SUFFIXES: .cs .exe .dll
- RUNTIME = mono
- ifeq ($(PROFILE), net_2_0)
- nunit_MONO_PATH="../../../../../class/lib/net_2_0"
- CSCOMPILE=gmcs
- XSPSERVER=xsp2
- else
- nunit_MONO_PATH="../../../../../class/lib/default"
- CSCOMPILE=mcs
- XSPSERVER=xsp
- endif
- TEST_PROG=bin/MainsoftWebApp.dll
- $(TEST_PROG) :
- $(CSCOMPILE) -target:library -recurse:./*.cs -r:System.Web.dll -r:System.Data.dll -r:System.Drawing.dll -out:$@
- run-xsp : $(TEST_PROG)
- $(XSPSERVER) --port 8088 --applications /MainsoftWebApp:./ --nonstop
-
- clean :
- rm -f $(TEST_PROG)
|