Module of module types for OrderedType,ComparableType,Printable,Serializable,Discrete...
[ocaml.git] / build / camlp4-targets.sh
blob7c68906a485a408c34162418ce6810b25bf07280
1 #!/bin/sh
2 # $Id$
3 CAMLP4_COMMON="\
4 camlp4/Camlp4/Camlp4Ast.partial.ml \
5 camlp4/boot/camlp4boot.byte"
6 CAMLP4_BYTE="$CAMLP4_COMMON \
7 camlp4/Camlp4.cmo \
8 camlp4/Camlp4Top.cmo \
9 camlp4/camlp4prof.byte$EXE \
10 camlp4/mkcamlp4.byte$EXE \
11 camlp4/camlp4.byte$EXE \
12 camlp4/camlp4fulllib.cma"
13 CAMLP4_NATIVE="$CAMLP4_COMMON \
14 camlp4/Camlp4.cmx \
15 camlp4/Camlp4Top.cmx \
16 camlp4/camlp4prof.native$EXE \
17 camlp4/mkcamlp4.native$EXE \
18 camlp4/camlp4.native$EXE \
19 camlp4/camlp4fulllib.cmxa"
21 for i in camlp4boot camlp4r camlp4rf camlp4o camlp4of camlp4oof camlp4orf; do
22 CAMLP4_BYTE="$CAMLP4_BYTE camlp4/$i.byte$EXE camlp4/$i.cma"
23 CAMLP4_NATIVE="$CAMLP4_NATIVE camlp4/$i.native$EXE"
24 done
26 cd camlp4
27 for dir in Camlp4Parsers Camlp4Printers Camlp4Filters; do
28 for file in $dir/*.ml; do
29 base=camlp4/$dir/`basename $file .ml`
30 CAMLP4_BYTE="$CAMLP4_BYTE $base.cmo"
31 CAMLP4_NATIVE="$CAMLP4_NATIVE $base.cmx $base.$O"
32 done
33 done
34 cd ..