42 |
echo " (-bash|-b) STRING preferred location of a \"bash\" or \"sh\" shell" |
echo " (-bash|-b) STRING preferred location of a \"bash\" or \"sh\" shell" |
43 |
echo " (DEF=\"\" for \"bash\")" |
echo " (DEF=\"\" for \"bash\")" |
44 |
echo " (-ef) STRING used as genmake2 \"-extra_flag\" argument" |
echo " (-ef) STRING used as genmake2 \"-extra_flag\" argument" |
45 |
echo " (-ncad) used genmake2 option \"-nocat4ad\" (-ncad)" |
echo " (-ncad) use genmake2 option \"-nocat4ad\" (-ncad)" |
46 |
|
echo " (-small_f) make target small_f before making target all" |
47 |
echo " (-makedepend|-md) STRING command to use for \"makedepend\"" |
echo " (-makedepend|-md) STRING command to use for \"makedepend\"" |
48 |
echo " (-make|-m) STRING command to use for \"make\"" |
echo " (-make|-m) STRING command to use for \"make\"" |
49 |
echo " (DEF=\"make\")" |
echo " (DEF=\"make\")" |
528 |
else |
else |
529 |
cd $1; |
cd $1; |
530 |
if test -r Makefile ; then |
if test -r Makefile ; then |
531 |
|
if test "x$MKSMALLF" = xt ; then |
532 |
|
printf 'make small_f ... ' |
533 |
|
$MAKE_CMD small_f >> make.tr_log 2>&1 |
534 |
|
RETVAL=$? |
535 |
|
if test "x$RETVAL" != x0 ; then |
536 |
|
tail make.tr_log |
537 |
|
echo failed |
538 |
|
cp genmake.log genmake.tr_log $CDIR |
539 |
|
tail -$NBLINES_MKLOG make.tr_log > $CDIR"/make.tr_log_tail" |
540 |
|
rm -f $EXECUTABLE |
541 |
|
mk_fail=1 |
542 |
|
else |
543 |
|
echo successful |
544 |
|
fi |
545 |
|
fi |
546 |
printf 'make ... ' |
printf 'make ... ' |
547 |
$MAKE_CMD $TARG >> make.tr_log 2>&1 |
$MAKE_CMD $TARG >> make.tr_log 2>&1 |
548 |
RETVAL=$? |
RETVAL=$? |
1081 |
USE_R4= |
USE_R4= |
1082 |
EXTRFLG= |
EXTRFLG= |
1083 |
NOCATAD= |
NOCATAD= |
1084 |
|
MKSMALLF= |
1085 |
|
|
1086 |
#- type of testing (KIND): |
#- type of testing (KIND): |
1087 |
# KIND=0 : forward (= default) ; KIND=1 : Tangent Linear with TAF ; |
# KIND=0 : forward (= default) ; KIND=1 : Tangent Linear with TAF ; |
1191 |
echo "Error: '-tlm', '-adm' and '-oad' are exclusive" ; usage |
echo "Error: '-tlm', '-adm' and '-oad' are exclusive" ; usage |
1192 |
fi ;; |
fi ;; |
1193 |
-ncad) NOCATAD=t ;; |
-ncad) NOCATAD=t ;; |
1194 |
|
-small_f) MKSMALLF=t ;; |
1195 |
|
|
1196 |
-ieee) echo "Warning: ignore option '-ieee' (already the default)" |
-ieee) echo "Warning: ignore option '-ieee' (already the default)" |
1197 |
printf " ... " ;; |
printf " ... " ;; |