* remote-es.c (es1800_child_ops): Don't declare it static.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
a92c5906 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
14# done in this
15
16Do-first:
17
1bea1b6f
KR
18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="elf64-sparc.c"
f7df1b2b
FF
20else
21 lose_these_too="elf64-sparc.c"
1bea1b6f
KR
22fi
23
a92c5906 24if ( echo $* | grep keep\-mpw > /dev/null ) ; then
e4c7516b
SS
25 keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
26else
27 lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
28fi
29
30if ( echo $* | grep keep\-gm > /dev/null ) ; then
31 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
32else
33 lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
a92c5906
SS
34fi
35
99ec1f66
ILT
36if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
37 keep_these_too="nlm32-powerpc.c ${keep_these_too}"
38else
39 lose_these_too="nlm32-powerpc.c ${lose_these_too}"
40fi
41
08942d11
RP
42# All files listed between the "Things-to-keep:" line and the
43# "Files-to-sed:" line will be kept. All other files will be removed.
44# Directories listed in this section will have their own Sanitize
45# called. Directories not listed will be removed in their entirety
46# with rm -rf.
47
48Things-to-keep:
87756e15 49
08942d11
RP
50COPYING
51ChangeLog
ceeca31c 52ChangeLog.1
08942d11 53Makefile.in
c3e964b9 54PORTING
08942d11 55TODO
8c1891af 56VERSION
60ac749c 57aix386-core.c
c3e964b9
FF
58aout-adobe.c
59aout-encap.c
60aout-target.h
08942d11
RP
61aout32.c
62aout64.c
63aoutf1.h
08942d11
RP
64aoutx.h
65archive.c
66archures.c
901c5bfd 67bfd-in.h
b9653d81 68bfd-in2.h
08942d11 69bfd.c
08942d11
RP
70bout.c
71cache.c
e3b5bfa8
SS
72cf-i386lynx.c
73cf-m68klynx.c
74cf-sparclynx.c
156e3852 75coff-a29k.c
c3e964b9 76coff-alpha.c
97eb2f0c 77coff-apollo.c
71e34032 78coff-h8300.c
ff975a2c 79coff-h8500.c
156e3852
JG
80coff-i386.c
81coff-i960.c
c3e964b9 82coff-m68k.c
156e3852
JG
83coff-m88k.c
84coff-mips.c
85coff-rs6000.c
9faacb92 86coff-sh.c
e3b5bfa8 87coff-sparc.c
df61743d 88coff-u68k.c
c7551f76 89coff-we32k.c
d41ab714 90coff-z8k.c
08942d11 91coffcode.h
075caafd
ILT
92coffgen.c
93coffswap.h
fb1c4481 94config
14616002 95config.bfd
13b351cc 96configure.bat
5a5fa368 97configure.host
c3e964b9 98configure.in
6f715d66 99core.c
c3e964b9
FF
100cpu-a29k.c
101cpu-alpha.c
102cpu-h8300.c
103cpu-h8500.c
104cpu-hppa.c
105cpu-i386.c
106cpu-i960.c
107cpu-m68k.c
108cpu-m88k.c
109cpu-mips.c
384c1791 110cpu-powerpc.c
c3e964b9
FF
111cpu-rs6000.c
112cpu-sh.c
113cpu-sparc.c
114cpu-vax.c
115cpu-we32k.c
116cpu-z8k.c
117ctor.c
08942d11 118demo64.c
97eb2f0c 119dep-in.sed
c3e964b9 120doc
dae31cf5 121ecoff.c
71efdf83 122ecofflink.c
dae31cf5 123ecoffswap.h
cef91d75 124elf.c
d39d83c1 125elf32-gen.c
c268b400
KR
126elf32-hppa.c
127elf32-hppa.h
4743848f
KR
128elf32-i386.c
129elf32-i860.c
130elf32-m68k.c
2c4f2c72
JK
131elf32-m88k.c
132elf32-mips.c
99ec1f66 133elf32-powerpc.c
8d936d1f 134elf32-sparc.c
4743848f
KR
135elf32-target.h
136elf32.c
d39d83c1 137elf64-gen.c
b864c03c 138elf64-target.h
4bf86ecb 139elf64.c
ef7e172e 140elfcode.h
08942d11 141filemode.c
6f715d66 142format.c
608de555 143gen-aout.c
da6b2d99
ILT
144genlink.h
145hash.c
08942d11 146host-aout.c
90c7c720 147hosts
c3e964b9 148hp300bsd.c
c268b400 149hp300hpux.c
cef91d75 150hppa_stubs.h
8a71bf96 151hppabsd-core.c
3f933620 152hpux-core.c
b7de6963 153i386aout.c
256b39e0 154i386bsd.c
afff60cd 155i386linux.c
aef0bd99 156i386lynx.c
890eafc0 157i386mach3.c
08942d11 158ieee.c
c3e964b9 159init.c
7ce1a446 160irix-core.c
141c97ea 161libaout.h
901c5bfd 162libbfd-in.h
08942d11
RP
163libbfd.c
164libbfd.h
901c5bfd 165libcoff-in.h
08942d11 166libcoff.h
a3b3dbdd 167libecoff.h
c3e964b9 168libelf.h
76b731f9 169libhppa.h
08942d11 170libieee.h
c3e964b9 171libnlm.h
08942d11 172liboasys.h
da6b2d99 173linker.c
3151f12f 174lynx-core.c
eefe075d 175m68klynx.c
044c1ba9 176mipsbsd.c
08942d11 177newsos3.c
fbd5481a 178netbsd386.c
d1f83f44 179nlm-target.h
c3e964b9 180nlm.c
1bbabdad 181nlm32-alpha.c
8fa7a236 182nlm32-i386.c
38f422db 183nlm32-sparc.c
c3e964b9 184nlm32.c
c3e964b9
FF
185nlm64.c
186nlmcode.h
38f422db 187nlmswap.h
08942d11
RP
188oasys.c
189opncls.c
4346ee0f 190osf-core.c
c236d8b3 191ptrace-core.c
6f715d66 192reloc.c
075caafd 193reloc16.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
3d7de4c2 212v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
b9653d81 213if ( echo $* | grep keep\-v9 > /dev/null ) ; then
b864c03c
KR
214 if [ -n "${verbose}" ] ; then
215 echo Keeping v9 stuff in $v9files.
216 fi
b9653d81 217else
b864c03c 218 if [ -n "${verbose}" ]; then
1bea1b6f 219 echo -n Cleaning v9 in `pwd`:
b864c03c
KR
220 fi
221 for f in $v9files ; do
222 if [ -n "${verbose}" ] ; then
223 echo -n " " $f
224 fi
1bea1b6f 225 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
b864c03c 226 if [ -n "${safe}" ] ; then
1bea1b6f 227 mv $f .Recover
b864c03c
KR
228 fi
229 mv new $f
230 done
3ba17f70 231 chmod a+x config.bfd
b9653d81
KR
232fi
233
3ba17f70 234
fbe3316a
SS
235mpwfiles="coffswap.h"
236if ( echo $* | grep keep\-mpw > /dev/null ) ; then
237 if [ -n "${verbose}" ] ; then
238 echo Keeping mpw stuff in $mpwfiles.
239 fi
240else
241 if [ -n "${verbose}" ]; then
242 echo -n Cleaning mpw in `pwd`:
243 fi
244 for f in $mpwfiles ; do
245 if [ -n "${verbose}" ] ; then
246 echo -n " " $f
247 fi
248 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
249 if [ -n "${safe}" ] ; then
250 mv $f .Recover
251 fi
252 mv new $f
253 done
254 chmod a+x config.bfd
255fi
256
257
99ec1f66
ILT
258ppcfiles="ChangeLog Makefile.in configure.in config.bfd targets.c"
259if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
260 if [ -n "${verbose}" ] ; then
261 echo Keeping PowerPC NetWare stuff in $ppcfiles.
262 fi
263else
264 if [ -n "${verbose}" ]; then
265 echo -n Removing PowerPC NetWare in `pwd`:
266 fi
267 for f in $ppcfiles ; do
268 if [ -n "${verbose}" ] ; then
269 echo -n " " $f
270 fi
271 sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
272 if [ -n "${safe}" ] ; then
273 mv $f .Recover
274 fi
275 mv new $f
276 done
277 chmod a+x config.bfd
278fi
279
280
08942d11 281# End of file.
This page took 0.124297 seconds and 4 git commands to generate.