* Makefile.in (stamp-arch): Pass FLAGS to cgen.
[deliverable/binutils-gdb.git] / .Sanitize
index 62784ffc110512ead570a311e682dd64e5f96ca8..cc78df2761bce3095f87d383332de2426b8673e5 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
 Do-first:
 
 keep_these_too="${keep_these_too} .cvsignore autoconf automake
 Do-first:
 
 keep_these_too="${keep_these_too} .cvsignore autoconf automake
-       apache bash 
-       bfd binutils bison byacc cvs deja-gnu dejagnu diff dosrel dvips
+       apache ash bash bfd binutils bison byacc bzip2
+       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
        emacs emacs19 examples expect fileutils findutils flex
        gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff
        guile gzip
-       include inet install-sh ispell
+       include inet install-sh intl ispell
        ld less libgcc libgloss libiberty libio
        ld less libgcc libgloss libiberty libio
-       libstdc++ libtool
+       libstdc++ libtermcap libtool
        m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
        rcs readline sed send-pr shellutils sim tar textutils time
        m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
        rcs readline sed send-pr shellutils sim tar textutils time
@@ -63,7 +63,7 @@ keep_these_too="${keep_these_too} .cvsignore autoconf automake
        mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install
        ltconfig ltmain.sh missing ylwrap"
 
        mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install
        ltconfig ltmain.sh missing ylwrap"
 
-lose_these_too="${lose_these_too} libg++ librx testsuite"
+lose_these_too="${lose_these_too} libg++ librx libdsp testsuite"
 
 cygnus_files="release release-info build-all.mk test-build.mk CYGNUS COPYING.NEWLIB"
 
 
 cygnus_files="release release-info build-all.mk test-build.mk CYGNUS COPYING.NEWLIB"
 
@@ -108,7 +108,7 @@ else
        keep_these_too="${keep_these_too} ${inet_files}"
 fi
 
        keep_these_too="${keep_these_too} ${inet_files}"
 fi
 
-ide_files="libide vmake jstools"
+ide_files="libide libidetcl vmake jstools"
 
 if (echo $* | grep keep\-ide > /dev/null); then
        keep_these_too="${keep_these_too} ${ide_files}"
 
 if (echo $* | grep keep\-ide > /dev/null); then
        keep_these_too="${keep_these_too} ${ide_files}"
@@ -117,6 +117,15 @@ else
        lose_these_too="${lose_these_too} ${ide_files}"
 fi
 
        lose_these_too="${lose_these_too} ${ide_files}"
 fi
 
+flexlm_files="flexlm"
+
+if (echo $* | grep keep\-cygnus > /dev/null); then
+       keep_these_too="${keep_these_too} ${flexlm_files}"
+       test -n "$verbose" && echo Keeping ${flexlm_files}
+else
+       lose_these_too="${lose_these_too} ${flexlm_files}"
+fi
+
 # CGEN files:
 # It is not yet clear if the cgen package will be shipped with the
 # simulators.
 # CGEN files:
 # It is not yet clear if the cgen package will be shipped with the
 # simulators.
@@ -128,6 +137,15 @@ else
        lose_these_too="${lose_these_too} ${cgen_files}"
 fi
 
        lose_these_too="${lose_these_too} ${cgen_files}"
 fi
 
+# Java stuff
+java_files="boehm-gc libjava qthreads zip"
+
+if (echo $* | grep keep\-java > /dev/null); then
+       keep_these_too="${keep_these_too} ${java_files}"
+else
+       lose_these_too="${lose_these_too} ${java_files}"
+fi
+
 # This top-level directory is special.  We often check out only subsets
 # of this directory, and complaining about directories or files we didn't
 # check out just gets obnoxious.
 # This top-level directory is special.  We often check out only subsets
 # of this directory, and complaining about directories or files we didn't
 # check out just gets obnoxious.
@@ -163,6 +181,7 @@ ChangeLog
 Makefile.in
 README
 config.guess
 Makefile.in
 README
 config.guess
+config.if
 config.sub
 configure
 configure.in
 config.sub
 configure
 configure.in
@@ -230,27 +249,27 @@ else
 fi
 
 if [ -n "${verbose}" ] ; then
 fi
 
 if [ -n "${verbose}" ] ; then
-       echo Processing \"d30v\"...
+       echo Processing \"v850\"...
 fi
 
 fi
 
-d30v_files="ChangeLog config.sub configure.in"
+v850_files="ChangeLog config.sub configure.in"
 
 
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       for i in $d30v_files ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping d30v stuff in $i
+                               echo Keeping v850e stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d30v\" from $i...
+                               echo Removing traces of \"v850e\" from $i...
                        fi
                        cp $i new
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
+                       sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -262,28 +281,24 @@ else
        done
 fi
 
        done
 fi
 
-if [ -n "${verbose}" ] ; then
-       echo Processing \"v850\"...
-fi
-
-v850_files="ChangeLog config.sub configure.in"
+r5900_files="ChangeLog config.sub configure.in"
 
 
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
-       for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+       for i in $r5900_files ; do
+               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping v850e stuff in $i
+                               echo Keeping r5900 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"v850e\" from $i...
+                               echo Removing traces of \"r5900\" from $i...
                        fi
                        cp $i new
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
+                       sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -295,24 +310,24 @@ else
        done
 fi
 
        done
 fi
 
-r5900_files="ChangeLog config.sub configure.in"
+vr4xxx_files="ChangeLog config.sub"
 
 
-if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
-       for i in $r5900_files ; do
-               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+       for i in $vr4xxx_files ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping r5900 stuff in $i
+                               echo Keeping vr4xxx stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"r5900\" from $i...
+                               echo Removing traces of \"vr4xxx\" from $i...
                        fi
                        cp $i new
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
+                       sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -589,24 +604,24 @@ else
        done
 fi
 
        done
 fi
 
-vr5400_files="ChangeLog config.sub"
+cygnus_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 ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+       for i in $cygnus_files ; do
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping vr5400 stuff in $i
+                               echo Keeping cygnus stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"vr5400\" from $i...
+                               echo Removing traces of \"cygnus\" from $i...
                        fi
                        cp $i new
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/d' < $i > new
+                       sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -646,7 +661,92 @@ else
        done
 fi
 
        done
 fi
 
-kcygnus_files="configure"
+java_files="ChangeLog Makefile.in configure.in"
+if ( echo $* | grep keep\-java > /dev/null ) ; then
+       for i in $java_files ; do
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping java stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"java\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-java/,/end-\sanitize\-java/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
+
+dsp_files="ChangeLog Makefile.in configure.in"
+if ( echo $* | grep keep\-dsp > /dev/null ) ; then
+        for i in $dsp_files ; do
+                if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Keeping dsp stuff in $i
+                        fi
+                fi
+        done
+else
+        for i in * ; do
+                if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Removing traces of \"dsp\" from $i...
+                        fi
+                        cp $i new
+                        sed '/start\-sanitize\-dsp/,/end-\sanitize\-dsp/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
+
+
+beos_files="ChangeLog configure.in"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+       for i in $beos_files ; do
+               if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping beos stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"beos\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-beos/,/end-\sanitize\-beos/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
+
+kcygnus_files="ChangeLog configure configure.in Makefile.in"
 if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
        for i in $kcygnus_files ; do
                if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
 if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
        for i in $kcygnus_files ; do
                if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
This page took 0.027888 seconds and 4 git commands to generate.