Copied remotely
[mono.git] / mcs / mbas / Test / misc / Makefile
1 thisdir = mbas/Test/misc
2
3 include ../../../build/rules.make
4
5 LOCAL_MBAS_FLAGS = --verbosegetoptions --stacktrace
6
7 test-local: WriteOK.exe
8
9 run-test-local: WriteOK.exe
10         $(RUNTIME) --debug WriteOK.exe --sayho /about -say:this,that,those /say:what?
11
12 run-test-ondotnet-local: WriteOK.exe
13         ./WriteOK.exe --sayho /about -say:this,that,those /say:what?
14
15 WriteOK.exe: Makefile *.vb *.mbs ../../mbas.exe
16         $(BASCOMPILE) --reference=Mono.GetOptions -r:System.Data,System.Messaging --main WriteOK WriteOK.vb WriteOK2.mbs RedimPreserve.vb AssemblyInfo.vb
17
18 verbose:
19         $(MAKE) LOCAL_MBAS_FLAGS='--verbosegetoptions --verbose --stacktrace' WriteOK.exe
20
21 test-aspx: aspx_temp.dll
22
23 aspx_temp.dll: aspx_temp.vb
24         $(BASCOMPILE) --stacktrace --verbosegetoptions /target:library /r:"System.dll" /r:"System.Xml.dll" /r:"System.Data.dll" /r:"System.Web.dll" /r:"System.Web.Services.dll" /r:"System.Drawing.dll" -- aspx_temp.vb
25
26 profile: *.vb *.mbs Makefile
27         rm -f WriteOK.exe
28         $(MAKE) RUNTIME='$(RUNTIME) --profile' WriteOK.exe > profile
29
30 clean-local:
31         -rm -f WriteOK.exe aspx_temp.dll x.exe
32
33 all-local install-local uninstall-local:
34         @:
35
36 DISTFILES = $(wildcard *.vb) $(wildcard *.mbs)
37
38 dist-local: dist-default