Attributes have been added to the grammar and seem to work, even if to a
[mono.git] / mcs / mbas / makefile.gnu
1 MCS =../mcs/mcs.exe
2 MCS_FLAGS = /target:exe $(MCS_DEFINES)
3 INSTALL = /usr/bin/install
4 prefix = /usr
5 RUNTIME=mono
6
7 COMPILER_SOURCES = \
8       AssemblyInfo.cs   \
9         assign.cs               \
10         attribute.cs            \
11         cfold.cs                \
12         class.cs                \
13         codegen.cs              \
14         const.cs                \
15         constant.cs             \
16         decl.cs                 \
17         delegate.cs             \
18         driver.cs               \
19         enum.cs                 \
20         ecore.cs                \
21         expression.cs           \
22         genericparser.cs        \
23         interface.cs            \
24         literal.cs              \
25         location.cs             \
26         mb-parser.cs            \
27         mb-tokenizer.cs         \
28         modifiers.cs            \
29         module.cs               \
30         namespace.cs            \
31         parameter.cs            \
32         pending.cs              \
33         report.cs               \
34         rootcontext.cs          \
35         statement.cs            \
36         statementCollection.cs  \
37         support.cs              \
38         tree.cs                 \
39         typemanager.cs
40
41 all: mbas.exe
42
43 mbas.exe: $(COMPILER_SOURCES)
44         $(RUNTIME) $(MCS) $(MCSFLAGS) /r:Mono.GetOptions.dll /out:mbas.exe $(COMPILER_SOURCES)
45
46 clean:
47         rm -f mbas.exe y.output mbas.pdb *~ .*~ mb-parser.cs mbas.log response
48
49 mb-parser.cs: mb-parser.jay
50         ../jay/jay -ctv < ../jay/skeleton.cs mb-parser.jay > mb-parser.cs
51
52 install: all
53         mkdir -p $(prefix)/bin/
54         $(INSTALL) -m 755 mbas.exe $(prefix)/bin/
55
56 test:
57         mono mbas.exe --main WriteOK testmbas/WriteOK.vb
58
59 test-gtk:
60         mono mbas.exe testmbas/gtk.vb -r gtk-sharp
61