ocaml/camlp4/ocaml_src/lib/Makefile.Mac

45 lines
1.3 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 =
OCAMLCFLAGS = {INCLUDES}
OBJS = stdpp.cmo token.cmo plexer.cmo gramext.cmo grammar.cmo <20>
extfun.cmo fstream.cmo
INTF = stdpp.cmi token.cmi plexer.cmi gramext.cmi grammar.cmi <20>
extfun.cmi fstream.cmi
TARGETS = gramlib.cma
all <EFBFBD> {TARGETS}
{TARGETS} <EFBFBD> {OBJS}
{OCAMLC} {OBJS} -a -o {TARGETS}
clean <EFBFBD><EFBFBD>
delete -i {TARGETS}
{dependrule}
promote <EFBFBD>
duplicate -y {OBJS} {INTF} :::boot:
compare <EFBFBD>
for i in {OBJS} {INTF}
equal -s :::boot:{i} || exit 1
end
install <EFBFBD>
(newfolder "{P4LIBDIR}" || set status 0) <20> dev:null
duplicate -y {TARGETS} <20>.mli <20>.cmi "{P4LIBDIR}"
{defrules}