1999-11-17 10:59:06 -08:00
|
|
|
|
#########################################################################
|
|
|
|
|
# #
|
|
|
|
|
# Objective Caml #
|
|
|
|
|
# #
|
|
|
|
|
# Damien Doligez, projet Para, INRIA Rocquencourt #
|
|
|
|
|
# #
|
|
|
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
|
|
|
|
# under the terms of the Q Public License version 1.0. #
|
|
|
|
|
# #
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
1996-11-02 10:07:12 -08:00
|
|
|
|
# Makefile for the parser generator.
|
|
|
|
|
|
|
|
|
|
PPCC = mrc
|
2000-04-07 09:15:34 -07:00
|
|
|
|
PPCCOptions = -includes unix {cdbgflag} -w 2,35
|
|
|
|
|
PPCLinkOptions = -d {ldbgflag}
|
1996-11-02 10:07:12 -08:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
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>
|
1998-10-02 06:02:32 -07:00
|
|
|
|
rotatecursor.c.x
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
all <EFBFBD> ocamlyacc
|
|
|
|
|
|
|
|
|
|
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>
|
2001-07-12 06:37:35 -07:00
|
|
|
|
delete -i <20>.c.x || set status 0
|
1997-05-19 08:42:21 -07:00
|
|
|
|
delete -i ocamlyacc
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
1998-10-02 06:02:32 -07:00
|
|
|
|
rotatecursor.c.x <20> ::byterun:rotatecursor.c ::byterun:rotatecursor.h
|
|
|
|
|
{ppcc} {ppccoptions} -I ::byterun: -o rotatecursor.c.x ::byterun:rotatecursor.c
|
1996-11-02 10:07:12 -08:00
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
|
|
|
|
|
|
|
|
|
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
|