3 . build
/otherlibs-targets.sh
4 . build
/camlp4-targets.sh
9 STDLIB_BYTE
="stdlib/libcamlrun.$A stdlib/stdlib.cma \
10 stdlib/std_exit.cmo stdlib/camlheader stdlib/camlheader_ur"
11 OCAMLLEX_BYTE
=lex
/ocamllex
$EXE
12 OCAMLC_BYTE
=ocamlc
$EXE
13 OCAMLOPT_BYTE
=ocamlopt
$EXE
14 OCAMLBUILD_BYTE
="ocamlbuild/ocamlbuildlib.cma \
15 ocamlbuild/ocamlbuildlightlib.cma \
16 ocamlbuild/ocamlbuild.byte$EXE \
17 ocamlbuild/ocamlbuildlight.byte$EXE"
19 TOOLS_BYTE
="tools/ocamldep.byte$EXE tools/profiling.cmo \
20 tools/ocamlprof.byte$EXE tools/ocamlcp.byte$EXE \
21 tools/ocamlmktop.byte$EXE tools/ocamlmklib$EXE \
22 tools/scrapelabels.byte tools/addlabels.byte \
23 tools/dumpobj.byte$EXE"
24 if [ ! -z "$DEBUGGER" ]; then
25 DEBUGGER
=debugger
/ocamldebug
$EXE
27 OCAMLDOC_BYTE
="ocamldoc/ocamldoc$EXE ocamldoc/odoc_info.cma"
28 STDLIB_NATIVE
="stdlib/stdlib.cmxa stdlib/std_exit.cmx asmrun/libasmrun.$A"
31 STDLIB_NATIVE
="$STDLIB_NATIVE asmrun/libasmrunp.$A \
32 stdlib/stdlib.p.cmxa stdlib/std_exit.p.cmx";;
34 *) echo "unexpected PROFILING value $PROFILING"; exit 1;;
36 OCAMLC_NATIVE
=ocamlc.opt
$EXE
37 OCAMLOPT_NATIVE
=ocamlopt.opt
$EXE
38 OCAMLLEX_NATIVE
=lex
/ocamllex.opt
$EXE
39 TOOLS_NATIVE
=tools
/ocamldep.native
$EXE
40 OCAMLDOC_NATIVE
="ocamldoc/ocamldoc.opt$EXE ocamldoc/odoc_info.cmxa ocamldoc/stdlib_man/Pervasives.3o"
41 OCAMLBUILDLIB_NATIVE
="ocamlbuild/ocamlbuildlib.cmxa \
42 ocamlbuild/ocamlbuildlightlib.cmxa"
43 OCAMLBUILD_NATIVE
="$OCAMLBUILDLIB_NATIVE \
44 ocamlbuild/ocamlbuild.native$EXE \
45 ocamlbuild/ocamlbuildlight.native$EXE"
46 if [ -x boot
/myocamlbuild.native
]; then
47 OCAMLBUILD
=.
/boot
/myocamlbuild.native
49 OCAMLBUILD
="./boot/ocamlrun boot/myocamlbuild"