summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/build/camlp4-native-only.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/build/camlp4-native-only.sh')
-rwxr-xr-xocaml-binary-annot/build/camlp4-native-only.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/ocaml-binary-annot/build/camlp4-native-only.sh b/ocaml-binary-annot/build/camlp4-native-only.sh
new file mode 100755
index 0000000000..d9bdbd1db5
--- /dev/null
+++ b/ocaml-binary-annot/build/camlp4-native-only.sh
@@ -0,0 +1,22 @@
+#!/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$
+
+set -e
+cd `dirname $0`/..
+. build/targets.sh
+set -x
+$OCAMLBUILD $@ native_stdlib_mixed_mode $OCAMLOPT_BYTE $OCAMLLEX_BYTE $CAMLP4_NATIVE