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