I forgot commit changelog
[mono.git] / mcs / mbas / Makefile
1 thisdir = mbas
2 SUBDIRS = 
3 include ../build/rules.make
4
5 PROGRAM = mbas.exe
6 BUILT_SOURCES = mb-parser.cs
7 HAS_TEST = yes
8
9 LOCAL_MCS_FLAGS = /r:System.dll /r:$(topdir)/class/lib/$(PROFILE)/Mono.GetOptions.dll
10
11 EXTRA_DISTFILES = mb-parser.jay mbas.csproj mbas.ico mbas.sln
12 CLEAN_FILES = y.output testmbas/WriteOK.exe
13
14 PROGRAM_INSTALL_DIR = $(prefix)/lib/mono/1.0
15
16 include ../build/executable.make
17
18 test-local: mbas.exe
19
20 run-test-local: testmbas/WriteOK.exe
21         $(TEST_RUNTIME) --debug testmbas/WriteOK.exe
22
23 mb-parser.cs: mb-parser.jay
24         $(topdir)/jay/jay -ctv <$(topdir)/jay/skeleton.cs $< >$@
25
26 verbose: mbas.exe
27         $(TEST_RUNTIME) ./mbas.exe --verbosegetoptions --verbose --stacktrace /libpath:../class/lib/$(PROFILE) /r:Mono.GetOptions /r:System.Data,System.Windows.Forms --main WriteOK testmbas/WriteOK.vb testmbas/WriteOK2.mbs
28
29 testmbas/WriteOK.exe: mbas.exe testmbas/*.vb testmbas/*.mbs
30         $(TEST_RUNTIME) ./mbas.exe --stacktrace --verbosegetoptions /libpath:../class/lib/$(PROFILE) /r:Mono.GetOptions /r:System.Data,System.Windows.Forms --main WriteOK testmbas/WriteOK.vb testmbas/WriteOK2.mbs
31
32 test-aspx: mbas.exe testmbas/aspx_temp.vb
33         $(TEST_RUNTIME) --debug ./mbas.exe --stacktrace --verbosegetoptions /libpath:../class/lib/$(PROFILE) /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" -- testmbas/aspx_temp.vb