35 lines
1.3 KiB
Bash
Executable File
35 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
#########################################################################
|
|
# #
|
|
# Objective Caml #
|
|
# #
|
|
# Nicolas Pouillard, projet Gallium, INRIA Rocquencourt #
|
|
# #
|
|
# Copyright 2008 Institut National de Recherche en Informatique et #
|
|
# en Automatique. All rights reserved. This file is distributed #
|
|
# under the terms of the GNU Library General Public License, with #
|
|
# the special exception on linking described in file LICENSE. #
|
|
# #
|
|
#########################################################################
|
|
|
|
# $Id$
|
|
|
|
cd `dirname $0`
|
|
set -e
|
|
if [ -e ocamlbuild_mixed_mode ]; then
|
|
echo ocamlbuild mixed mode detected
|
|
echo 'please cleanup and re-launch (make clean ; ./build/distclean.sh)'
|
|
exit 1
|
|
fi
|
|
./mkconfig.sh
|
|
./mkmyocamlbuild_config.sh
|
|
. ../config/config.sh
|
|
if [ "x$EXE" = "x.exe" -a "x$SYSTEM" != "xcygwin" ]; then
|
|
./boot-c-parts-windows.sh
|
|
else
|
|
./boot-c-parts.sh
|
|
fi
|
|
./boot.sh $@
|
|
./world.all.sh $@
|