|
20 | 20 | # Created: Sunday, May 17, 1998 10:24:53 PM |
21 | 21 | # Author: Kenji Tanaka |
22 | 22 | MAKEFILE = antlrPPC.make |
23 | | -¥MondoBuild¥ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified |
24 | | -Includes = ¶ |
25 | | - -i "::h:" ¶ |
| 23 | +MondoBuild = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified |
| 24 | +Includes = |
| 25 | + -i "::h:" |
26 | 26 | -i "::support:set:" |
27 | | -Sym¥PPC = |
28 | | -ObjDir¥PPC = :Obj: |
29 | | -PPCCOptions = {Includes} {Sym¥PPC} -w off -d MPW -d __STDC__=1 -d USER_ZZSYN |
30 | | -Objects¥PPC = ¶ |
31 | | - "{ObjDir¥PPC}set.c.x" ¶ |
32 | | - "{ObjDir¥PPC}antlr.c.x" ¶ |
33 | | - "{ObjDir¥PPC}bits.c.x" ¶ |
34 | | - "{ObjDir¥PPC}build.c.x" ¶ |
35 | | - "{ObjDir¥PPC}egman.c.x" ¶ |
36 | | - "{ObjDir¥PPC}err.c.x" ¶ |
37 | | - "{ObjDir¥PPC}fcache.c.x" ¶ |
38 | | - "{ObjDir¥PPC}fset2.c.x" ¶ |
39 | | - "{ObjDir¥PPC}fset.c.x" ¶ |
40 | | - "{ObjDir¥PPC}gen.c.x" ¶ |
41 | | - "{ObjDir¥PPC}globals.c.x" ¶ |
42 | | - "{ObjDir¥PPC}hash.c.x" ¶ |
43 | | - "{ObjDir¥PPC}lex.c.x" ¶ |
44 | | - "{ObjDir¥PPC}main.c.x" ¶ |
45 | | - "{ObjDir¥PPC}misc.c.x" ¶ |
46 | | - "{ObjDir¥PPC}mrhoist.c.x" ¶ |
47 | | - "{ObjDir¥PPC}pred.c.x" ¶ |
48 | | - "{ObjDir¥PPC}scan.c.x" |
49 | | -antlrPPC ÄÄ {¥MondoBuild¥} {Objects¥PPC} |
50 | | - PPCLink ¶ |
51 | | - -o {Targ} {Sym¥PPC} ¶ |
52 | | - {Objects¥PPC} ¶ |
53 | | - -t 'MPST' ¶ |
54 | | - -c 'MPS ' ¶ |
55 | | - "{SharedLibraries}InterfaceLib" ¶ |
56 | | - "{SharedLibraries}StdCLib" ¶ |
57 | | - #"{SharedLibraries}MathLib" ¶ |
58 | | - "{PPCLibraries}StdCRuntime.o" ¶ |
59 | | - "{PPCLibraries}PPCCRuntime.o" ¶ |
| 27 | +SymPPC = |
| 28 | +ObjDirPPC = :Obj: |
| 29 | +PPCCOptions = {Includes} {SymPPC} -w off -d MPW -d __STDC__=1 -d USER_ZZSYN |
| 30 | +ObjectsPPC = |
| 31 | + "{ObjDirPPC}set.c.x" |
| 32 | + "{ObjDirPPC}antlr.c.x" |
| 33 | + "{ObjDirPPC}bits.c.x" |
| 34 | + "{ObjDirPPC}build.c.x" |
| 35 | + "{ObjDirPPC}egman.c.x" |
| 36 | + "{ObjDirPPC}err.c.x" |
| 37 | + "{ObjDirPPC}fcache.c.x" |
| 38 | + "{ObjDirPPC}fset2.c.x" |
| 39 | + "{ObjDirPPC}fset.c.x" |
| 40 | + "{ObjDirPPC}gen.c.x" |
| 41 | + "{ObjDirPPC}globals.c.x" |
| 42 | + "{ObjDirPPC}hash.c.x" |
| 43 | + "{ObjDirPPC}lex.c.x" |
| 44 | + "{ObjDirPPC}main.c.x" |
| 45 | + "{ObjDirPPC}misc.c.x" |
| 46 | + "{ObjDirPPC}mrhoist.c.x" |
| 47 | + "{ObjDirPPC}pred.c.x" |
| 48 | + "{ObjDirPPC}scan.c.x" |
| 49 | +antlrPPC: ${MondoBuild} {ObjectsPPC} |
| 50 | + PPCLink |
| 51 | + -o {Targ} {SymPPC} |
| 52 | + {ObjectsPPC} |
| 53 | + -t 'MPST' |
| 54 | + -c 'MPS ' |
| 55 | + "{SharedLibraries}InterfaceLib" |
| 56 | + "{SharedLibraries}StdCLib" |
| 57 | + #"{SharedLibraries}MathLib" |
| 58 | + "{PPCLibraries}StdCRuntime.o" |
| 59 | + "{PPCLibraries}PPCCRuntime.o" |
60 | 60 | "{PPCLibraries}PPCToolLibs.o" |
61 | | -"{ObjDir¥PPC}set.c.x" Ä {¥MondoBuild¥} "::support:set:set.c" |
| 61 | +"{ObjDirPPC}set.c.x" ${MondoBuild} "::support:set:set.c" |
62 | 62 | {PPCC} "::support:set:set.c" -o {Targ} {PPCCOptions} |
63 | | -"{ObjDir¥PPC}antlr.c.x" Ä {¥MondoBuild¥} antlr.c |
| 63 | +"{ObjDirPPC}antlr.c.x" ${MondoBuild} antlr.c |
64 | 64 | {PPCC} antlr.c -o {Targ} {PPCCOptions} |
65 | | -"{ObjDir¥PPC}bits.c.x" Ä {¥MondoBuild¥} bits.c |
| 65 | +"{ObjDirPPC}bits.c.x" ${MondoBuild} bits.c |
66 | 66 | {PPCC} bits.c -o {Targ} {PPCCOptions} |
67 | | -"{ObjDir¥PPC}build.c.x" Ä {¥MondoBuild¥} build.c |
| 67 | +"{ObjDirPPC}build.c.x" ${MondoBuild} build.c |
68 | 68 | {PPCC} build.c -o {Targ} {PPCCOptions} |
69 | | -"{ObjDir¥PPC}egman.c.x" Ä {¥MondoBuild¥} egman.c |
| 69 | +"{ObjDirPPC}egman.c.x" ${MondoBuild} egman.c |
70 | 70 | {PPCC} egman.c -o {Targ} {PPCCOptions} |
71 | | -"{ObjDir¥PPC}err.c.x" Ä {¥MondoBuild¥} err.c |
| 71 | +"{ObjDirPPC}err.c.x" ${MondoBuild} err.c |
72 | 72 | {PPCC} err.c -o {Targ} {PPCCOptions} |
73 | | -"{ObjDir¥PPC}fcache.c.x" Ä {¥MondoBuild¥} fcache.c |
| 73 | +"{ObjDirPPC}fcache.c.x" ${MondoBuild} fcache.c |
74 | 74 | {PPCC} fcache.c -o {Targ} {PPCCOptions} |
75 | | -"{ObjDir¥PPC}fset2.c.x" Ä {¥MondoBuild¥} fset2.c |
| 75 | +"{ObjDirPPC}fset2.c.x" ${MondoBuild} fset2.c |
76 | 76 | {PPCC} fset2.c -o {Targ} {PPCCOptions} |
77 | | -"{ObjDir¥PPC}fset.c.x" Ä {¥MondoBuild¥} fset.c |
| 77 | +"{ObjDirPPC}fset.c.x" ${MondoBuild} fset.c |
78 | 78 | {PPCC} fset.c -o {Targ} {PPCCOptions} |
79 | | -"{ObjDir¥PPC}gen.c.x" Ä {¥MondoBuild¥} gen.c |
| 79 | +"{ObjDirPPC}gen.c.x" ${MondoBuild} gen.c |
80 | 80 | {PPCC} gen.c -o {Targ} {PPCCOptions} |
81 | | -"{ObjDir¥PPC}globals.c.x" Ä {¥MondoBuild¥} globals.c |
| 81 | +"{ObjDirPPC}globals.c.x" ${MondoBuild} globals.c |
82 | 82 | {PPCC} globals.c -o {Targ} {PPCCOptions} |
83 | | -"{ObjDir¥PPC}hash.c.x" Ä {¥MondoBuild¥} hash.c |
| 83 | +"{ObjDirPPC}hash.c.x" ${MondoBuild} hash.c |
84 | 84 | {PPCC} hash.c -o {Targ} {PPCCOptions} |
85 | | -"{ObjDir¥PPC}lex.c.x" Ä {¥MondoBuild¥} lex.c |
| 85 | +"{ObjDirPPC}lex.c.x" ${MondoBuild} lex.c |
86 | 86 | {PPCC} lex.c -o {Targ} {PPCCOptions} |
87 | | -"{ObjDir¥PPC}main.c.x" Ä {¥MondoBuild¥} main.c |
| 87 | +"{ObjDirPPC}main.c.x" ${MondoBuild} main.c |
88 | 88 | {PPCC} main.c -o {Targ} {PPCCOptions} |
89 | | -"{ObjDir¥PPC}misc.c.x" Ä {¥MondoBuild¥} misc.c |
| 89 | +"{ObjDirPPC}misc.c.x" ${MondoBuild} misc.c |
90 | 90 | {PPCC} misc.c -o {Targ} {PPCCOptions} |
91 | | -"{ObjDir¥PPC}mrhoist.c.x" Ä {¥MondoBuild¥} mrhoist.c |
| 91 | +"{ObjDirPPC}mrhoist.c.x" ${MondoBuild} mrhoist.c |
92 | 92 | {PPCC} mrhoist.c -o {Targ} {PPCCOptions} |
93 | | -"{ObjDir¥PPC}pred.c.x" Ä {¥MondoBuild¥} pred.c |
| 93 | +"{ObjDirPPC}pred.c.x" ${MondoBuild} pred.c |
94 | 94 | {PPCC} pred.c -o {Targ} {PPCCOptions} |
95 | | -"{ObjDir¥PPC}scan.c.x" Ä {¥MondoBuild¥} scan.c |
| 95 | +"{ObjDirPPC}scan.c.x" ${MondoBuild} scan.c |
96 | 96 | {PPCC} scan.c -o {Targ} {PPCCOptions} |
97 | 97 |
|
98 | | -antlrPPC ÄÄ antlr.r |
| 98 | +antlrPPC: antlr.r |
99 | 99 | Rez antlr.r -o antlrPPC -a |
100 | | -Install Ä antlrPPC |
| 100 | +Install: antlrPPC |
101 | 101 | Duplicate -y antlrPPC "{MPW}"Tools:antlr |
0 commit comments