summaryrefslogtreecommitdiffstats
path: root/stdlib/Compflags
blob: 80bb1b6673bd4be30d5d96c66f36c1da9740ba99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#########################################################################
#                                                                       #
#                                OCaml                                  #
#                                                                       #
#            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';;
  buffer.cm[io]|printf.cm[io]|format.cm[io]|scanf.cm[io]) echo ' -w A';;
  scanf.cmx|scanf.p.cmx) echo ' -inline 9';;
  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