ocaml/camlp4/meta/Makefile.mac

55 lines
1.6 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:"
OCAMLCFLAGS = {INCLUDES}
OBJS = q_MLast.cmo pa_r.cmo pa_rp.cmo pa_extend.cmo pa_extend_m.cmo <20>
pa_ifdef.cmo pr_dump.cmo
CAMLP4RM = pa_r.cmo pa_rp.cmo pr_dump.cmo
OUT = {OBJS} camlp4r
all <EFBFBD> {OUT}
camlp4r <20> ::camlp4:camlp4 {CAMLP4RM}
delete -i camlp4r
directory ::camlp4:
domake -d CAMLP4=::meta:camlp4r -d CAMLP4M="-I ::meta {CAMLP4RM}"
directory ::meta:
steal <EFBFBD>
compare_stolen <EFBFBD>
clean <EFBFBD><EFBFBD>
delete -i {OUT}
{dependrule}
promote <EFBFBD>
duplicate -y {OUT} ::boot:
compare <EFBFBD>
for i in {OUT}
equal -s {i} ::boot:{i} || exit 1
end
install <EFBFBD>
(newfolder "{P4LIBDIR}" || set status 0) <20> dev:null
(newfolder "{BINDIR}" || set status 0) <20> dev:null
duplicate -y {OBJS} "{P4LIBDIR}"
duplicate -y camlp4r "{BINDIR}"
{defrules}
pr_dump.cmo <20> ::camlp4:ast2pt.cmo "{OTOP}utils:config.cmi" ::camlp4:pcaml.cmi