1996-11-02 10:07:12 -08:00
|
|
|
|
# Makefile for the parser generator.
|
|
|
|
|
|
|
|
|
|
C = sc
|
1996-11-06 08:55:58 -08:00
|
|
|
|
COptions = -d NDEBUG -model far -w 2
|
1997-11-12 10:59:32 -08:00
|
|
|
|
LinkOptions = -model far -msg nodup -compact -state nouse -br 68k
|
1996-11-02 10:07:12 -08:00
|
|
|
|
Libs = "{libraries}IntEnv.far.o" "{libraries}MacRuntime.o" <20>
|
|
|
|
|
"{clibraries}StdCLib.far.o" "{libraries}MathLib.far.o" <20>
|
|
|
|
|
"{libraries}ToolLibs.o" "{libraries}Interface.o"
|
|
|
|
|
|
|
|
|
|
PPCC = mrc
|
|
|
|
|
PPCCOptions = -d NDEBUG -w 2 -w 35
|
|
|
|
|
PPCLinkOptions = -d
|
|
|
|
|
PPCLibs = "{sharedlibraries}MathLib" "{ppclibraries}PPCCRuntime.o" <20>
|
|
|
|
|
"{ppclibraries}PPCToolLibs.o" "{sharedlibraries}StdCLib" <20>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
"{ppclibraries}StdCRuntime.o" "{sharedlibraries}InterfaceLib"
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
OBJS = closure.c.o error.c.o lalr.c.o lr0.c.o main.c.o mkpar.c.o output.c.o <20>
|
|
|
|
|
reader.c.o skeleton.c.o symtab.c.o verbose.c.o warshall.c.o <20>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
::byterun:rotatecursor.c.o
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
PPCOBJS = closure.c.x error.c.x lalr.c.x lr0.c.x main.c.x mkpar.c.x <20>
|
|
|
|
|
output.c.x <20>
|
|
|
|
|
reader.c.x skeleton.c.x symtab.c.x verbose.c.x warshall.c.x <20>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
::byterun:rotatecursor.c.x
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
all <EFBFBD> ocamlyacc
|
|
|
|
|
|
|
|
|
|
ocamlyacc <EFBFBD><EFBFBD> {OBJS}
|
1997-05-19 08:42:21 -07:00
|
|
|
|
ilink -c 'MPS ' -t MPST {LinkOptions} -o ocamlyacc {OBJS} {Libs}
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
ocamlyacc <EFBFBD><EFBFBD> {PPCOBJS}
|
1997-05-19 08:42:21 -07:00
|
|
|
|
ppclink -c 'MPS ' -t MPST {PPCLinkOptions} -o ocamlyacc {PPCOBJS} {PPCLibs}
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
clean <EFBFBD>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
delete -i <20>.c.[ox] || set status 0
|
|
|
|
|
delete -i ocamlyacc
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
::byterun:rotatecursor.c.o <20> ::byterun:rotatecursor.c ::byterun:rotatecursor.h
|
1997-05-19 08:42:21 -07:00
|
|
|
|
directory ::byterun; domake rotatecursor.c.o; directory ::yacc
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
::byterun:rotatecursor.c.x <20> ::byterun:rotatecursor.c ::byterun:rotatecursor.h
|
1997-05-19 08:42:21 -07:00
|
|
|
|
directory ::byterun; domake rotatecursor.c.x; directory ::yacc
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
|
|
|
|
|
|
|
|
|
closure.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
error.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
lalr.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
lr0.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
main.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
mkpar.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
output.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
reader.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
skeleton.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
symtab.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
verbose.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
warshall.c.o <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
|
|
|
|
|
closure.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
error.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
lalr.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
lr0.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
main.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
mkpar.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
output.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
reader.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
skeleton.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
symtab.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
verbose.c.x <20> defs.h ::byterun:rotatecursor.h
|
|
|
|
|
warshall.c.x <20> defs.h ::byterun:rotatecursor.h
|