2007-02-07 01:40:59 -08:00
|
|
|
#!/bin/sh
|
2011-07-27 07:17:02 -07:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# OCaml #
|
|
|
|
# #
|
|
|
|
# Nicolas Pouillard, projet Gallium, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 2007 Institut National de Recherche en Informatique et #
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
|
|
|
# under the terms of the Q Public License version 1.0. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
CAMLP4_COMMON="\
|
|
|
|
camlp4/Camlp4/Camlp4Ast.partial.ml \
|
|
|
|
camlp4/boot/camlp4boot.byte"
|
|
|
|
CAMLP4_BYTE="$CAMLP4_COMMON \
|
|
|
|
camlp4/Camlp4.cmo \
|
|
|
|
camlp4/Camlp4Top.cmo \
|
|
|
|
camlp4/camlp4prof.byte$EXE \
|
|
|
|
camlp4/mkcamlp4.byte$EXE \
|
2007-10-08 07:19:34 -07:00
|
|
|
camlp4/camlp4.byte$EXE \
|
|
|
|
camlp4/camlp4fulllib.cma"
|
2007-02-07 01:40:59 -08:00
|
|
|
CAMLP4_NATIVE="$CAMLP4_COMMON \
|
|
|
|
camlp4/Camlp4.cmx \
|
|
|
|
camlp4/Camlp4Top.cmx \
|
|
|
|
camlp4/camlp4prof.native$EXE \
|
|
|
|
camlp4/mkcamlp4.native$EXE \
|
2007-10-08 07:19:34 -07:00
|
|
|
camlp4/camlp4.native$EXE \
|
|
|
|
camlp4/camlp4fulllib.cmxa"
|
2007-02-07 01:40:59 -08:00
|
|
|
|
|
|
|
for i in camlp4boot camlp4r camlp4rf camlp4o camlp4of camlp4oof camlp4orf; do
|
|
|
|
CAMLP4_BYTE="$CAMLP4_BYTE camlp4/$i.byte$EXE camlp4/$i.cma"
|
|
|
|
CAMLP4_NATIVE="$CAMLP4_NATIVE camlp4/$i.native$EXE"
|
|
|
|
done
|
|
|
|
|
|
|
|
cd camlp4
|
|
|
|
for dir in Camlp4Parsers Camlp4Printers Camlp4Filters; do
|
|
|
|
for file in $dir/*.ml; do
|
|
|
|
base=camlp4/$dir/`basename $file .ml`
|
|
|
|
CAMLP4_BYTE="$CAMLP4_BYTE $base.cmo"
|
|
|
|
CAMLP4_NATIVE="$CAMLP4_NATIVE $base.cmx $base.$O"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
cd ..
|