ocaml/camlp4/top/Makefile.Mac

61 lines
2.1 KiB
Makefile
Raw Normal View History

#######################################################################
# #
# Camlp4 #
# #
# Damien Doligez, projet Para, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. Distributed only by permission. #
# #
#######################################################################
# $Id$
INCLUDES = -I ::camlp4: -I ::boot: -I "{OTOP}utils:" -I "{OTOP}parsing:" <20>
-I "{OTOP}typing:" -I "{OTOP}toplevel:"
OCAMLCFLAGS = {INCLUDES}
CAMLP4_OBJS = "{OTOP}utils:config.cmo" ::boot:stdpp.cmo ::boot:token.cmo <20>
::boot:plexer.cmo <20>
::boot:gramext.cmo ::boot:grammar.cmo ::boot:extfun.cmo <20>
::boot:fstream.cmo <20>
::camlp4:quotation.cmo <20>
::camlp4:ast2pt.cmo ::camlp4:reloc.cmo ::camlp4:spretty.cmo <20>
::camlp4:pcaml.cmo
TOP = camlp4_top.cmo
ROBJS = {CAMLP4_OBJS} ::meta:pa_r.cmo ::meta:pa_rp.cmo rprint.cmo {TOP}
OOBJS = {CAMLP4_OBJS} ::etc:pa_o.cmo ::etc:pa_op.cmo {TOP}
OOOBJS = {CAMLP4_OBJS} ::etc:pa_o.cmo ::etc:pa_oop.cmo {TOP}
OBJS = "{OTOP}utils:config.cmo" ::camlp4:quotation.cmo ::camlp4:reloc.cmo <20>
::camlp4:ast2pt.cmo ::camlp4:spretty.cmo <20>
::camlp4:pcaml.cmo camlp4_top.cmo
TARGETS = camlp4o.cma camlp4r.cma camlp4_top.cma
all <EFBFBD> {TARGETS}
camlp4oo.cma <EFBFBD> {OOOBJS}
{OCAMLC} {OOOBJS} -linkall -a -o camlp4oo.cma
camlp4o.cma <EFBFBD> {OOBJS}
{OCAMLC} {OOBJS} -linkall -a -o camlp4o.cma
camlp4r.cma <EFBFBD> {ROBJS}
{OCAMLC} {ROBJS} -linkall -a -o camlp4r.cma
camlp4_top.cma <EFBFBD> {OBJS}
{OCAMLC} {OBJS} -a -o camlp4_top.cma
clean <EFBFBD><EFBFBD>
delete -i {TARGETS}
{dependrule}
get_promote <EFBFBD> $OutOfDate
install <EFBFBD>
(newfolder "{P4LIBDIR}" || set status 0) <20> dev:null
duplicate -y {TARGETS} "{P4LIBDIR}"
{defrules}