]> pd.if.org Git - pccts/blob - antlr/makefile.mpw
auto commit for import
[pccts] / antlr / makefile.mpw
1 #//////////////////////////////////////////////////////////////////////////
2 #//
3 #// FILE NAME
4 #//    antlr.make
5 #//
6 #// AUTHOR
7 #//    Scott Haney
8 #//
9 #// CREATED
10 #//    May 30, 1994
11 #//
12 #// DESCRIPTION
13 #//    Controls Macintosh builds of ANTLR.
14 #//
15 #//////////////////////////////////////////////////////////////////////////
16
17 ObjDir = :Macintosh:
18 SetDir = ::support:set
19
20 COptions = -mc68020 -model far -warnings off -d MPW -d __STDC__=1 -d USER_ZZSYN ¶
21   -i {SetDir} -i ::h
22 LinkOptions = -d -c 'MPS ' -t MPST -mf -model far -br ON -srtsg ALL
23
24 Objects = ¶
25         {ObjDir}antlr.c.o ¶
26         {ObjDir}bits.c.o ¶
27         {ObjDir}build.c.o ¶
28         {ObjDir}err.c.o ¶
29         {ObjDir}fset.c.o ¶
30         {ObjDir}fset2.c.o ¶
31         {ObjDir}gen.c.o ¶
32         {ObjDir}globals.c.o ¶
33         {ObjDir}hash.c.o ¶
34         {ObjDir}lex.c.o ¶
35         {ObjDir}main.c.o ¶
36         {ObjDir}misc.c.o ¶
37         {ObjDir}pred.c.o ¶
38         {ObjDir}scan.c.o ¶
39         {SetDir}{ObjDir}set.c.o ¶
40         "{CLibraries}"StdCLib.o ¶
41         "{Libraries}"Stubs.o ¶
42         "{Libraries}"Runtime.o ¶
43         "{Libraries}"Interface.o ¶
44         "{Libraries}"ToolLibs.o ¶
45
46 {ObjDir}antlr.c.o Ä antlr.c
47
48 {ObjDir}bits.c.o Ä bits.c
49
50 {ObjDir}build.c.o Ä build.c
51
52 {ObjDir}err.c.o Ä err.c
53
54 {ObjDir}fset.c.o Ä fset.c
55
56 {ObjDir}fset2.c.o Ä fset2.c
57
58 {ObjDir}gen.c.o Ä gen.c
59
60 {ObjDir}globals.c.o Ä globals.c
61
62 {ObjDir}hash.c.o Ä hash.c
63
64 {ObjDir}lex.c.o Ä lex.c
65
66 {ObjDir}main.c.o Ä main.c
67
68 {ObjDir}misc.c.o Ä misc.c
69
70 {ObjDir}pred.c.o Ä pred.c
71
72 {ObjDir}scan.c.o Ä scan.c
73
74 {SetDir}{ObjDir}set.c.o Ä {SetDir}:set.c
75
76 SetDir}{ObjDir} Ä {SetDir}:
77 {ObjDir} Ä :
78 {ObjDir} Ä {ObjDir}
79
80 antlr ÄÄ {Objects}
81         Link {LinkOptions} -o antlr {Objects}
82
83 antlr ÄÄ antlr.r
84         Rez antlr.r -o antlr -a
85         
86 Bootstrap Ä antlr.g
87         antlr -gh antlr.g
88         dlg -C2 parser.dlg scan.c
89
90 Install  Ä antlr
91         Duplicate antlr "{MPW}"Tools:antlr
92