X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/7ce1a44680ea33bd71621fa2498c74aeb146372e..fbcbb8c4d40eca2914165498f7645a2aa077afca:/bfd/.Sanitize diff --git a/bfd/.Sanitize b/bfd/.Sanitize index ef21acc763..10059dfd9c 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -1,6 +1,6 @@ -# Sanitize.in for devo/bfd. +# .Sanitize for devo/bfd. -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -11,14 +11,16 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: -if ( echo $* | grep keep\-v9 > /dev/null ) ; then - keep_these_too="elf64-sparc.c" +mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw" + +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + keep_these_too="${mpw_files} ${keep_these_too}" else - lose_these_too="elf64-sparc.c" + lose_these_too="${mpw_files} ${lose_these_too}" fi # All files listed between the "Things-to-keep:" line and the @@ -40,6 +42,7 @@ aix386-core.c aout-adobe.c aout-encap.c aout-target.h +aout0.c aout32.c aout64.c aoutf1.h @@ -54,9 +57,11 @@ cache.c cf-i386lynx.c cf-m68klynx.c cf-sparclynx.c +cisco-core.c coff-a29k.c coff-alpha.c coff-apollo.c +coff-go32.c coff-h8300.c coff-h8500.c coff-i386.c @@ -89,6 +94,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 @@ -111,16 +117,20 @@ elf32-i860.c elf32-m68k.c elf32-m88k.c elf32-mips.c +elf32-ppc.c elf32-sparc.c elf32-target.h elf32.c elf64-gen.c +elf64-sparc.c elf64-target.h elf64.c elfcode.h filemode.c format.c gen-aout.c +genlink.h +hash.c host-aout.c hosts hp300bsd.c @@ -130,9 +140,11 @@ hppabsd-core.c hpux-core.c i386aout.c i386bsd.c +i386dynix.c i386linux.c i386lynx.c i386mach3.c +i386os9k.c ieee.c init.c irix-core.c @@ -148,18 +160,20 @@ libhppa.h libieee.h libnlm.h liboasys.h +linker.c lynx-core.c m68klynx.c +makefile.dos mipsbsd.c newsos3.c netbsd386.c nlm-target.h nlm.c -nlm32-gen.c +nlm32-alpha.c nlm32-i386.c +nlm32-ppc.c nlm32-sparc.c nlm32.c -nlm64-gen.c nlm64.c nlmcode.h nlmswap.h @@ -170,8 +184,6 @@ ptrace-core.c reloc.c reloc16.c rs6000-core.c -seclet.c -seclet.h section.c som.c som.h @@ -189,20 +201,20 @@ Things-to-lose: Do-last: -v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd" -if ( echo $* | grep keep\-v9 > /dev/null ) ; then +mpwfiles="coffswap.h" +if ( echo $* | grep keep\-mpw > /dev/null ) ; then if [ -n "${verbose}" ] ; then - echo Keeping v9 stuff in $v9files. + echo Keeping mpw stuff in $mpwfiles. fi else if [ -n "${verbose}" ]; then - echo -n Cleaning v9 in `pwd`: + echo -n Cleaning mpw in `pwd`: fi - for f in $v9files ; do + for f in $mpwfiles ; do if [ -n "${verbose}" ] ; then echo -n " " $f fi - sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new + sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new if [ -n "${safe}" ] ; then mv $f .Recover fi @@ -211,5 +223,4 @@ else chmod a+x config.bfd fi - # End of file.