2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
[mono.git] / mcs / mbas / makefile
1 CSC=csc.exe
2 CSCFLAGS=/nologo /debug+ /debug:full /optimize /target:exe /r:System.dll /r:Mono.GetOptions.dll /out:mbas.exe 
3
4 VERSION=0.13
5
6 COMPILER_SOURCES = \
7       AssemblyInfo.cs   \
8         assign.cs               \
9         attribute.cs            \
10         cfold.cs                \
11         class.cs                \
12         codegen.cs              \
13         const.cs                \
14         constant.cs             \
15         decl.cs                 \
16         delegate.cs             \
17         driver.cs               \
18         enum.cs                 \
19         ecore.cs                \
20         expression.cs           \
21         genericparser.cs        \
22         interface.cs            \
23         literal.cs              \
24         location.cs             \
25         mb-parser.cs            \
26         mb-tokenizer.cs         \
27         modifiers.cs            \
28         module.cs                       \
29         namespace.cs            \
30         parameter.cs            \
31         pending.cs                      \
32         report.cs               \
33         rootcontext.cs          \
34         statement.cs            \
35         statementCollection.cs  \
36         support.cs              \
37         tree.cs                 \
38         typemanager.cs
39
40 all: mbas.exe
41
42 parser: mb-parser.cs
43
44 mbas.exe: $(COMPILER_SOURCES)
45         $(CSC) $(CSCFLAGS) $(COMPILER_SOURCES)
46
47 docs: $(COMPILER_SOURCES)
48         $(CSC) $(CSCFLAGS) /doc:docs.xml /nowarn:1591 $(COMPILER_SOURCES)
49
50 windows: all
51
52 linux: all
53
54 opt:
55         $(CSC) /nologo /optimize+ /r:System.dll /target:exe /out:mbas.exe $(COMPILER_SOURCES)
56
57 clean:
58         rm -f mbas.exe y.output mbas.pdb *~ .*~ mb-parser.cs mbas.log response
59
60 mb-parser.cs: mb-parser.jay
61         ../jay/jay -ctv < ../jay/skeleton.cs mb-parser.jay > mb-parser.cs
62