NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:
[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
c768bd3f 56binary.c
08942d11
RP
57bout.c
58cache.c
e3b5bfa8
SS
59cf-i386lynx.c
60cf-m68klynx.c
61cf-sparclynx.c
5d70e4d1 62cisco-core.c
156e3852 63coff-a29k.c
c3e964b9 64coff-alpha.c
97eb2f0c 65coff-apollo.c
c06e55d9 66coff-go32.c
71e34032 67coff-h8300.c
ff975a2c 68coff-h8500.c
156e3852
JG
69coff-i386.c
70coff-i960.c
c3e964b9 71coff-m68k.c
156e3852
JG
72coff-m88k.c
73coff-mips.c
74coff-rs6000.c
9faacb92 75coff-sh.c
e3b5bfa8 76coff-sparc.c
df61743d 77coff-u68k.c
c7551f76 78coff-we32k.c
d41ab714 79coff-z8k.c
08942d11 80coffcode.h
075caafd 81coffgen.c
69645d10 82cofflink.c
075caafd 83coffswap.h
fb1c4481 84config
14616002 85config.bfd
13b351cc 86configure.bat
5a5fa368 87configure.host
c3e964b9 88configure.in
6f715d66 89core.c
c3e964b9
FF
90cpu-a29k.c
91cpu-alpha.c
6c3bc2b8 92cpu-arm.c
c3e964b9
FF
93cpu-h8300.c
94cpu-h8500.c
95cpu-hppa.c
96cpu-i386.c
97cpu-i960.c
98cpu-m68k.c
99cpu-m88k.c
100cpu-mips.c
e26e4fbc 101cpu-ns32k.c
384c1791 102cpu-powerpc.c
c3e964b9
FF
103cpu-rs6000.c
104cpu-sh.c
105cpu-sparc.c
106cpu-vax.c
107cpu-we32k.c
108cpu-z8k.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
a3f7a777 149i386netbsd.c
aef0bd99 150i386lynx.c
890eafc0 151i386mach3.c
f8ffa548 152i386os9k.c
08942d11 153ieee.c
c3e964b9 154init.c
7ce1a446 155irix-core.c
141c97ea 156libaout.h
901c5bfd 157libbfd-in.h
08942d11
RP
158libbfd.c
159libbfd.h
901c5bfd 160libcoff-in.h
08942d11 161libcoff.h
a3b3dbdd 162libecoff.h
c3e964b9 163libelf.h
76b731f9 164libhppa.h
08942d11 165libieee.h
c3e964b9 166libnlm.h
08942d11 167liboasys.h
da6b2d99 168linker.c
3151f12f 169lynx-core.c
eefe075d 170m68klynx.c
ec35a1c2 171m68knetbsd.c
56fbe889 172m88kmach3.c
346a6d59 173makefile.dos
044c1ba9 174mipsbsd.c
08942d11 175newsos3.c
a3f7a777 176netbsd.h
d1f83f44 177nlm-target.h
c3e964b9 178nlm.c
1bbabdad 179nlm32-alpha.c
8fa7a236 180nlm32-i386.c
7ce8b9d1 181nlm32-ppc.c
38f422db 182nlm32-sparc.c
c3e964b9 183nlm32.c
c3e964b9
FF
184nlm64.c
185nlmcode.h
38f422db 186nlmswap.h
a3f7a777 187ns32knetbsd.c
08942d11
RP
188oasys.c
189opncls.c
4346ee0f 190osf-core.c
56fbe889 191pc532-mach.c
c236d8b3 192ptrace-core.c
6f715d66 193reloc.c
075caafd 194reloc16.c
6c3bc2b8 195riscix.c
cf15d9e9 196rs6000-core.c
6f715d66 197section.c
66eca5ee
JK
198som.c
199som.h
e3b5bfa8 200sparclynx.c
a3f7a777 201sparcnetbsd.c
08942d11 202srec.c
7de245d3 203stab-syms.c
08942d11 204sunos.c
6f715d66 205syms.c
08942d11 206targets.c
a14b2941 207tekhex.c
08942d11 208trad-core.c
08942d11 209
87756e15
RP
210Things-to-lose:
211
775d4a40 212
08942d11
RP
213Do-last:
214
fbe3316a
SS
215mpwfiles="coffswap.h"
216if ( echo $* | grep keep\-mpw > /dev/null ) ; then
217 if [ -n "${verbose}" ] ; then
218 echo Keeping mpw stuff in $mpwfiles.
219 fi
220else
221 if [ -n "${verbose}" ]; then
222 echo -n Cleaning mpw in `pwd`:
223 fi
224 for f in $mpwfiles ; do
225 if [ -n "${verbose}" ] ; then
226 echo -n " " $f
227 fi
228 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
229 if [ -n "${safe}" ] ; then
230 mv $f .Recover
231 fi
232 mv new $f
233 done
234 chmod a+x config.bfd
235fi
236
e26e4fbc
KR
237i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
238if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
239 if [ -n "${verbose}" ] ; then
240 echo Keeping i960xl stuff in $i960xl_files.
241 fi
242else
243 if [ -n "${verbose}" ]; then
244 echo -n Cleaning i960xl in `pwd`:
245 fi
246 for f in $i960xl_files ; do
247 if [ -n "${verbose}" ] ; then
248 echo -n " " $f
249 fi
250 sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
251 if [ -n "${safe}" ] ; then
252 mv $f .Recover
253 fi
254 mv new $f
255 done
256fi
257
08942d11 258# End of file.
This page took 0.135753 seconds and 4 git commands to generate.