File mttroot/mtt/bin/mttrc artifact cab79a6381 part of check-in f2956c2724


#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mttrc - sets up paths etc for mtt
# Usage: mttrc 

# Copyright (c) P.J.Gawthrop 1996,1977.


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.9  1999/03/11 04:02:19  peterg
## Revised so that sh2csh does its stuff.
##
## Revision 1.8  1998/07/17 19:48:46  peterg
## *** empty log message ***
##
## Revision 1.7  1998/03/24 09:11:49  peterg
## Compatible with .csh version
##
## Revision 1.6  1998/03/13 11:53:29  peterg
## reduce --> reduce 64
##
## Revision 1.5  1998/01/16 08:55:01  peterg
## MAKE=make
##
## Revision 1.4  1998/01/06 09:14:51  peterg
## Added latex2html to setup
##
# Revision 1.3  1998/01/06  09:11:26  peterg
# Removed matlab from the setup
#
# Revision 1.2  1997/12/04  10:49:16  peterg
# Put under RCS at last
# Added CC variable
#
###############################################################


#Edit the following line to show the location of mtt
export MTTPATH=~peterg/mtt_new/mtt

# The following line sets up the make to use -- gmake is the standard 
# but you may wish to use lsmake for parallelism
export MAKE='make'

# The following sets up the c compiler
export CC='gcc'

# Setup the paths
export PATH=$PATH\:$MTTPATH\:$MTTPATH/trans
export MATRIX_PATH=$MTTPATH/trans/m\:$MTTPATH/trans/m/emulator\:$MTTPATH/lib/comp/simple\:$MTTPATH/lib/control/PPP
export MTT_COMPONENTS=$MTTPATH/lib/comp
export MTT_CRS=$MTTPATH/lib/cr
export MTT_EXAMPLES=$MTTPATH/lib/examples
export MTT_LIB=$MTTPATH/lib

#Ask octave to tell me its path
#export OCTAVE_LOAD_PATH=`mtt_octave_path`
export OCTAVE_LOAD_PATH=`mtt_octave_path`

#Setup octave
export OCTAVE_PATH=\:.$OCTAVE_LOAD_PATH\:$MATRIX_PATH
export MATRIX="octave --path $OCTAVE_PATH"

#Setup matlab
#MATLABPATH $MATLABPATH\:$MATRIX_PATH
#export MATLABPATH=
# Setup the symbolic stuff
export SYMBOLIC='reduce 64'


# Setup xfig
export FIG="xfig  \
	-startfontsize 20 \
	-metric \
	-portrait \
	-startgridmode 2 \
	-pheight 21 \
	-pwidth 30 \
	-library_dir $MTT_LIB/xfig/\
	"

# Setup ps viewer
export PSVIEW='ghostview'

# Setup pdf viewer
export PDFVIEW='acroread'

# Setup html viewer
export HTMLVIEW='netscape'

# Setup dvi viewer
export DVIVIEW='xdvi'

# Setup latex2html
export LATEX2HTML="latex2html -contents_in_navigation -index_in_navigation -address http://www.mech.gla.ac.uk/~peterg/software/MTT"

# Ascend stuff
export ASCENDLIBRARY=$MTTPATH/ascend/lib













MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]