-# Sanitize.in for devo.
-# $Id$
-#
+# Sanitize.in for devo/bfd.
# Each directory to survive it's way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
Do-first:
-echo Sanitizing `pwd`...
-
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# with rm -rf.
Things-to-keep:
-
COPYING
+PORTING
+doc
ChangeLog
+Makefile.dos
Makefile.in
TODO
-aout.c
+VERSION
aout32.c
aout64.c
aoutf1.h
-aoutx.c
aoutx.h
+aout-encap.c
+aout-target.h
archive.c
archures.c
-archures.h
-b.out.c
+bfd-in.h
bfd.c
-bfd.doc
bout.c
cache.c
-coff-code.h
+ctor.c
+coff-a29k.c
+coff-h8300.c
+coff-i386.c
+coff-i960.c
+coff-m68k.c
+coff-m88k.c
+coff-mips.c
+coff-msym.c
+coff-rs6000.c
+coff-we32k.c
+coff-z8k.c
coffcode.h
-coffish.h
-coffswap.c
config
-configure
+configure.bat
configure.in
-cplus-dem.c
+core.c
demo64.c
-ecoff.c
+elf.c
filemode.c
+format.c
+gen-aout.c
host-aout.c
-icoff.c
+hosts
+hppa.c
+i386aout.c
+i386linux.c
ieee.c
-liba.out.h
+libaout.h
+libbfd-in.h
+cpu-a29k.c
+cpu-i386.c
+cpu-m68k.c
+cpu-mips.c
+cpu-vax.c
+cpu-h8300.c
+cpu-hppa.c
+cpu-i960.c
+cpu-m88k.c
+cpu-rs6000.c
+cpu-we32k.c
+cpu-z8k.c
+hp300bsd.c
+init.c
+cpu-sparc.c
libbfd.c
libbfd.h
+libcoff-in.h
libcoff.h
+libhppa.h
libieee.h
liboasys.h
-m68kcoff.c
-m88k-bcs.c
-misc.h
newsos3.c
oasys.c
+opc-sparc.c
opncls.c
+reloc.c
+rs6000-core.c
+sco-core.c
+scripts
+seclet.c
+seclet.h
+section.c
srec.c
+stab-syms.c
sunos.c
+syms.c
targets.c
+tekhex.c
trad-core.c
trad-core.h
Do-last:
-echo Done in `pwd`.
+if ( echo $* | grep keep\-v9 > /dev/null ) ; then
+ echo Keeping v9 in aoutx.h opc-sparc.c
+else
+ echo Sanitizing v9 in aoutx.h
+ rm -f new
+ while grep -s start-sanitize-v9 aoutx.h ; do
+ sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
+ if [ -n "${safe}" ] ; then
+ mv aoutx.h .Recover
+ else
+ rm aoutx.h
+ fi
+ mv new aoutx.h
+ done
+ echo Sanitizing v9 in opc-sparc.c
+ rm -f new
+ grep -v v9 opc-sparc.c > new
+ if [ -n "${safe}" ] ; then
+ mv opc-sparc.c .Recover
+ else
+ rm opc-sparc.c
+ fi
+ mv new opc-sparc.c
+fi
-#
-#
-# $Log$
-# Revision 1.1 1991/05/23 21:14:00 rich
-# Initial revision
-#
-#
-#
+echo Done in `pwd`.
# End of file.