1994-01-05 05:18:15 +08:00
|
|
|
# .Sanitize for devo/gas/config
|
1991-05-24 02:10:40 +09:00
|
|
|
|
1994-01-05 05:18:15 +08:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1991-05-24 02:10:40 +09:00
|
|
|
# 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:
|
|
|
|
|
1995-05-02 14:46:21 +08:00
|
|
|
rce_files="tc-rce.c tc-rce.h"
|
1994-11-25 04:30:11 +08:00
|
|
|
|
1994-11-28 03:17:46 +08:00
|
|
|
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
|
|
|
keep_these_too="${rce_files} ${keep_these_too}"
|
1994-11-25 04:30:11 +08:00
|
|
|
else
|
1994-11-28 03:17:46 +08:00
|
|
|
lose_these_too="${rce_files} ${lose_these_too}"
|
1994-11-25 04:30:11 +08:00
|
|
|
fi
|
|
|
|
|
1995-05-02 14:46:21 +08:00
|
|
|
arc_files="tc-arc.c tc-arc.h"
|
1994-11-30 10:48:31 +08:00
|
|
|
|
|
|
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
|
|
keep_these_too="${arc_files} ${keep_these_too}"
|
|
|
|
else
|
|
|
|
lose_these_too="${arc_files} ${lose_these_too}"
|
|
|
|
fi
|
|
|
|
|
1991-05-24 02:10:40 +09: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-28 02:52:18 +08:00
|
|
|
aout_gnu.h
|
1994-01-28 09:37:02 +08:00
|
|
|
alpha-opcode.h
|
1995-05-19 06:21:18 +08:00
|
|
|
arm-big.mt
|
|
|
|
arm-lit.mt
|
1991-05-24 02:10:40 +09:00
|
|
|
atof-ieee.c
|
1992-12-08 17:30:28 +08:00
|
|
|
atof-tahoe.c
|
1991-05-24 02:10:40 +09:00
|
|
|
atof-vax.c
|
1994-11-05 05:43:00 +08:00
|
|
|
go32.cfg
|
1995-05-12 08:04:35 +08:00
|
|
|
e-mipsecoff.c
|
|
|
|
e-mipself.c
|
1992-09-12 06:02:52 +08:00
|
|
|
i386coff.mt
|
1992-09-10 02:38:16 +08:00
|
|
|
m68kcoff.mt
|
1992-07-24 02:23:44 +08:00
|
|
|
m88k-opcode.h
|
1993-07-16 00:35:23 +08:00
|
|
|
m88kcoff.mt
|
1993-03-10 00:12:44 +08:00
|
|
|
mips-big.mt
|
|
|
|
mips-lit.mt
|
1991-05-24 02:10:40 +09:00
|
|
|
obj-aout.c
|
|
|
|
obj-aout.h
|
|
|
|
obj-bout.c
|
|
|
|
obj-bout.h
|
|
|
|
obj-coff.c
|
|
|
|
obj-coff.h
|
1993-03-10 00:12:44 +08:00
|
|
|
obj-ecoff.c
|
|
|
|
obj-ecoff.h
|
1993-02-09 03:24:09 +08:00
|
|
|
obj-elf.c
|
|
|
|
obj-elf.h
|
1991-05-24 02:10:40 +09:00
|
|
|
obj-generic.c
|
|
|
|
obj-generic.h
|
1993-05-06 10:03:00 +08:00
|
|
|
obj-hp300.c
|
|
|
|
obj-hp300.h
|
1991-11-06 19:53:16 +08:00
|
|
|
obj-ieee.c
|
|
|
|
obj-ieee.h
|
1995-05-12 08:04:35 +08:00
|
|
|
obj-multi.c
|
|
|
|
obj-multi.h
|
1993-10-31 05:55:00 +08:00
|
|
|
obj-som.c
|
|
|
|
obj-som.h
|
1992-12-08 17:30:28 +08:00
|
|
|
obj-vms.c
|
|
|
|
obj-vms.h
|
1995-05-10 05:17:19 +08:00
|
|
|
ppc-big.mt
|
|
|
|
ppc-lit.mt
|
1991-05-24 02:10:40 +09:00
|
|
|
tc-a29k.c
|
|
|
|
tc-a29k.h
|
1994-01-28 09:37:02 +08:00
|
|
|
tc-alpha.c
|
|
|
|
tc-alpha.h
|
1994-09-10 02:35:11 +08:00
|
|
|
tc-arm.c
|
|
|
|
tc-arm.h
|
1991-05-24 02:10:40 +09:00
|
|
|
tc-generic.c
|
|
|
|
tc-generic.h
|
1991-11-06 19:53:16 +08:00
|
|
|
tc-h8300.c
|
|
|
|
tc-h8300.h
|
1993-02-05 04:47:48 +08:00
|
|
|
tc-h8500.c
|
|
|
|
tc-h8500.h
|
1993-05-06 10:03:00 +08:00
|
|
|
tc-hppa.c
|
|
|
|
tc-hppa.h
|
1991-05-24 02:10:40 +09: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-24 02:23:44 +08:00
|
|
|
tc-m88k.c
|
|
|
|
tc-m88k.h
|
1991-11-06 19:53:16 +08:00
|
|
|
tc-mips.c
|
|
|
|
tc-mips.h
|
1991-05-24 02:10:40 +09:00
|
|
|
tc-ns32k.c
|
|
|
|
tc-ns32k.h
|
1994-02-05 13:35:11 +08:00
|
|
|
tc-ppc.c
|
|
|
|
tc-ppc.h
|
1993-04-27 09:32:09 +08:00
|
|
|
tc-sh.c
|
|
|
|
tc-sh.h
|
1991-11-12 07:36:39 +08:00
|
|
|
tc-sparc.c
|
1992-02-13 18:13:24 +08:00
|
|
|
tc-sparc.h
|
1992-12-08 17:42:06 +08:00
|
|
|
tc-tahoe.c
|
|
|
|
tc-tahoe.h
|
1991-05-24 02:10:40 +09:00
|
|
|
tc-vax.c
|
|
|
|
tc-vax.h
|
1995-01-16 08:42:14 +08:00
|
|
|
tc-w65.c
|
|
|
|
tc-w65.h
|
1992-08-26 06:12:54 +08:00
|
|
|
tc-z8k.c
|
|
|
|
tc-z8k.h
|
1993-05-06 10:03:00 +08:00
|
|
|
te-386bsd.h
|
1994-11-10 03:57:37 +08:00
|
|
|
te-delta.h
|
1991-05-24 02:10:40 +09:00
|
|
|
te-dpx2.h
|
|
|
|
te-generic.h
|
1994-11-05 05:43:00 +08:00
|
|
|
te-go32.h
|
1993-05-06 10:03:00 +08:00
|
|
|
te-hp300.h
|
|
|
|
te-hppa.h
|
1992-07-24 02:23:44 +08:00
|
|
|
te-i386aix.h
|
1991-05-24 02:10:40 +09:00
|
|
|
te-ic960.h
|
1993-05-06 10:03:00 +08:00
|
|
|
te-linux.h
|
1993-09-29 04:20:27 +08:00
|
|
|
te-lynx.h
|
1994-02-19 06:04:40 +08:00
|
|
|
te-mach.h
|
1995-05-12 08:04:35 +08:00
|
|
|
te-multi.h
|
1994-11-05 00:44:58 +08:00
|
|
|
te-nbsd.h
|
1994-10-13 23:45:43 +08:00
|
|
|
te-nbsd532.h
|
1994-07-27 06:20:48 +08:00
|
|
|
te-pc532mach.h
|
1995-05-13 05:26:01 +08:00
|
|
|
te-pe.h
|
1994-11-05 05:43:00 +08:00
|
|
|
te-ppcnw.h
|
1991-05-24 02:10:40 +09:00
|
|
|
te-sco386.h
|
|
|
|
te-sun3.h
|
1992-02-13 18:13:24 +08:00
|
|
|
te-sysv32.h
|
1991-05-24 02:10:40 +09:00
|
|
|
vax-inst.h
|
1994-09-22 06:18:06 +08:00
|
|
|
vms-conf.h
|
1991-05-24 02:10:40 +09:00
|
|
|
|
1993-05-27 14:44:29 +08:00
|
|
|
Things-to-lose:
|
|
|
|
|
1991-05-24 02:10:40 +09:00
|
|
|
Do-last:
|
|
|
|
|
1994-07-27 06:20:48 +08:00
|
|
|
i960xl_files=tc-i960.c
|
|
|
|
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping i960xl stuff in $i960xl_files.
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo -n Cleaning i960xl in `pwd`:
|
|
|
|
fi
|
|
|
|
for f in $i960xl_files ; do
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo -n " " $f
|
|
|
|
fi
|
|
|
|
grep -v XL < $f > new
|
|
|
|
if [ -n "${safe}" ] ; then
|
|
|
|
mv $f .Recover
|
|
|
|
fi
|
|
|
|
mv new $f
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1991-05-24 02:10:40 +09:00
|
|
|
# End of file.
|