Overview
| Comment: | -oct now forces an m target language to be oct (if the rep is an the list: "ae input logic numpar simpar state") |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
8da889c6d5a41fbde4c26b3e9b62e4d3 |
| User & Date: | gawthrop@users.sourceforge.net on 2002-05-20 10:29:59.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2002-05-20
| ||
| 13:32:36 | Sanity check on y_0 check-in: ffbec8fe83 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:29:59 |
-oct now forces an m target language to be oct (if the rep is an the list: "ae input logic numpar simpar state") check-in: 8da889c6d5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:09:28 | Added zip to suggested list - used by 'sfun.zip' target. check-in: 442ec01b46 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt
from [43b235c1f8]
to [3e06b0421a].
| ︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.347 2002/05/20 07:12:05 gawthrop ## Trying to get oct files generated with -oct ## ## Revision 1.346 2002/05/17 11:15:38 gawthrop ## Messages about copying when using -dr now only appear in verbose (-v) mode. ## ## Revision 1.345 2002/05/15 14:22:25 geraint | > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.348 2002/05/20 08:50:12 geraint ## Cleans _sfun_ae.mexglx. ## ## Revision 1.347 2002/05/20 07:12:05 gawthrop ## Trying to get oct files generated with -oct ## ## Revision 1.346 2002/05/17 11:15:38 gawthrop ## Messages about copying when using -dr now only appear in verbose (-v) mode. ## ## Revision 1.345 2002/05/15 14:22:25 geraint |
| ︙ | ︙ | |||
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 | ## Put in fig.fig target. ## ## Revision 1.1 1996/08/04 17:29:42 peter ## Initial revision ## ############################################################### #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version version='4.9' | > > > > > > > > > > | 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 |
## Put in fig.fig target.
##
## Revision 1.1 1996/08/04 17:29:42 peter
## Initial revision
##
###############################################################
set_oct() {
## Sets ${m} to oct if such a rep is supported
m=m
supported_reps="ae input logic numpar simpar state"
for supported_rep in ${supported_reps}; do
if [ "${rep}" = "${supported_rep}" ]; then
m=oct
fi
done
}
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='4.9'
|
| ︙ | ︙ | |||
1406 1407 1408 1409 1410 1411 1412 |
sub='-sub';
subsystem="_"$2;
shift;;
-oct )
fixcc='-fixcc'
mtt_switches="$mtt_switches $1";
using_oct=yes;
| < | 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
sub='-sub';
subsystem="_"$2;
shift;;
-oct )
fixcc='-fixcc'
mtt_switches="$mtt_switches $1";
using_oct=yes;
;;
-opt ) mtt_switches="$mtt_switches $1";
optimise='-optimise';;
-partition ) mtt_switches="$mtt_switches $1";
partition='-partition';
;;
-pdf ) mtt_switches="$mtt_switches $1";
|
| ︙ | ︙ | |||
1963 1964 1965 1966 1967 1968 1969 1970 1971 | Subsystem_ese=$Subsystem"_ese" Subsystem_def=$Subsystem"_def" Subsystem_rdae=$Subsystem"_rdae" Subsystem_dae=$Subsystem"_dae" Subsystem_subs=$Subsystem"_subs" Subsystem_cr=$Subsystem"_cr" Subsystem_cbg=$Subsystem"_cbg" ## Create the make target name | > | | | > | | | | | | > > | | 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 |
Subsystem_ese=$Subsystem"_ese"
Subsystem_def=$Subsystem"_def"
Subsystem_rdae=$Subsystem"_rdae"
Subsystem_dae=$Subsystem"_dae"
Subsystem_subs=$Subsystem"_subs"
Subsystem_cr=$Subsystem"_cr"
Subsystem_cbg=$Subsystem"_cbg"
## Create the make target name
if [ -z "${using_oct}" ]; then
target=${sys}_${rep}.${lang}
else
set_oct;
if [ "${lang}" = "m" ]; then
target=${sys}_${rep}.${m}
else
target=${sys}_${rep}.${lang}
fi
fi
##echo $target
##target=${sys}_${rep}.${lang}
## Arguments
ARGS=$4; _ARGS=-$4; __ARGS=`echo $_ARGS | tr ',' '-'`
# Save up the argument list in a file; but only if argument has changed
#DIFF doesn't like empty files - so put a blank if empty
#if [ -z "$ARGS" ]; then
|
| ︙ | ︙ |