#!/bin/sh
# @(#)$Date: 2002/03/18 20:40:25$
#
# mjc -- script for invoking the MultiJava Compiler
#
# SYNOPSIS: set CLASSPATH and run mjc

# If needed, change the following configuration parameters for your system
# by changing what is to the right of the equals sign (=) on the next 5 defs
: ${PATHSEP=';'}                           # change to ':' for Unix
: ${FILESEP='\'}                           # change to '/' for Unix
: ${USRLOCAL=`cygpath -wa /usr/local`}     # local software directory
: ${ANTLRDIR="${USRLOCAL}${FILESEP}antlr"} # local home of Antlr
: ${GNUDIR="${USRLOCAL}${FILESEP}gnu"}     # local dir above gnu/getops
: ${MJCDIR=`cygpath -wa "${HOME}/MJ"`}     # local home of MJC

CLASSPATH=".${PATHSEP}${ANTLRDIR}${FILESEP}antlr.jar${PATHSEP}${MJCDIR}${PATHSEP}${GNUDIR}${PATHSEP}${CLASSPATH}"
export CLASSPATH

# You can use `java' or `jre -classpath "$CLASSPATH"' below
# but these have to be in your PATH
exec java org.multijava.launcher.MjLauncher "$@"

## Copyright (C) 2000-2002 Iowa State University
##
## This file is part of mjc, the MultiJava Compiler.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
