2007-02-07 01:40:59 -08:00
|
|
|
#!/bin/sh
|
2007-10-08 07:19:34 -07:00
|
|
|
# $Id$
|
2007-02-07 01:40:59 -08:00
|
|
|
cd `dirname $0`/..
|
|
|
|
set -ex
|
|
|
|
|
2007-10-08 07:19:34 -07:00
|
|
|
# Create a bunch of symlinks to _build/boot
|
2007-02-07 01:40:59 -08:00
|
|
|
mkdir -p _build/boot
|
2007-10-08 07:19:34 -07:00
|
|
|
ln -sf ../../byterun/ocamlrun \
|
|
|
|
../../byterun/libcamlrun.a \
|
|
|
|
../../asmrun/libasmrun.a \
|
|
|
|
../../asmrun/libasmrunp.a \
|
2007-02-07 01:40:59 -08:00
|
|
|
../../yacc/ocamlyacc \
|
|
|
|
../../boot/ocamlc \
|
|
|
|
../../boot/ocamllex \
|
|
|
|
../../boot/ocamldep \
|
|
|
|
_build/boot
|
2007-10-08 07:19:34 -07:00
|
|
|
|
|
|
|
[ -f boot/ocamlrun ] || ln -sf ../byterun/ocamlrun boot
|
2007-02-07 01:40:59 -08:00
|
|
|
|
|
|
|
(cd byterun && make)
|
|
|
|
(cd asmrun && make all meta.o dynlink.o)
|
|
|
|
(cd yacc && make)
|