Added m32rx sanitization
[deliverable/binutils-gdb.git] / .Sanitize
index cec8a8918cf249285bca066f0dcb728f40e4c4cb..dae079fa977e338f761b7caeb0a237653f7bf8d0 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -50,9 +50,11 @@ keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
        apache bash 
        bfd binutils bison byacc cvs deja-gnu dejagnu diff dosrel dvips
        emacs emacs19 examples expect fileutils findutils flex
-       gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff guile gzip
+       gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff
+       guile gzip
        include inet install-sh ispell
-       ld less libg++ libgcc libgloss libiberty libio librx libstdc++
+       ld less libg++ libgcc libgloss libiberty libgui libide libio
+       librx libstdc++
        m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
        rcs readline sed send-pr shellutils sim tar textutils time
@@ -106,7 +108,7 @@ else
        keep_these_too="${keep_these_too} ${inet_files}"
 fi
 
-ide_files="itcl libide vmake"
+ide_files="vmake"
 
 if (echo $* | grep keep\-ide > /dev/null); then
        keep_these_too="${keep_these_too} ${ide_files}"
@@ -338,24 +340,24 @@ else
        done
 fi
 
-tic80_files="ChangeLog config.sub configure.in"
+tx49_files="ChangeLog config.sub"
 
-if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
-       for i in $tic80_files ; do
-               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+       for i in $tx49_files ; do
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tic80 stuff in $i
+                               echo Keeping tx49 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tic80\" from $i...
+                               echo Removing traces of \"tx49\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
+                       sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -367,22 +369,24 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-gm > /dev/null ) ; then
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+tic80_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping gm stuff in $i
+                               echo Keeping tic80 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"gm\" from $i...
+                               echo Removing traces of \"tic80\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
+                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -437,6 +441,63 @@ if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
        mv new Makefile.in
 fi
 
+vr5400_files="ChangeLog config.sub"
+
+if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+       for i in $vr5400_files ; do
+               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr5400 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr5400\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
+m32rx_files="ChangeLog config-ml.in"
+if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
+       for i in $m32rx_files ; do
+               if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping m32rx stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"m32rx\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 # Do this check LAST!
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
This page took 0.033729 seconds and 4 git commands to generate.