ocaml/camlp4/lib/Makefile.Mac

47 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
INTF = stdpp.cmi token.cmi plexer.cmi gramext.cmi grammar.cmi
TARGETS = gramlib.cma
all <EFBFBD> {TARGETS}
{TARGETS} <EFBFBD> {OBJS}
{OCAMLC} {OBJS} -a -o {TARGETS}
steal <EFBFBD>
compare_stolen <EFBFBD>
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}