.Sanitize: Add 29k-share and sparclite.
[binutils-gdb.git] / gdb / .Sanitize
1 # .Sanitize for devo/gdb.
2
3 # Each directory to survive it's 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\-chill > /dev/null ) ; then
19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.c"
20 fi
21
22 # All files listed between the "Things-to-keep:" line and the
23 # "Files-to-sed:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
26 # with rm -rf.
27
28 Things-to-keep:
29
30 .gdbinit
31 29k-share
32 COPYING
33 ChangeLog
34 ChangeLog-3.x
35 ChangeLog-9091
36 Convex.notes
37 Makefile.in
38 NEWS
39 Projects
40 README
41 TODO
42 a68v-nat.c
43 alldeps.mak
44 alloca.c
45 altos-xdep.c
46 am29k-opcode.h
47 am29k-pinsn.c
48 am29k-tdep.c
49 arm-convert.s
50 arm-pinsn.c
51 arm-tdep.c
52 arm-xdep.c
53 blockframe.c
54 breakpoint.c
55 breakpoint.h
56 buildsym.c
57 buildsym.h
58 c-exp.y
59 c-lang.c
60 c-lang.h
61 c-typeprint.c
62 c-valprint.c
63 call-cmds.h
64 coffread.c
65 command.c
66 command.h
67 complaints.c
68 complaints.h
69 config
70 configure.in
71 convex-pinsn.c
72 convex-tdep.c
73 convex-xdep.c
74 convx-opcode.h
75 copying.awk
76 copying.c
77 core.c
78 coredep.c
79 corelow.c
80 cp-valprint.c
81 createtags
82 dbxread.c
83 defs.h
84 demangle.c
85 depend
86 doc
87 dwarfread.c
88 elfread.c
89 environ.c
90 environ.h
91 eval.c
92 exec.c
93 expprint.c
94 expression.h
95 findvar.c
96 fork-child.c
97 frame.h
98 gcc.patch
99 gdb-stabs.h
100 gdb.1
101 gdbcmd.h
102 gdbcore.h
103 gdbtypes.c
104 gdbtypes.h
105 go32-nat.c
106 go32-xdep.c
107 gould-pinsn.c
108 gould-xdep.c
109 h8300-tdep.c
110 hp300ux-nat.c
111 hppa-pinsn.c
112 hppab-core.c
113 hppab-nat.c
114 hppab-tdep.c
115 hppah-nat.c
116 hppah-tdep.c
117 i386-pinsn.c
118 i386-stub.c
119 i386-tdep.c
120 i386b-nat.c
121 i386mach-nat.c
122 i386v-nat.c
123 i386v4-nat.c
124 i387-tdep.c
125 i960-pinsn.c
126 i960-tdep.c
127 ieee-float.c
128 ieee-float.h
129 infcmd.c
130 inferior.h
131 inflow.c
132 infptrace.c
133 infrun.c
134 inftarg.c
135 irix4-nat.c
136 kdb-start.c
137 language.c
138 language.h
139 m2-exp.y
140 m2-lang.c
141 m2-lang.h
142 m2-typeprint.c
143 m2-valprint.c
144 m68k-pinsn.c
145 m68k-stub.c
146 m68k-tdep.c
147 m88k-nat.c
148 m88k-pinsn.c
149 m88k-tdep.c
150 main.c
151 maint.c
152 mem-break.c
153 minimon.h
154 minsyms.c
155 mips-nat.c
156 mips-pinsn.c
157 mips-tdep.c
158 mipsread.c
159 munch
160 news-xdep.c
161 nindy-share
162 nindy-tdep.c
163 nm-apollo68b.h
164 nm-apollo68v.h
165 nm-delta88.h
166 nm-hp300bsd.h
167 nm-hp300hpux.h
168 nm-hppab.h
169 nm-hppah.h
170 nm-i386bsd.h
171 nm-i386mach.h
172 nm-i386sco.h
173 nm-i386v.h
174 nm-i386v4.h
175 nm-irix3.h
176 nm-irix4.h
177 nm-linux.h
178 nm-m88k.h
179 nm-mips.h
180 nm-news.h
181 nm-rs6000.h
182 nm-sun2.h
183 nm-sun3.h
184 nm-sun386.h
185 nm-sun4os4.h
186 nm-sysv4.h
187 nm-trash.h
188 nm-ultra3.h
189 nm-umax.h
190 nm-vax.h
191 ns32k-opcode.h
192 ns32k-pinsn.c
193 objfiles.c
194 objfiles.h
195 os68k-xdep.c
196 paread.c
197 parse.c
198 parser-defs.h
199 partial-stab.h
200 printcmd.c
201 procfs.c
202 putenv.c
203 pyr-pinsn.c
204 pyr-tdep.c
205 pyr-xdep.c
206 regex.c
207 regex.h
208 rem-multi.shar
209 remote-adapt.c
210 remote-eb.c
211 remote-es1800.c
212 remote-hms.c
213 remote-mm.c
214 remote-nindy.c
215 remote-sim.c
216 remote-st2000.c
217 remote-udi.c
218 remote-vx.c
219 remote-z8k.c
220 remote.c
221 rs6000-nat.c
222 rs6000-pinsn.c
223 rs6000-tdep.c
224 saber.suppress
225 ser-bsd.c
226 ser-go32.c
227 ser-termios.c
228 serial.h
229 signals.h
230 solib.c
231 solib.h
232 source.c
233 sparc-nat.c
234 sparc-pinsn.c
235 sparc-stub.c
236 sparc-tdep.c
237 sparclite
238 stabsread.c
239 stabsread.h
240 stack.c
241 standalone.c
242 stuff.c
243 sun3-nat.c
244 sun386-nat.c
245 symfile.c
246 symfile.h
247 symm-tdep.c
248 symm-xdep.c
249 symmisc.c
250 symtab.c
251 symtab.h
252 tahoe-pinsn.c
253 target.c
254 target.h
255 terminal.h
256 tm-29k.h
257 tm-3b1.h
258 tm-68k-noun.h
259 tm-68k-un.h
260 tm-68k.h
261 tm-altos.h
262 tm-amix.h
263 tm-arm.h
264 tm-bigmips.h
265 tm-convex.h
266 tm-delta88.h
267 tm-es1800.h
268 tm-h8300.h
269 tm-hp300bsd.h
270 tm-hp300hpux.h
271 tm-hppa.h
272 tm-hppab.h
273 tm-hppah.h
274 tm-i386bsd.h
275 tm-i386v.h
276 tm-i386v4.h
277 tm-i960.h
278 tm-irix3.h
279 tm-isi.h
280 tm-linux.h
281 tm-m88k.h
282 tm-merlin.h
283 tm-mips.h
284 tm-news.h
285 tm-nindy960.h
286 tm-np1.h
287 tm-os68k.h
288 tm-pn.h
289 tm-pyr.h
290 tm-rs6000.h
291 tm-sparc.h
292 tm-spc-noun.h
293 tm-spc-un.h
294 tm-st2000.h
295 tm-stratus.h
296 tm-sun2.h
297 tm-sun2os4.h
298 tm-sun3.h
299 tm-sun386.h
300 tm-sun3os4.h
301 tm-sun4os4.h
302 tm-sun4sol2.h
303 tm-sunos.h
304 tm-symmetry.h
305 tm-sysv4.h
306 tm-tahoe.h
307 tm-ultra3.h
308 tm-umax.h
309 tm-vax.h
310 tm-vx68.h
311 tm-vx960.h
312 tm-z8k.h
313 typeprint.c
314 typeprint.h
315 ultra3-nat.c
316 ultra3-xdep.c
317 umax-xdep.c
318 utils.c
319 valarith.c
320 valops.c
321 valprint.c
322 valprint.h
323 value.h
324 values.c
325 vax-pinsn.c
326 vx-share
327 xcoffexec.c
328 xcoffread.c
329 xcoffsolib.c
330 xcoffsolib.h
331 xm-3b1.h
332 xm-altos.h
333 xm-amix.h
334 xm-apollo68b.h
335 xm-apollo68v.h
336 xm-arm.h
337 xm-bigmips.h
338 xm-convex.h
339 xm-delta88.h
340 xm-go32.h
341 xm-hp300bsd.h
342 xm-hp300hpux.h
343 xm-hppab.h
344 xm-hppah.h
345 xm-i386bsd.h
346 xm-i386mach.h
347 xm-i386sco.h
348 xm-i386v.h
349 xm-i386v32.h
350 xm-i386v4.h
351 xm-irix3.h
352 xm-irix4.h
353 xm-isi.h
354 xm-linux.h
355 xm-m68k.h
356 xm-m88k.h
357 xm-merlin.h
358 xm-mips.h
359 xm-news.h
360 xm-news1000.h
361 xm-np1.h
362 xm-pn.h
363 xm-pyr.h
364 xm-rs6000.h
365 xm-rtbsd.h
366 xm-sparc.h
367 xm-stratus.h
368 xm-sun2.h
369 xm-sun3.h
370 xm-sun386.h
371 xm-sun3os4.h
372 xm-sun4os4.h
373 xm-sun4sol2.h
374 xm-symmetry.h
375 xm-sysv4.h
376 xm-tahoe.h
377 xm-ultra3.h
378 xm-umax.h
379 xm-vax.h
380 xm-vaxbsd.h
381 xm-vaxult.h
382 z8k-tdep.c
383
384 Do-last:
385
386 echo Thawing away the \"chill\"...
387
388 # Don't try to clean directories here, as the 'mv' command will fail.
389 # Also, grep fails on NFS mounted directories.
390 if ( echo $* | grep keep\-chill > /dev/null ) ; then
391 for i in * ; do
392 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
393 echo Keeping chill stuff in $i
394 fi
395 done
396 else
397 for i in * ; do
398 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
399 echo Thawing the \"chill\" out of $i...
400 cp $i new
401 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
402 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
403 echo Caching $i in .Recover...
404 mv $i .Recover
405 fi
406 mv new $i
407 fi
408 done
409 echo Thawing the \"chill\" out of Makefile.in...
410 cp Makefile.in new
411 sed -e 's/$(srcdir)\/ch-exp.y//g' \
412 -e 's/${srcdir}\/ch-exp.y//g' \
413 -e 's/ch-exp.y//g' \
414 -e 's/ch-exp.tab.c//g' \
415 -e 's/ch-exp.tab.o//g' \
416 -e 's/ch-lang.h//g' \
417 -e 's/ch-lang.c//g' \
418 -e 's/ch-lang.o//g' \
419 -e 's/ch-typeprint.c//g' \
420 -e 's/ch-typeprint.o//g' \
421 -e 's/ch-valprint.c//g' \
422 -e 's/ch-valprint.o//g' \
423 < Makefile.in > new
424 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
425 echo Caching Makefile.in in .Recover...
426 mv Makefile.in .Recover
427 fi
428 mv new Makefile.in
429 fi
430
431 # End of file.