Author: krasnov Date: 2006-09-12 05:40:13 -0400 (Tue, 12 Sep 2006) New Revision: 65286
Added: trunk/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Makefile Log: added Makefile Added: trunk/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Makefile =================================================================== --- trunk/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Makefile 2006-09-12 09:37:19 UTC (rev 65285) +++ trunk/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Makefile 2006-09-12 09:40:13 UTC (rev 65286) @@ -0,0 +1,32 @@ +# +# "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) + _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
