fi
mv new Makefile.in
-if [ -n "${verbose}" ] ; then
- echo Looking for signs of \"v9\"...
-fi
-
-# Don't try to clean directories here, as the 'mv' command will fail.
-# Also, grep fails on NFS mounted directories.
-if ( echo $* | grep keep\-v9 > /dev/null ) ; then
- for i in * ; do
- if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v9 stuff in $i
- fi
- fi
- done
-else
- for i in * ; do
- if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Cleaning the \"v9\" out of $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
- if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
- mv $i .Recover
- fi
- mv new $i
- fi
- done
-fi
-
if [ -n "${verbose}" ] ; then
echo Thawing away the \"chill\"...
fi
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
-# start-sanitize-v9
sparc64) # CYGNUS LOCAL
basic_machine=sparc64-sun
os=-elf
;;
sparc64-*) # CYGNUS LOCAL
;;
-# end-sanitize-v9
mips3-*) # CYGNUS LOCAL
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
# manufacturer. We pick the logical manufacturer.
vendor=unknown
case $basic_machine in
- sparc-sun)
- # Strip off Sun's patch-release suffix
- os=`echo $os | sed 's/_U1$//'`
- ;;
*-unknown)
case $os in
-riscix*)
Things-to-lose:
-
Do-last:
-v9dirty="common.h"
-
-if ( echo $* | egrep verbose > /dev/null ) ; then
- verbose=true
-else
- verbose=
-fi
-
-if ( echo $* | grep keep\-v9 > /dev/null ) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v9 in ${v9dirty}
- fi
-else
- for i in ${v9dirty} ; do
- if [ -n "${verbose}" ] ; then
- echo Sanitizing v9 in $i
- fi
- rm -f new
- grep -v v9 $i > new
- if [ -n "${safe}" ] ; then
- mv $i .Recover
- else
- rm $i
- fi
- mv new $i
- done
-fi
-
-
# End of file.