binutils-gdb/bfd/.Sanitize

282 lines
4.8 KiB
Plaintext
Raw Normal View History

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