* elf32-ppc.c: Renamed from elf32-powerpc.c.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # .Sanitize for devo/bfd
2
3 # Each directory to survive its way into a release will need a file
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
16 Do-first:
17
18 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="elf64-sparc.c"
20 else
21 lose_these_too="elf64-sparc.c"
22 fi
23
24 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
25 keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
26 else
27 lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
28 fi
29
30 if ( echo $* | grep keep\-gm > /dev/null ) ; then
31 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
32 else
33 lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
34 fi
35
36 if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
37 keep_these_too="nlm32-ppc.c ${keep_these_too}"
38 else
39 lose_these_too="nlm32-ppc.c ${lose_these_too}"
40 fi
41
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
48 Things-to-keep:
49
50 COPYING
51 ChangeLog
52 ChangeLog.1
53 Makefile.in
54 PORTING
55 TODO
56 VERSION
57 aix386-core.c
58 aout-adobe.c
59 aout-encap.c
60 aout-target.h
61 aout32.c
62 aout64.c
63 aoutf1.h
64 aoutx.h
65 archive.c
66 archures.c
67 bfd-in.h
68 bfd-in2.h
69 bfd.c
70 bout.c
71 cache.c
72 cf-i386lynx.c
73 cf-m68klynx.c
74 cf-sparclynx.c
75 coff-a29k.c
76 coff-alpha.c
77 coff-apollo.c
78 coff-h8300.c
79 coff-h8500.c
80 coff-i386.c
81 coff-i960.c
82 coff-m68k.c
83 coff-m88k.c
84 coff-mips.c
85 coff-rs6000.c
86 coff-sh.c
87 coff-sparc.c
88 coff-u68k.c
89 coff-we32k.c
90 coff-z8k.c
91 coffcode.h
92 coffgen.c
93 coffswap.h
94 config
95 config.bfd
96 configure.bat
97 configure.host
98 configure.in
99 core.c
100 cpu-a29k.c
101 cpu-alpha.c
102 cpu-h8300.c
103 cpu-h8500.c
104 cpu-hppa.c
105 cpu-i386.c
106 cpu-i960.c
107 cpu-m68k.c
108 cpu-m88k.c
109 cpu-mips.c
110 cpu-powerpc.c
111 cpu-rs6000.c
112 cpu-sh.c
113 cpu-sparc.c
114 cpu-vax.c
115 cpu-we32k.c
116 cpu-z8k.c
117 ctor.c
118 demo64.c
119 dep-in.sed
120 doc
121 ecoff.c
122 ecofflink.c
123 ecoffswap.h
124 elf.c
125 elf32-gen.c
126 elf32-hppa.c
127 elf32-hppa.h
128 elf32-i386.c
129 elf32-i860.c
130 elf32-m68k.c
131 elf32-m88k.c
132 elf32-mips.c
133 elf32-ppc.c
134 elf32-sparc.c
135 elf32-target.h
136 elf32.c
137 elf64-gen.c
138 elf64-target.h
139 elf64.c
140 elfcode.h
141 filemode.c
142 format.c
143 gen-aout.c
144 genlink.h
145 hash.c
146 host-aout.c
147 hosts
148 hp300bsd.c
149 hp300hpux.c
150 hppa_stubs.h
151 hppabsd-core.c
152 hpux-core.c
153 i386aout.c
154 i386bsd.c
155 i386linux.c
156 i386lynx.c
157 i386mach3.c
158 ieee.c
159 init.c
160 irix-core.c
161 libaout.h
162 libbfd-in.h
163 libbfd.c
164 libbfd.h
165 libcoff-in.h
166 libcoff.h
167 libecoff.h
168 libelf.h
169 libhppa.h
170 libieee.h
171 libnlm.h
172 liboasys.h
173 linker.c
174 lynx-core.c
175 m68klynx.c
176 mipsbsd.c
177 newsos3.c
178 netbsd386.c
179 nlm-target.h
180 nlm.c
181 nlm32-alpha.c
182 nlm32-i386.c
183 nlm32-sparc.c
184 nlm32.c
185 nlm64.c
186 nlmcode.h
187 nlmswap.h
188 oasys.c
189 opncls.c
190 osf-core.c
191 ptrace-core.c
192 reloc.c
193 reloc16.c
194 rs6000-core.c
195 section.c
196 som.c
197 som.h
198 sparclynx.c
199 srec.c
200 stab-syms.c
201 sunos.c
202 syms.c
203 targets.c
204 tekhex.c
205 trad-core.c
206
207 Things-to-lose:
208
209
210 Do-last:
211
212 v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
213 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
214 if [ -n "${verbose}" ] ; then
215 echo Keeping v9 stuff in $v9files.
216 fi
217 else
218 if [ -n "${verbose}" ]; then
219 echo -n Cleaning v9 in `pwd`:
220 fi
221 for f in $v9files ; do
222 if [ -n "${verbose}" ] ; then
223 echo -n " " $f
224 fi
225 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/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
232 fi
233
234
235 mpwfiles="coffswap.h"
236 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
237 if [ -n "${verbose}" ] ; then
238 echo Keeping mpw stuff in $mpwfiles.
239 fi
240 else
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
255 fi
256
257
258 ppcfiles="ChangeLog Makefile.in configure.in config.bfd targets.c"
259 if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
260 if [ -n "${verbose}" ] ; then
261 echo Keeping PowerPC NetWare stuff in $ppcfiles.
262 fi
263 else
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
278 fi
279
280
281 # End of file.
This page took 0.074159 seconds and 5 git commands to generate.