old-cross-binutils/bfd/.Sanitize

285 lines
4.8 KiB
Text
Raw Normal View History

1994-03-17 23:08:36 +00:00
# .Sanitize for devo/bfd.
1991-05-23 21:14:00 +00:00
# Each directory to survive its way into a release will need a file
1991-05-23 21:14:00 +00: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
1994-03-17 23:08:36 +00:00
# done in this directory.
1991-05-23 21:14:00 +00:00
Do-first:
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
keep_these_too="elf64-sparc.c"
else
lose_these_too="elf64-sparc.c"
fi
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
1994-01-11 01:15:02 +00:00
keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
else
lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
fi
if ( echo $* | grep keep\-gm > /dev/null ) ; then
1994-03-17 23:08:36 +00:00
keep_these_too="ChangeLog.gm ${keep_these_too}"
1994-01-11 01:15:02 +00:00
else
1994-03-17 23:08:36 +00:00
lose_these_too="ChangeLog.gm ${lose_these_too}"
fi
if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
keep_these_too="nlm32-ppc.c ${keep_these_too}"
else
lose_these_too="nlm32-ppc.c ${lose_these_too}"
fi
1991-05-23 21:14:00 +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:
1993-05-27 06:44:29 +00:00
1991-05-23 21:14:00 +00:00
COPYING
ChangeLog
1993-11-23 08:06:20 +00:00
ChangeLog.1
1991-05-23 21:14:00 +00:00
Makefile.in
PORTING
1991-05-23 21:14:00 +00:00
TODO
VERSION
aix386-core.c
aout-adobe.c
aout-encap.c
aout-target.h
1991-05-23 21:14:00 +00:00
aout32.c
aout64.c
aoutf1.h
aoutx.h
archive.c
archures.c
1991-08-22 07:20:49 +00:00
bfd-in.h
bfd-in2.h
1991-05-23 21:14:00 +00:00
bfd.c
bout.c
cache.c
1993-11-01 19:15:17 +00:00
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
cisco-core.c
coff-a29k.c
coff-alpha.c
coff-apollo.c
1991-11-27 16:58:22 +00:00
coff-h8300.c
1993-02-04 20:59:55 +00:00
coff-h8500.c
coff-i386.c
coff-i960.c
coff-m68k.c
coff-m88k.c
coff-mips.c
coff-rs6000.c
1993-04-27 01:17:32 +00:00
coff-sh.c
1993-11-01 19:15:17 +00:00
coff-sparc.c
coff-u68k.c
coff-we32k.c
coff-z8k.c
1991-05-23 21:14:00 +00:00
coffcode.h
coffgen.c
coffswap.h
1991-07-16 00:39:03 +00:00
config
1993-08-12 20:30:39 +00:00
config.bfd
1992-02-21 22:55:08 +00:00
configure.bat
configure.host
configure.in
1991-07-04 16:52:56 +00:00
core.c
cpu-a29k.c
cpu-alpha.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
cpu-i386.c
cpu-i960.c
cpu-m68k.c
cpu-m88k.c
cpu-mips.c
1994-02-08 00:35:31 +00:00
cpu-powerpc.c
cpu-rs6000.c
cpu-sh.c
cpu-sparc.c
cpu-vax.c
cpu-we32k.c
cpu-z8k.c
ctor.c
1991-05-23 21:14:00 +00:00
demo64.c
dep-in.sed
doc
ecoff.c
ecofflink.c
ecoffswap.h
1993-06-02 20:25:43 +00:00
elf.c
1993-07-20 18:12:53 +00:00
elf32-gen.c
1993-04-29 16:10:34 +00:00
elf32-hppa.c
elf32-hppa.h
1993-03-02 17:36:08 +00:00
elf32-i386.c
elf32-i860.c
elf32-m68k.c
elf32-m88k.c
elf32-mips.c
elf32-ppc.c
elf32-sparc.c
1993-03-02 17:36:08 +00:00
elf32-target.h
elf32.c
1993-07-20 18:12:53 +00:00
elf64-gen.c
1993-06-30 02:54:35 +00:00
elf64-target.h
1993-06-04 00:21:04 +00:00
elf64.c
elfcode.h
1991-05-23 21:14:00 +00:00
filemode.c
1991-07-04 16:52:56 +00:00
format.c
gen-aout.c
genlink.h
hash.c
1991-05-23 21:14:00 +00:00
host-aout.c
1991-10-15 07:29:13 +00:00
hosts
hp300bsd.c
1993-04-29 16:10:34 +00:00
hp300hpux.c
1993-06-02 20:25:43 +00:00
hppa_stubs.h
hppabsd-core.c
1993-07-22 19:40:46 +00:00
hpux-core.c
1991-10-08 22:31:52 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386linux.c
1993-05-24 21:04:09 +00:00
i386lynx.c
i386mach3.c
i386os9k.c
1991-05-23 21:14:00 +00:00
ieee.c
init.c
irix-core.c
libaout.h
1991-08-22 07:20:49 +00:00
libbfd-in.h
1991-05-23 21:14:00 +00:00
libbfd.c
libbfd.h
1991-08-22 07:20:49 +00:00
libcoff-in.h
1991-05-23 21:14:00 +00:00
libcoff.h
libecoff.h
libelf.h
1992-06-20 01:00:46 +00:00
libhppa.h
1991-05-23 21:14:00 +00:00
libieee.h
libnlm.h
1991-05-23 21:14:00 +00:00
liboasys.h
linker.c
1993-10-05 02:30:37 +00:00
lynx-core.c
1993-09-28 20:25:00 +00:00
m68klynx.c
1993-03-23 20:21:47 +00:00
mipsbsd.c
1991-05-23 21:14:00 +00:00
newsos3.c
netbsd386.c
nlm-target.h
nlm.c
nlm32-alpha.c
nlm32-i386.c
nlm32-sparc.c
nlm32.c
nlm64.c
nlmcode.h
nlmswap.h
1991-05-23 21:14:00 +00:00
oasys.c
opncls.c
osf-core.c
ptrace-core.c
1991-07-04 16:52:56 +00:00
reloc.c
reloc16.c
1992-03-02 06:39:32 +00:00
rs6000-core.c
1991-07-04 16:52:56 +00:00
section.c
1993-09-13 22:51:51 +00:00
som.c
som.h
1993-11-01 19:15:17 +00:00
sparclynx.c
1991-05-23 21:14:00 +00:00
srec.c
stab-syms.c
1991-05-23 21:14:00 +00:00
sunos.c
1991-07-04 16:52:56 +00:00
syms.c
1991-05-23 21:14:00 +00:00
targets.c
1992-04-18 04:38:26 +00:00
tekhex.c
1991-05-23 21:14:00 +00:00
trad-core.c
1993-05-27 06:44:29 +00:00
Things-to-lose:
1993-07-30 16:46:19 +00:00
1991-05-23 21:14:00 +00:00
Do-last:
1993-08-23 19:41:49 +00:00
v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
1993-06-30 02:54:35 +00:00
if [ -n "${verbose}" ] ; then
echo Keeping v9 stuff in $v9files.
fi
else
1993-06-30 02:54:35 +00:00
if [ -n "${verbose}" ]; then
echo -n Cleaning v9 in `pwd`:
1993-06-30 02:54:35 +00:00
fi
for f in $v9files ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
1993-06-30 02:54:35 +00:00
if [ -n "${safe}" ] ; then
mv $f .Recover
1993-06-30 02:54:35 +00:00
fi
mv new $f
done
1993-08-26 20:29:28 +00:00
chmod a+x config.bfd
fi
1993-08-26 20:29:28 +00:00
mpwfiles="coffswap.h"
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
if [ -n "${verbose}" ] ; then
echo Keeping mpw stuff in $mpwfiles.
fi
else
if [ -n "${verbose}" ]; then
echo -n Cleaning mpw in `pwd`:
fi
for f in $mpwfiles ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
if [ -n "${safe}" ] ; then
mv $f .Recover
fi
mv new $f
done
chmod a+x config.bfd
fi
ppcfiles="ChangeLog Makefile.in configure.in config.bfd targets.c"
if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
if [ -n "${verbose}" ] ; then
echo Keeping PowerPC NetWare stuff in $ppcfiles.
fi
else
if [ -n "${verbose}" ]; then
echo -n Removing PowerPC NetWare in `pwd`:
fi
for f in $ppcfiles ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
if [ -n "${safe}" ] ; then
mv $f .Recover
fi
mv new $f
done
chmod a+x config.bfd
fi
1991-05-23 21:14:00 +00:00
# End of file.