keep arm files
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
8b0f1c20 1# .Sanitize for devo/bfd.
08942d11 2
a92c5906 3# Each directory to survive its way into a release will need a file
08942d11
RP
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
8b0f1c20 14# done in this directory.
08942d11
RP
15
16Do-first:
17
75c8a303 18mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw"
e4c7516b 19
75c8a303
SS
20if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
e4c7516b 22else
75c8a303 23 lose_these_too="${mpw_files} ${lose_these_too}"
a92c5906
SS
24fi
25
08942d11
RP
26# All files listed between the "Things-to-keep:" line and the
27# "Files-to-sed:" line will be kept. All other files will be removed.
28# Directories listed in this section will have their own Sanitize
29# called. Directories not listed will be removed in their entirety
30# with rm -rf.
31
32Things-to-keep:
87756e15 33
08942d11
RP
34COPYING
35ChangeLog
ceeca31c 36ChangeLog.1
08942d11 37Makefile.in
c3e964b9 38PORTING
08942d11 39TODO
8c1891af 40VERSION
60ac749c 41aix386-core.c
c3e964b9
FF
42aout-adobe.c
43aout-encap.c
56fbe889 44aout-ns32k.c
c3e964b9 45aout-target.h
77d11284 46aout0.c
08942d11
RP
47aout32.c
48aout64.c
49aoutf1.h
08942d11
RP
50aoutx.h
51archive.c
52archures.c
901c5bfd 53bfd-in.h
b9653d81 54bfd-in2.h
08942d11 55bfd.c
08942d11
RP
56bout.c
57cache.c
e3b5bfa8
SS
58cf-i386lynx.c
59cf-m68klynx.c
60cf-sparclynx.c
5d70e4d1 61cisco-core.c
156e3852 62coff-a29k.c
c3e964b9 63coff-alpha.c
97eb2f0c 64coff-apollo.c
c06e55d9 65coff-go32.c
71e34032 66coff-h8300.c
ff975a2c 67coff-h8500.c
156e3852
JG
68coff-i386.c
69coff-i960.c
c3e964b9 70coff-m68k.c
156e3852
JG
71coff-m88k.c
72coff-mips.c
73coff-rs6000.c
9faacb92 74coff-sh.c
e3b5bfa8 75coff-sparc.c
df61743d 76coff-u68k.c
c7551f76 77coff-we32k.c
d41ab714 78coff-z8k.c
08942d11 79coffcode.h
075caafd 80coffgen.c
69645d10 81cofflink.c
075caafd 82coffswap.h
fb1c4481 83config
14616002 84config.bfd
13b351cc 85configure.bat
5a5fa368 86configure.host
c3e964b9 87configure.in
6f715d66 88core.c
c3e964b9
FF
89cpu-a29k.c
90cpu-alpha.c
6c3bc2b8 91cpu-arm.c
c3e964b9
FF
92cpu-h8300.c
93cpu-h8500.c
94cpu-hppa.c
95cpu-i386.c
96cpu-i960.c
97cpu-m68k.c
98cpu-m88k.c
99cpu-mips.c
e26e4fbc 100cpu-ns32k.c
384c1791 101cpu-powerpc.c
c3e964b9
FF
102cpu-rs6000.c
103cpu-sh.c
104cpu-sparc.c
105cpu-vax.c
106cpu-we32k.c
107cpu-z8k.c
108ctor.c
08942d11 109demo64.c
97eb2f0c 110dep-in.sed
c3e964b9 111doc
dae31cf5 112ecoff.c
71efdf83 113ecofflink.c
dae31cf5 114ecoffswap.h
cef91d75 115elf.c
d39d83c1 116elf32-gen.c
c268b400
KR
117elf32-hppa.c
118elf32-hppa.h
4743848f
KR
119elf32-i386.c
120elf32-i860.c
121elf32-m68k.c
2c4f2c72
JK
122elf32-m88k.c
123elf32-mips.c
45ccfd58 124elf32-ppc.c
8d936d1f 125elf32-sparc.c
4743848f
KR
126elf32-target.h
127elf32.c
d39d83c1 128elf64-gen.c
66599384 129elf64-sparc.c
b864c03c 130elf64-target.h
4bf86ecb 131elf64.c
ef7e172e 132elfcode.h
08942d11 133filemode.c
6f715d66 134format.c
608de555 135gen-aout.c
da6b2d99
ILT
136genlink.h
137hash.c
08942d11 138host-aout.c
90c7c720 139hosts
c3e964b9 140hp300bsd.c
c268b400 141hp300hpux.c
cef91d75 142hppa_stubs.h
8a71bf96 143hppabsd-core.c
3f933620 144hpux-core.c
b7de6963 145i386aout.c
256b39e0 146i386bsd.c
bdf1b511 147i386dynix.c
afff60cd 148i386linux.c
aef0bd99 149i386lynx.c
890eafc0 150i386mach3.c
f8ffa548 151i386os9k.c
08942d11 152ieee.c
c3e964b9 153init.c
7ce1a446 154irix-core.c
141c97ea 155libaout.h
901c5bfd 156libbfd-in.h
08942d11
RP
157libbfd.c
158libbfd.h
901c5bfd 159libcoff-in.h
08942d11 160libcoff.h
a3b3dbdd 161libecoff.h
c3e964b9 162libelf.h
76b731f9 163libhppa.h
08942d11 164libieee.h
c3e964b9 165libnlm.h
08942d11 166liboasys.h
da6b2d99 167linker.c
3151f12f 168lynx-core.c
eefe075d 169m68klynx.c
56fbe889 170m88kmach3.c
346a6d59 171makefile.dos
044c1ba9 172mipsbsd.c
08942d11 173newsos3.c
fbd5481a 174netbsd386.c
e26e4fbc 175netbsd532.c
d1f83f44 176nlm-target.h
c3e964b9 177nlm.c
1bbabdad 178nlm32-alpha.c
8fa7a236 179nlm32-i386.c
7ce8b9d1 180nlm32-ppc.c
38f422db 181nlm32-sparc.c
c3e964b9 182nlm32.c
c3e964b9
FF
183nlm64.c
184nlmcode.h
38f422db 185nlmswap.h
08942d11
RP
186oasys.c
187opncls.c
4346ee0f 188osf-core.c
56fbe889 189pc532-mach.c
c236d8b3 190ptrace-core.c
6f715d66 191reloc.c
075caafd 192reloc16.c
6c3bc2b8 193riscix.c
cf15d9e9 194rs6000-core.c
6f715d66 195section.c
66eca5ee
JK
196som.c
197som.h
e3b5bfa8 198sparclynx.c
08942d11 199srec.c
7de245d3 200stab-syms.c
08942d11 201sunos.c
6f715d66 202syms.c
08942d11 203targets.c
a14b2941 204tekhex.c
08942d11 205trad-core.c
08942d11 206
87756e15
RP
207Things-to-lose:
208
775d4a40 209
08942d11
RP
210Do-last:
211
fbe3316a
SS
212mpwfiles="coffswap.h"
213if ( echo $* | grep keep\-mpw > /dev/null ) ; then
214 if [ -n "${verbose}" ] ; then
215 echo Keeping mpw stuff in $mpwfiles.
216 fi
217else
218 if [ -n "${verbose}" ]; then
219 echo -n Cleaning mpw in `pwd`:
220 fi
221 for f in $mpwfiles ; do
222 if [ -n "${verbose}" ] ; then
223 echo -n " " $f
224 fi
225 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
226 if [ -n "${safe}" ] ; then
227 mv $f .Recover
228 fi
229 mv new $f
230 done
231 chmod a+x config.bfd
232fi
233
e26e4fbc
KR
234i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
235if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
236 if [ -n "${verbose}" ] ; then
237 echo Keeping i960xl stuff in $i960xl_files.
238 fi
239else
240 if [ -n "${verbose}" ]; then
241 echo -n Cleaning i960xl in `pwd`:
242 fi
243 for f in $i960xl_files ; do
244 if [ -n "${verbose}" ] ; then
245 echo -n " " $f
246 fi
247 sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
248 if [ -n "${safe}" ] ; then
249 mv $f .Recover
250 fi
251 mv new $f
252 done
253fi
254
08942d11 255# End of file.
This page took 0.122734 seconds and 4 git commands to generate.