HP host support
[deliverable/binutils-gdb.git] / bfd / .Sanitize
index 7c527afa377da90207e4ed81c893cdb1abc4a35a..1176981d339b8da728d1fb54ba66286b7795b217 100644 (file)
@@ -1,6 +1,4 @@
-# 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,
@@ -17,8 +15,6 @@
 
 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
@@ -26,9 +22,11 @@ echo Sanitizing `pwd`...
 # with rm -rf.
 
 Things-to-keep:
-
 COPYING
+PORTING
+doc
 ChangeLog
+Makefile.dos
 Makefile.in
 TODO
 VERSION
@@ -36,62 +34,99 @@ aout32.c
 aout64.c
 aoutf1.h
 aoutx.h
+aout-encap.c
+aout-target.h
 archive.c
 archures.c
-archures.h
+bfd-in.h
 bfd.c
-bfd.doc
 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
 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
-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
+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
 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
+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
+fi
 
-#
-#
-# $Log$
-# 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.
This page took 0.025204 seconds and 4 git commands to generate.