summaryrefslogtreecommitdiffstats
path: root/stdlib/Compflags
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2004-06-13 12:47:32 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2004-06-13 12:47:32 +0000
commitfc5f00835c5cdd8f453ada784f63ab8d99d55014 (patch)
tree987baf4aeddd85266bab0ca9a370c0f068575752 /stdlib/Compflags
parent3dce37c1963ca174eab9f03b9636170e1ecded6e (diff)
Nettoyage des Makefiles, notamment la gestion des options de compilation specifiques a chaque fichier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/Compflags')
-rwxr-xr-xstdlib/Compflags26
1 files changed, 26 insertions, 0 deletions
diff --git a/stdlib/Compflags b/stdlib/Compflags
new file mode 100755
index 000000000..e263fbcf2
--- /dev/null
+++ b/stdlib/Compflags
@@ -0,0 +1,26 @@
+#!/bin/sh
+#########################################################################
+# #
+# Objective Caml #
+# #
+# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
+# #
+# Copyright 2004 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$
+
+case $1 in
+ pervasives.cm[iox]|pervasives.p.cmx) echo '-nopervasives';;
+ camlinternalOO.cmi) echo '-nopervasives';;
+ camlinternalOO.cmx|camlinternalOO.p.cmx) echo '-inline 0';;
+ arrayLabels.cm[ox]|arrayLabels.p.cmx) echo '-nolabels';;
+ listLabels.cm[ox]|listLabels.p.cmx) echo '-nolabels';;
+ stringLabels.cm[ox]|stringLabels.p.cmx) echo '-nolabels';;
+ moreLabels.cm[ox]|moreLabels.p.cmx) echo '-nolabels';;
+ *) echo '';;
+esac