1991-05-23 17:10:40 +00:00
|
|
|
# Sanitize.in for devo.
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
# Each directory to survive it's 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.
|
|
|
|
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
|
|
# before anything else is done. Blank lines will also be squashed
|
|
|
|
# out.
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
|
|
|
|
1993-04-27 01:32:09 +00:00
|
|
|
|
1991-05-23 17:10:40 +00:00
|
|
|
# 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
|
|
|
|
# called. Directories not listed will be removed in their entirety
|
|
|
|
# with rm -rf.
|
|
|
|
|
|
|
|
Things-to-keep:
|
|
|
|
|
1992-02-27 18:52:18 +00:00
|
|
|
aout_gnu.h
|
1991-05-23 17:10:40 +00:00
|
|
|
atof-ieee.c
|
1992-02-18 10:13:57 +00:00
|
|
|
atof-ns32k.c
|
1992-12-08 09:30:28 +00:00
|
|
|
atof-tahoe.c
|
1991-05-23 17:10:40 +00:00
|
|
|
atof-vax.c
|
1992-02-27 18:52:18 +00:00
|
|
|
coff_gnu.h
|
1991-05-23 17:10:40 +00:00
|
|
|
cplus-dem.c
|
1992-07-23 18:23:44 +00:00
|
|
|
ebmon29k.mt
|
|
|
|
h8300.mt
|
1993-02-04 20:47:48 +00:00
|
|
|
h8500.mt
|
1992-07-23 18:23:44 +00:00
|
|
|
h8300hds.mt
|
1991-05-23 17:10:40 +00:00
|
|
|
ho-ansi.h
|
1993-03-23 13:37:15 +00:00
|
|
|
ho-decstatn.h
|
1991-05-23 17:10:40 +00:00
|
|
|
ho-generic.h
|
1992-02-22 00:24:13 +00:00
|
|
|
ho-go32.h
|
1991-05-23 17:10:40 +00:00
|
|
|
ho-hpux.h
|
|
|
|
ho-i386.h
|
1992-07-23 18:23:44 +00:00
|
|
|
ho-i386aix.h
|
1993-04-02 16:57:17 +00:00
|
|
|
ho-irix.h
|
1993-02-08 19:24:09 +00:00
|
|
|
ho-mipsbsd.h
|
1991-05-23 17:10:40 +00:00
|
|
|
ho-rs6000.h
|
|
|
|
ho-sun3.h
|
|
|
|
ho-sun386.h
|
|
|
|
ho-sun4.h
|
|
|
|
ho-sunos.h
|
|
|
|
ho-sysv.h
|
|
|
|
ho-vax.h
|
1992-12-08 09:30:28 +00:00
|
|
|
ho-vms.h
|
1992-09-11 22:02:52 +00:00
|
|
|
i386coff.mt
|
1992-07-23 18:23:44 +00:00
|
|
|
m68k.mt
|
1992-09-09 18:38:16 +00:00
|
|
|
m68kcoff.mt
|
1992-07-23 18:23:44 +00:00
|
|
|
m88k-opcode.h
|
|
|
|
m88k.patches
|
1993-03-09 16:12:44 +00:00
|
|
|
mips-big.mt
|
|
|
|
mips-lit.mt
|
1993-02-08 19:25:34 +00:00
|
|
|
mips-opcode.h
|
1991-05-23 17:10:40 +00:00
|
|
|
obj-aout.c
|
|
|
|
obj-aout.h
|
|
|
|
obj-bout.c
|
|
|
|
obj-bout.h
|
|
|
|
obj-coff.c
|
|
|
|
obj-coff.h
|
1991-12-12 03:34:31 +00:00
|
|
|
obj-coffbfd.c
|
|
|
|
obj-coffbfd.h
|
1993-03-09 16:12:44 +00:00
|
|
|
obj-ecoff.c
|
|
|
|
obj-ecoff.h
|
1993-02-08 19:24:09 +00:00
|
|
|
obj-elf.c
|
|
|
|
obj-elf.h
|
1991-05-23 17:10:40 +00:00
|
|
|
obj-generic.c
|
|
|
|
obj-generic.h
|
1993-05-06 02:03:00 +00:00
|
|
|
obj-hp300.c
|
|
|
|
obj-hp300.h
|
1991-11-06 11:53:16 +00:00
|
|
|
obj-ieee.c
|
|
|
|
obj-ieee.h
|
1992-12-08 09:30:28 +00:00
|
|
|
obj-vms.c
|
|
|
|
obj-vms.h
|
1993-04-27 01:32:09 +00:00
|
|
|
sh.mt
|
1992-08-31 00:27:23 +00:00
|
|
|
sparc.mt
|
1991-05-23 17:10:40 +00:00
|
|
|
tc-a29k.c
|
|
|
|
tc-a29k.h
|
|
|
|
tc-generic.c
|
|
|
|
tc-generic.h
|
1991-11-06 11:53:16 +00:00
|
|
|
tc-h8300.c
|
|
|
|
tc-h8300.h
|
1993-02-04 20:47:48 +00:00
|
|
|
tc-h8500.c
|
|
|
|
tc-h8500.h
|
1993-05-06 02:03:00 +00:00
|
|
|
tc-hppa.c
|
|
|
|
tc-hppa.h
|
1991-05-23 17:10:40 +00:00
|
|
|
tc-i386.c
|
|
|
|
tc-i386.h
|
|
|
|
tc-i860.c
|
|
|
|
tc-i860.h
|
|
|
|
tc-i960.c
|
|
|
|
tc-i960.h
|
|
|
|
tc-m68851.h
|
|
|
|
tc-m68k.c
|
|
|
|
tc-m68k.h
|
1992-07-23 18:23:44 +00:00
|
|
|
tc-m88k.c
|
|
|
|
tc-m88k.h
|
1991-11-06 11:53:16 +00:00
|
|
|
tc-mips.c
|
|
|
|
tc-mips.h
|
1991-05-23 17:10:40 +00:00
|
|
|
tc-ns32k.c
|
|
|
|
tc-ns32k.h
|
1993-04-27 01:32:09 +00:00
|
|
|
tc-sh.c
|
|
|
|
tc-sh.h
|
1991-11-11 23:36:39 +00:00
|
|
|
tc-sparc.c
|
1992-02-13 10:13:24 +00:00
|
|
|
tc-sparc.h
|
1992-12-08 09:42:06 +00:00
|
|
|
tc-tahoe.c
|
|
|
|
tc-tahoe.h
|
1991-05-23 17:10:40 +00:00
|
|
|
tc-vax.c
|
|
|
|
tc-vax.h
|
1992-08-25 22:12:54 +00:00
|
|
|
tc-z8k.c
|
|
|
|
tc-z8k.h
|
1993-05-06 02:03:00 +00:00
|
|
|
te-386bsd.h
|
1991-05-23 17:10:40 +00:00
|
|
|
te-dpx2.h
|
|
|
|
te-generic.h
|
1993-05-06 02:03:00 +00:00
|
|
|
te-hp300.h
|
|
|
|
te-hppa.h
|
1992-07-23 18:23:44 +00:00
|
|
|
te-i386aix.h
|
1991-05-23 17:10:40 +00:00
|
|
|
te-ic960.h
|
1993-04-05 16:44:21 +00:00
|
|
|
te-irix.h
|
1993-05-06 02:03:00 +00:00
|
|
|
te-linux.h
|
1991-05-23 17:10:40 +00:00
|
|
|
te-sco386.h
|
|
|
|
te-sun3.h
|
1992-02-13 10:13:24 +00:00
|
|
|
te-sysv32.h
|
1991-05-23 17:10:40 +00:00
|
|
|
vax-inst.h
|
1992-08-25 22:12:54 +00:00
|
|
|
z8k.mt
|
1991-05-23 17:10:40 +00:00
|
|
|
|
1991-11-06 09:14:33 +00:00
|
|
|
|
|
|
|
|
1991-05-23 17:10:40 +00:00
|
|
|
Do-last:
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
|
|
|
echo Keeping v9 stuff in tc-sparc.c.
|
|
|
|
else
|
|
|
|
echo Cleaning tc-sparc.c...
|
|
|
|
sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
|
1991-09-04 01:55:53 +00:00
|
|
|
if [ -n "${safe}" ] ; then
|
|
|
|
cp tc-sparc.c .Recover
|
|
|
|
fi
|
1991-05-23 17:10:40 +00:00
|
|
|
mv new tc-sparc.c
|
|
|
|
fi
|
|
|
|
|
|
|
|
# End of file.
|