51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
|
#######################################################################
|
|||
|
# #
|
|||
|
# Camlp4 #
|
|||
|
# #
|
|||
|
# Damien Doligez, projet Para, INRIA Rocquencourt #
|
|||
|
# #
|
|||
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|||
|
# en Automatique. Distributed only by permission. #
|
|||
|
# #
|
|||
|
#######################################################################
|
|||
|
|
|||
|
# $Id$
|
|||
|
|
|||
|
set -e P4LIBDIR "{LIBDIR}camlp4:"
|
|||
|
set -e MANDIR "{mpw}"
|
|||
|
set -e OTOP "`directory `:"
|
|||
|
set -e OLIBDIR "{OTOP}boot:"
|
|||
|
|
|||
|
set -e CAMLP4_COMM ::tools:camlp4_comm.mpw
|
|||
|
set -e OCAMLC ::tools:ocamlc.mpw
|
|||
|
|
|||
|
set -e defrules "<22>n<EFBFBD>
|
|||
|
.cmi <20> .mli <20>n<EFBFBD>
|
|||
|
<20>{CAMLP4_COMM<4D>} <20>{depdir<69>}<7D>{default<6C>}.mli -o <20>{depdir<69>}<7D>{default<6C>}.ppi <20>n<EFBFBD>
|
|||
|
<20>{OCAMLC<4C>} <20>{OCAMLCFLAGS<47>} -c -intf <20>{depdir<69>}<7D>{default<6C>}.ppi <20>n<EFBFBD>
|
|||
|
delete -y -i <20>{depdir<69>}<7D>{default<6C>}.ppi <20>n<EFBFBD>
|
|||
|
<EFBFBD>n<EFBFBD>
|
|||
|
.cmo <20> .ml <20>n<EFBFBD>
|
|||
|
<20>{CAMLP4_COMM<4D>} <20>{depdir<69>}<7D>{default<6C>}.ml -o <20>{depdir<69>}<7D>{default<6C>}.ppo <20>n<EFBFBD>
|
|||
|
<20>{OCAMLC<4C>} <20>{OCAMLCFLAGS<47>} -c -impl <20>{depdir<69>}<7D>{default<6C>}.ppo <20>n<EFBFBD>
|
|||
|
delete -y -i <20>{depdir<69>}<7D>{default<6C>}.ppo <20>n<EFBFBD>
|
|||
|
<EFBFBD>n<EFBFBD>
|
|||
|
.cmi <20> .cmo <20>n<EFBFBD>
|
|||
|
set status 0 <20>n<EFBFBD>
|
|||
|
<EFBFBD>n<EFBFBD>
|
|||
|
clean <20><> <20>n<EFBFBD>
|
|||
|
begin <20>n<EFBFBD>
|
|||
|
delete -i <20>.cm[ioa] || set status 0 <20>n<EFBFBD>
|
|||
|
delete -i <20>.pp[io] || set status 0 <20>n<EFBFBD>
|
|||
|
delete -i <20>.bak || set status 0 <20>n<EFBFBD>
|
|||
|
end <20> dev:null <20>n<EFBFBD>
|
|||
|
"
|
|||
|
|
|||
|
set -e dependrule "<22>n<EFBFBD>
|
|||
|
depend Ķn<C4B6>
|
|||
|
duplicate -y Makefile.Mac.depend Makefile.Mac.depend.bak || set status 0<>n<EFBFBD>
|
|||
|
for i in <20>.mli<6C>0,1ȶn<C8B6>
|
|||
|
::tools:apply.mpw pr_depend.cmo -- <20>{INCLUDES<45>} <20>{i<>}<7D>n<EFBFBD>
|
|||
|
end > Makefile.Mac.depend<6E>n<EFBFBD>
|
|||
|
"
|