-# 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
Things-to-keep:
COPYING
-bfd.texinfo
+PORTING
+doc
ChangeLog
-Makefile
+Makefile.dos
Makefile.in
TODO
VERSION
aout64.c
aoutf1.h
aoutx.h
+aout-encap.c
+aout-target.h
archive.c
archures.c
-archures.h
+bfd-in.h
bfd.c
bout.c
cache.c
+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
-config.status
-configure
+config
+configure.bat
configure.in
core.c
demo64.c
-ecoff.c
+elf.c
filemode.c
format.c
+gen-aout.c
host-aout.c
-i386coff.c
-icoff.c
+hosts
+hppa.c
+i386aout.c
+i386linux.c
ieee.c
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
newsos3.c
-amdcoff.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.6 1991/07/16 00:35:56 steve
-# *** empty log message ***
-#
-# Revision 1.5 1991/07/15 23:32:40 steve
-# *** empty log message ***
-#
-# Revision 1.4 1991/07/04 16:52:54 steve
-# Now full of documentation. Yum Yum.
-#
-# Revision 1.3 1991/05/31 11:22:12 gnu
-# Remove coff-code.h and liba.out.h, add libaout.h.
-#
-# Revision 1.2 1991/05/29 02:40:08 gnu
-# Fix up .Sanitize file, remove files that are not referenced.
-#
-# Revision 1.1 1991/05/23 21:14:00 rich
-# Initial revision
-#
-#
-#
+echo Done in `pwd`.
# End of file.