1218 |
names=`ls -1 "$ROOTDIR/pkg"` |
names=`ls -1 "$ROOTDIR/pkg"` |
1219 |
for i in $spaths ; do |
for i in $spaths ; do |
1220 |
try="$i/CPP_OPTIONS.h" |
try="$i/CPP_OPTIONS.h" |
1221 |
if test -f $try -a -r $try -a "x$CPP_OPTIONS" == x ; then |
if test -f $try -a -r $try -a "x$CPP_OPTIONS" = x ; then |
1222 |
echo " found CPP_OPTIONS=\"$try\"" |
echo " found CPP_OPTIONS=\"$try\"" |
1223 |
CPP_OPTIONS="$try" |
CPP_OPTIONS="$try" |
1224 |
# New safety test: make sure packages are not mentioned in CPP_OPTIONS.h |
# New safety test: make sure packages are not mentioned in CPP_OPTIONS.h |
1227 |
done |
done |
1228 |
fi |
fi |
1229 |
try="$i/CPP_EEOPTIONS.h" |
try="$i/CPP_EEOPTIONS.h" |
1230 |
if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" == x ; then |
if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" = x ; then |
1231 |
echo " found CPP_EEOPTIONS=\"$try\"" |
echo " found CPP_EEOPTIONS=\"$try\"" |
1232 |
# New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h |
# New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h |
1233 |
#**** not yet enabled **** |
#**** not yet enabled **** |
1353 |
EXE_SVD=$EXECUTABLE"_svd" |
EXE_SVD=$EXECUTABLE"_svd" |
1354 |
|
|
1355 |
cat >>$MAKEFILE <<EOF |
cat >>$MAKEFILE <<EOF |
1356 |
|
# |
1357 |
|
# OPTFILE="$OPTFILE" |
1358 |
# |
# |
1359 |
# BUILDDIR : Directory where object files are written |
# BUILDDIR : Directory where object files are written |
1360 |
# SOURCEDIRS : Directories containing the source (.F) files |
# SOURCEDIRS : Directories containing the source (.F) files |