Anirban Bhattacharjee <banirban@novell.com>
[mono.git] / mcs / mbas / Makefile
index 7a9b5299b9efc2ed6c739cbee214d1e111846789..d265ef80c1483f4569cbcb89507fdba181b6685d 100644 (file)
@@ -1,31 +1,32 @@
-thisdir = mbas\r
-SUBDIRS = \r
-include ../build/rules.make\r
-\r
-PROGRAM = mbas.exe\r
-BUILT_SOURCES = mb-parser.cs\r
-HAS_TEST = yes\r
-\r
-LOCAL_MCS_FLAGS = /r:System.dll /r:$(topdir)/class/lib/$(PROFILE)/Mono.GetOptions.dll\r
-\r
-EXTRA_DISTFILES = mb-parser.jay mbas.csproj mbas.ico mbas.sln\r
-CLEAN_FILES = y.output testmbas/WriteOK.exe\r
-\r
-include ../build/executable.make\r
-\r
-test-local: mbas.exe\r
-\r
-run-test-local: testmbas/WriteOK.exe\r
-       $(TEST_RUNTIME) --debug testmbas/WriteOK.exe\r
-\r
-mb-parser.cs: mb-parser.jay\r
-       $(topdir)/jay/jay -ctv <$(topdir)/jay/skeleton.cs $< >$@\r
-\r
-verbose: mbas.exe\r
-       $(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\r
-\r
-testmbas/WriteOK.exe: mbas.exe testmbas/*.vb testmbas/*.mbs\r
-       $(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\r
+thisdir = mbas
+SUBDIRS = 
+include ../build/rules.make
+
+PROGRAM = mbas.exe
+BUILT_SOURCES = mb-parser.cs
+
+LOCAL_MCS_FLAGS = /r:System.dll /r:$(topdir)/class/lib/$(PROFILE)/Mono.GetOptions.dll
+
+EXTRA_DISTFILES = mb-parser.jay mbas.csproj mbas.ico mbas.sln
+CLEAN_FILES = y.output testmbas/WriteOK.exe
+
+PROGRAM_INSTALL_DIR = $(prefix)/lib/mono/1.0
+
+include ../build/executable.make
+
+run-test-local: run-mbas-test
+
+run-mbas-test: testmbas/WriteOK.exe
+       $(TEST_RUNTIME) --debug testmbas/WriteOK.exe
+
+mb-parser.cs: mb-parser.jay
+       $(topdir)/jay/jay -ctv <$(topdir)/jay/skeleton.cs $< >$@
+
+verbose: mbas.exe
+       $(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
+
+testmbas/WriteOK.exe: Makefile mbas.exe testmbas/*.vb testmbas/*.mbs
+       $(TEST_RUNTIME) ./mbas.exe --verbosegetoptions --stacktrace /libpath:../class/lib/$(PROFILE) --reference=Mono.GetOptions -r:System.Data,System.Messaging --main WriteOK testmbas/WriteOK.vb testmbas/WriteOK2.mbs
 
 test-aspx: mbas.exe testmbas/aspx_temp.vb
        $(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