* Makefile.in (version.o): Depend upon Makefile, so that version.o
[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
08942d11 108demo64.c
97eb2f0c 109dep-in.sed
c3e964b9 110doc
dae31cf5 111ecoff.c
71efdf83 112ecofflink.c
dae31cf5 113ecoffswap.h
cef91d75 114elf.c
d39d83c1 115elf32-gen.c
c268b400
KR
116elf32-hppa.c
117elf32-hppa.h
4743848f
KR
118elf32-i386.c
119elf32-i860.c
120elf32-m68k.c
2c4f2c72
JK
121elf32-m88k.c
122elf32-mips.c
45ccfd58 123elf32-ppc.c
8d936d1f 124elf32-sparc.c
4743848f
KR
125elf32-target.h
126elf32.c
d39d83c1 127elf64-gen.c
66599384 128elf64-sparc.c
b864c03c 129elf64-target.h
4bf86ecb 130elf64.c
ef7e172e 131elfcode.h
08942d11 132filemode.c
6f715d66 133format.c
608de555 134gen-aout.c
da6b2d99
ILT
135genlink.h
136hash.c
08942d11 137host-aout.c
90c7c720 138hosts
c3e964b9 139hp300bsd.c
c268b400 140hp300hpux.c
cef91d75 141hppa_stubs.h
8a71bf96 142hppabsd-core.c
3f933620 143hpux-core.c
b7de6963 144i386aout.c
256b39e0 145i386bsd.c
bdf1b511 146i386dynix.c
afff60cd 147i386linux.c
aef0bd99 148i386lynx.c
890eafc0 149i386mach3.c
f8ffa548 150i386os9k.c
08942d11 151ieee.c
c3e964b9 152init.c
7ce1a446 153irix-core.c
141c97ea 154libaout.h
901c5bfd 155libbfd-in.h
08942d11
RP
156libbfd.c
157libbfd.h
901c5bfd 158libcoff-in.h
08942d11 159libcoff.h
a3b3dbdd 160libecoff.h
c3e964b9 161libelf.h
76b731f9 162libhppa.h
08942d11 163libieee.h
c3e964b9 164libnlm.h
08942d11 165liboasys.h
da6b2d99 166linker.c
3151f12f 167lynx-core.c
eefe075d 168m68klynx.c
56fbe889 169m88kmach3.c
346a6d59 170makefile.dos
044c1ba9 171mipsbsd.c
08942d11 172newsos3.c
fbd5481a 173netbsd386.c
e26e4fbc 174netbsd532.c
d1f83f44 175nlm-target.h
c3e964b9 176nlm.c
1bbabdad 177nlm32-alpha.c
8fa7a236 178nlm32-i386.c
7ce8b9d1 179nlm32-ppc.c
38f422db 180nlm32-sparc.c
c3e964b9 181nlm32.c
c3e964b9
FF
182nlm64.c
183nlmcode.h
38f422db 184nlmswap.h
08942d11
RP
185oasys.c
186opncls.c
4346ee0f 187osf-core.c
56fbe889 188pc532-mach.c
c236d8b3 189ptrace-core.c
6f715d66 190reloc.c
075caafd 191reloc16.c
6c3bc2b8 192riscix.c
cf15d9e9 193rs6000-core.c
6f715d66 194section.c
66eca5ee
JK
195som.c
196som.h
e3b5bfa8 197sparclynx.c
08942d11 198srec.c
7de245d3 199stab-syms.c
08942d11 200sunos.c
6f715d66 201syms.c
08942d11 202targets.c
a14b2941 203tekhex.c
08942d11 204trad-core.c
08942d11 205
87756e15
RP
206Things-to-lose:
207
775d4a40 208
08942d11
RP
209Do-last:
210
fbe3316a
SS
211mpwfiles="coffswap.h"
212if ( echo $* | grep keep\-mpw > /dev/null ) ; then
213 if [ -n "${verbose}" ] ; then
214 echo Keeping mpw stuff in $mpwfiles.
215 fi
216else
217 if [ -n "${verbose}" ]; then
218 echo -n Cleaning mpw in `pwd`:
219 fi
220 for f in $mpwfiles ; do
221 if [ -n "${verbose}" ] ; then
222 echo -n " " $f
223 fi
224 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
225 if [ -n "${safe}" ] ; then
226 mv $f .Recover
227 fi
228 mv new $f
229 done
230 chmod a+x config.bfd
231fi
232
e26e4fbc
KR
233i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
234if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
235 if [ -n "${verbose}" ] ; then
236 echo Keeping i960xl stuff in $i960xl_files.
237 fi
238else
239 if [ -n "${verbose}" ]; then
240 echo -n Cleaning i960xl in `pwd`:
241 fi
242 for f in $i960xl_files ; do
243 if [ -n "${verbose}" ] ; then
244 echo -n " " $f
245 fi
246 sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
247 if [ -n "${safe}" ] ; then
248 mv $f .Recover
249 fi
250 mv new $f
251 done
252fi
253
08942d11 254# End of file.
This page took 0.125243 seconds and 4 git commands to generate.