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