X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=.Sanitize;h=cec8a8918cf249285bca066f0dcb728f40e4c4cb;hb=d9eff006a5a83f6c59f6011a744d9e339668a3c8;hp=0af7aad1cfcb7f1cf59a80a10326ab26a721c61f;hpb=ff86eeb590ca82321a62acb7de92d52807623235;p=deliverable%2Fbinutils-gdb.git diff --git a/.Sanitize b/.Sanitize index 0af7aad1cf..cec8a8918c 100644 --- a/.Sanitize +++ b/.Sanitize @@ -48,17 +48,18 @@ Do-first: keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf apache bash - bfd binutils byacc cvs deja-gnu dejagnu diff dosrel dvips emacs emacs19 - examples expect fileutils findutils flex - gas gawk gcc gdb gdbm gdbtest glob gprof grep grez groff guile gzip - include inet install.sh ispell + 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 + include inet install-sh ispell ld less libg++ libgcc libgloss libiberty libio librx libstdc++ - m4 make mmalloc move-if-change newlib ncurses opcodes + m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes pagas patch perl prms rcs readline sed send-pr shellutils sim tar textutils time texinfo tgas utils uudecode wdiff xiberty configure.bat makeall.bat setup.com makefile.vms winsup - mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install" + mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install + ltconfig ltmain.sh missing ylwrap" lose_these_too="${lose_these_too} testsuite" @@ -70,7 +71,7 @@ else lose_these_too="${lose_these_too} ${cygnus_files}" fi -gdbtk_files="tcl tk" +gdbtk_files="tcl tk itcl tix" if ( echo $* | grep lose\-gdbtk > /dev/null) ; then lose_these_too="${lose_these_too} ${gdbtk_files}" @@ -105,6 +106,15 @@ else keep_these_too="${keep_these_too} ${inet_files}" fi +ide_files="itcl libide vmake" + +if (echo $* | grep keep\-ide > /dev/null); then + keep_these_too="${keep_these_too} ${ide_files}" + test -n "$verbose" && echo Keeping ${ide_files} +else + lose_these_too="${lose_these_too} ${ide_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 @@ -205,27 +215,27 @@ else fi if [ -n "${verbose}" ] ; then - echo Processing \"arc\"... + echo Processing \"d30v\"... fi -arc_files="config.sub configure.in config-ml.in" +d30v_files="ChangeLog config.sub configure.in" -if ( echo $* | grep keep\-arc > /dev/null ) ; then - for i in $arc_files ; do - if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then +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 [ -n "${verbose}" ] ; then - echo Keeping arc stuff in $i + echo Keeping d30v stuff in $i fi fi done else for i in * ; do - if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"arc\" from $i... + echo Removing traces of \"d30v\" from $i... fi cp $i new - sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new if [ -n "${safe}" -a ! -f .Recover/$i ] ; then if [ -n "${verbose}" ] ; then echo Caching $i in .Recover... @@ -238,27 +248,27 @@ else fi if [ -n "${verbose}" ] ; then - echo Processing \"d30v\"... + echo Processing \"v850\"... 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 - echo Keeping d30v stuff in $i + echo Keeping v850e stuff in $i 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 - echo Removing traces of \"d30v\" from $i... + echo Removing traces of \"v850e\" from $i... 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... @@ -270,28 +280,24 @@ else 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\-v850 > /dev/null ) ; then - for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850 $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 - echo Keeping v850 stuff in $i + echo Keeping r5900 stuff in $i fi fi done else for i in * ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850\" from $i... + echo Removing traces of \"r5900\" from $i... fi cp $i new - sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/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... @@ -303,24 +309,24 @@ else done fi -r5900_files="ChangeLog config.sub configure.in" +tx19_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\-tx19 > /dev/null ) ; then + for i in $tx19_files ; do + if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping r5900 stuff in $i + echo Keeping tx19 stuff in $i 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-tx19 $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"r5900\" from $i... + echo Removing traces of \"tx19\" from $i... fi cp $i new - sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new + sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/d' < $i > new if [ -n "${safe}" -a ! -f .Recover/$i ] ; then if [ -n "${verbose}" ] ; then echo Caching $i in .Recover... @@ -361,22 +367,6 @@ else done fi -if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then - echo Catering to RMS by removing traces of \"gdbtk\"... - if [ -n "${verbose}" ] ; then - echo Removing traces of \"gdbtk\" from Makefile.in... - fi - cp Makefile.in new - sed -e '/GDBTK_SUPPORT_DIRS=/d' -e 's/ $(GDBTK_SUPPORT_DIRS)//' < Makefile.in > new - if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then - if [ -n "${verbose}" ] ; then - echo Caching Makefile.in in .Recover... - fi - mv Makefile.in .Recover - fi - mv new Makefile.in -fi - if ( echo $* | grep keep\-gm > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then @@ -404,6 +394,49 @@ else done fi +if ( echo $* | grep keep\-ide > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping ide stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"ide\" from $i... + fi + cp $i new + sed '/start\-sanitize\-ide/,/end-\sanitize\-ide/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 + +if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then + echo Catering to RMS by removing traces of \"gdbtk\"... + if [ -n "${verbose}" ] ; then + echo Removing traces of \"gdbtk\" from Makefile.in... + fi + cp Makefile.in new + sed -e '/GDBTK_SUPPORT_DIRS=/d' -e 's/ $(GDBTK_SUPPORT_DIRS)//' < Makefile.in > new + if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then + if [ -n "${verbose}" ] ; then + echo Caching Makefile.in in .Recover... + fi + mv Makefile.in .Recover + fi + mv new Makefile.in +fi + # Do this check LAST! for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then