File: Compflags

package info (click to toggle)
jocaml 3.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,740 kB
  • sloc: ml: 107,815; ansic: 36,537; sh: 5,467; asm: 5,359; lisp: 4,041; makefile: 2,527; perl: 45; fortran: 21; sed: 19; cs: 9; tcl: 2
file content (27 lines) | stat: -rwxr-xr-x 1,442 bytes parent folder | download
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
#!/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: Compflags 10510 2010-06-04 19:17:45Z maranget $

case $1 in
  pervasives.cm[iox]|pervasives.p.cmx) echo ' -nopervasives';;
  camlinternalOO.cmi) echo ' -nopervasives';;
  camlinternalOO.cmx|camlinternalOO.p.cmx) echo ' -inline 0';;
  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