80 |
tmp3=`echo $tmp2 | sed -e 's/power macintosh/ppc/'` |
tmp3=`echo $tmp2 | sed -e 's/power macintosh/ppc/'` |
81 |
tmp1=`echo $tmp3 | sed -e 's|x86_64|amd64|'` |
tmp1=`echo $tmp3 | sed -e 's|x86_64|amd64|'` |
82 |
tmp2=`echo $tmp1 | sed -e 's/i[3-6]86/ia32/' | sed -e 's/athlon/ia32/'` |
tmp2=`echo $tmp1 | sed -e 's/i[3-6]86/ia32/' | sed -e 's/athlon/ia32/'` |
83 |
PLATFORM=$tmp2 |
tmp3=`echo $tmp2 | sed -e 's/cray sv1/craysv1/'` |
84 |
|
PLATFORM=$tmp3 |
85 |
OFLIST=`(cd $ROOTDIR/tools/build_options; ls | grep "^$PLATFORM")` |
OFLIST=`(cd $ROOTDIR/tools/build_options; ls | grep "^$PLATFORM")` |
86 |
echo " The platform appears to be: $PLATFORM" |
echo " The platform appears to be: $PLATFORM" |
87 |
|
|
120 |
# 4) fall back to the buggy local xmakedpend script |
# 4) fall back to the buggy local xmakedpend script |
121 |
# |
# |
122 |
if test "x${MAKEDEPEND}" = x ; then |
if test "x${MAKEDEPEND}" = x ; then |
123 |
which makedepend >& /dev/null |
which makedepend > /dev/null 2>&1 |
124 |
RETVAL=$? |
RETVAL=$? |
125 |
if test ! "x${RETVAL}" = x0 ; then |
if test ! "x${RETVAL}" = x0 ; then |
126 |
echo " a system-default makedepend was not found." |
echo " a system-default makedepend was not found." |
1657 |
@make links |
@make links |
1658 |
\$(MAKEDEPEND) -o .f \$(DEFINES) \$(INCLUDES) \$(SRCFILES) |
\$(MAKEDEPEND) -o .f \$(DEFINES) \$(INCLUDES) \$(SRCFILES) |
1659 |
\$(TOOLSDIR)/f90mkdepend >> \$(MAKEFILE) |
\$(TOOLSDIR)/f90mkdepend >> \$(MAKEFILE) |
1660 |
|
-rm -f makedepend.out |
1661 |
|
|
1662 |
links: \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) \$(SPECIAL_FILES) |
links: \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) \$(SPECIAL_FILES) |
1663 |
|
|