ocaml/camlp4/ocpp/Makefile.Mac

47 lines
1.8 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 ::odyl: -I "{OTOP}otherlibs:dynlink:"
OCAMLCFLAGS = {INCLUDES}
LINKFLAGS = {INCLUDES}
OBJS = crc.cmo ocpp.cmo
INTERFACES = -I "{OLIBDIR}" Arg Array Callback Char Digest Filename Format <20>
Gc Genlex Hashtbl Lexing List Map Obj Oo Parsing Pervasives <20>
Printexc Printf Queue Random Set Sort Stack Stream String Sys <20>
Weak -I ::boot: Gramext Grammar Plexer Stdpp Token -I ::camlp4: <20>
MLast Quotation
all <EFBFBD> ocpp
ocpp <EFBFBD> {OBJS}
{OCAMLC} {LINKFLAGS} ::boot:stdpp.cmo ::camlp4:quotation.cmo <20>
::odyl:odyl.cma {OBJS} ::odyl:odyl.cmo -linkall -o ocpp
crc.cmo <EFBFBD>
::tools:extract_crc.mpw {INTERFACES} > crc.ml
echo "let _ = Dynlink.add_available_units crc_unit_list" >> crc.ml
{OCAMLC} {OCAMLCFLAGS} -c crc.ml
clean <EFBFBD><EFBFBD>
delete -i crc.ml ocpp
install <EFBFBD>
(newfolder "{P4LIBDIR}" || set status 0) <20> dev:null
(newfolder "{BINDIR}" || set status 0) <20> dev:null
duplicate -y {OBJS} "{P4LIBDIR}"
duplicate -y ocpp "{BINDIR}"
depend <EFBFBD> $OutOfDate
{defrules}