2004-06-13 05:47:32 -07:00
|
|
|
#!/bin/sh
|
|
|
|
#########################################################################
|
|
|
|
# #
|
2011-07-27 07:17:02 -07:00
|
|
|
# OCaml #
|
2004-06-13 05:47:32 -07:00
|
|
|
# #
|
|
|
|
# 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. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
case $1 in
|
2004-07-13 05:25:21 -07:00
|
|
|
pervasives.cm[iox]|pervasives.p.cmx) echo ' -nopervasives';;
|
|
|
|
camlinternalOO.cmi) echo ' -nopervasives';;
|
|
|
|
camlinternalOO.cmx|camlinternalOO.p.cmx) echo ' -inline 0';;
|
2013-09-04 08:12:37 -07:00
|
|
|
buffer.cmx|buffer.p.cmx) echo ' -inline 3';;
|
|
|
|
# make sure add_char is inlined (PR#5872)
|
2014-05-12 08:37:29 -07:00
|
|
|
buffer.cm[io]) echo ' -w A';;
|
2014-05-12 08:37:37 -07:00
|
|
|
camlinternalFormat.cm[io]) echo ' -w Ae';;
|
2014-06-09 06:53:45 -07:00
|
|
|
camlinternalFormatBasics*.cm[iox]) echo ' -nopervasives';;
|
2014-05-12 08:37:37 -07:00
|
|
|
printf.cm[io]|format.cm[io]|scanf.cm[io]) echo ' -w Ae';;
|
2004-11-02 06:51:37 -08:00
|
|
|
scanf.cmx|scanf.p.cmx) echo ' -inline 9';;
|
2014-05-04 19:05:30 -07:00
|
|
|
*Labels.cm[ox]|*Labels.p.cmx) echo ' -nolabels -no-alias-deps';;
|
2004-07-13 05:25:21 -07:00
|
|
|
*) echo ' ';;
|
2004-06-13 05:47:32 -07:00
|
|
|
esac
|