#!/bin/sh
#########################################################################
#                                                                       #
#                            Objective Caml                             #
#                                                                       #
#            Maxence Guesdon, projet Cristal, INRIA Rocquencourt        #
#                                                                       #
#   Copyright 2002 Institut National de Recherche en Informatique et    #
#   en Automatique.  All rights reserved.  This file is distributed     #
#   under the terms of the GNU General Public License version 2.        #
#                                                                       #
#########################################################################
# From the original ocamlmktop script by Damien Doligez

# $Id: cam-mktop2.in 716 2009-09-22 05:37:51Z zoggy $


# Multi-shell script.  Works under Bourne Shell, MPW Shell, zsh.

if : == x
then # Bourne Shell or zsh
     exec /usr/bin/ocamlc -I '/usr/lib/ocaml/lablgtk2' @LABLGTKSOURCEVIEW_INCLUDES@ -I /usr/lib/ocaml/cameleon -linkall topcameleon.cma custop_base.cmo custop_installation.cmo custop.cmo "$@" camtop.cmo
else # MPW Shell
     /usr/bin/ocamlc -I '/usr/lib/ocaml/lablgtk2' @LABLGTKSOURCEVIEW_INCLUDES@ -I /usr/lib/ocaml/cameleon -linkall topcameleon.cma custop_base.cmo custop_installation.cmo custop.cmo {"parameters"} camtop.cmo
     exit {status}
End # uppercase E because "end" is a keyword in zsh
fi
