* rltty.c: #if out some code if __GO32__.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
index bf59e2c36f52733d06296f2a36af57c179c9a19d..26b7c1f3bc9d0958f75544cf96c5b7ce715c195c 100644 (file)
@@ -22,10 +22,15 @@ else
 fi
 
 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
-       keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw"
-       if ( echo $* | grep keep\-gm > /dev/null ) ; then
-               keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
-       fi
+       keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
+else
+       lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
+fi
+
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+       keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
+else
+       lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
 fi
 
 # All files listed between the "Things-to-keep:" line and the
@@ -96,6 +101,7 @@ cpu-i960.c
 cpu-m68k.c
 cpu-m88k.c
 cpu-mips.c
+cpu-powerpc.c
 cpu-rs6000.c
 cpu-sh.c
 cpu-sparc.c
@@ -219,4 +225,27 @@ else
 fi
 
 
+mpwfiles="coffswap.h"
+if ( echo $* | grep keep\-mpw > /dev/null ) ; then
+       if [ -n "${verbose}" ] ; then
+               echo Keeping mpw stuff in $mpwfiles.
+       fi
+else
+       if [ -n "${verbose}" ]; then
+               echo -n Cleaning mpw in `pwd`:
+       fi
+       for f in $mpwfiles ; do
+               if [ -n "${verbose}" ] ; then
+                       echo -n " " $f
+               fi
+               sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
+               if [ -n "${safe}" ] ; then
+                       mv $f .Recover
+               fi
+               mv new $f
+       done
+       chmod a+x config.bfd
+fi
+
+
 # End of file.
This page took 0.024158 seconds and 4 git commands to generate.