Files
mono/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Makefile
T
Zoltan Varga f10ff05fc6 2008-10-08 Zoltan Varga <[email protected]>
* Makefile */Makefile build/profiles/*.make: Rename the 'default'
	profile to 'net_1_1'.

svn path=/trunk/mcs/; revision=115166
2008-10-08 05:58:51 +00:00

33 lines
630 B
Makefile

#
# "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/net_1_1"
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)