11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
+
+
+
|
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.15 2000/12/27 14:57:43 peterg
## Now takes the base path as an argument
##
## Revision 1.14 2000/12/27 13:11:43 peterg
## *** empty log message ***
##
## Revision 1.13 2000/10/03 12:12:14 peterg
## New path structure to account for three way split in mtt tree
##
## Revision 1.12 2000/09/18 12:17:07 peterg
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
|
#
###############################################################
MTT_BASE=$1
if [ -z "$MTT_BASE" ]; then
echo mttrc requires one argument: eg mttrc /usr/share/mtt/latest
exit
else
fi
# 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 MTTPATH=$MTT_BASE/bin
export MTT_LIB=$MTT_BASE/mtt-lib
export MTT_DOC=$MTT_BASE/mtt-doc
export MTT_CC=$MTT_BASE/mtt-cc
export MTT_COMPONENTS=$MTT_LIB/comp
export MTT_CRS=$MTT_LIB/cr
export MTT_EXAMPLES=$MTT_LIB/examples
export MTT_REP=$MTT_LIB/rep
export PATH=$PATH\:$MTTPATH\:$MTTPATH/trans\:$MTT_CC
#Setup octave
export MATRIX_PATH=$MTTPATH/trans/m//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/comp/simple//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/control//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/octave//\:\:
export OCTAVE_PATH=.\:$MATRIX_PATH
export MATRIX="octave"
# 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://mtt.sourceforge.net"
# Ascend stuff
export ASCENDLIBRARY=$MTTPATH/ascend/lib
# Oct file generation - use version with no optimisation.
export MKOCTFILE=$MTT_LIB/octave/mkoctfile
echo Setting paths with base $MTT_BASE
# 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 MTTPATH=$MTT_BASE/bin
export MTT_LIB=$MTT_BASE/mtt-lib
export MTT_DOC=$MTT_BASE/mtt-doc
export MTT_CC=$MTT_BASE/mtt-cc
export MTT_COMPONENTS=$MTT_LIB/comp
export MTT_CRS=$MTT_LIB/cr
export MTT_EXAMPLES=$MTT_LIB/examples
export MTT_REP=$MTT_LIB/rep
export PATH=$PATH\:$MTTPATH\:$MTTPATH/trans\:$MTT_CC
#Setup octave
export MATRIX_PATH=$MTTPATH/trans/m//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/comp/simple//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/control//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/octave//\:\:
export OCTAVE_PATH=.\:$MATRIX_PATH
export MATRIX="octave"
# 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://mtt.sourceforge.net"
# Ascend stuff
export ASCENDLIBRARY=$MTTPATH/ascend/lib
# Oct file generation - use version with no optimisation.
export MKOCTFILE=$MTT_LIB/octave/mkoctfile
fi
|