* Makefile.in (ALLDEPFILES): Add hpread.c.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
1 # .Sanitize for devo/gdb.
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 directory.
15
16 Do-first:
17
18 mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r ChangeLog.mpw"
19
20 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${mpw_files}
24 fi
25 else
26 lose_these_too="${mpw_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${mpw_files}
29 fi
30 fi
31
32 gm_files="mpw-xconfig.in mpw-init.c ChangeLog.gm"
33
34 if ( echo $* | grep keep\-gm > /dev/null ) ; then
35 keep_these_too="${gm_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${gm_files}
38 fi
39 else
40 lose_these_too="${gm_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${gm_files}
43 fi
44 fi
45
46 hpread_files="hpread.c ChangeLog.hpread"
47
48 if ( echo $* | grep keep\-hpread > /dev/null ) ; then
49 keep_these_too="${hpread_files} ${keep_these_too}"
50 if [ -n "${verbose}" ] ; then
51 echo Keeping ${hpread_files}
52 fi
53 else
54 lose_these_too="${hpread_files} ${lose_these_too}"
55 if [ -n "${verbose}" ] ; then
56 echo Deleting ${hpread_files}
57 fi
58 fi
59
60 # All files listed between the "Things-to-keep:" line and the
61 # "Files-to-sed:" line will be kept. All other files will be removed.
62 # Directories listed in this section will have their own Sanitize
63 # called. Directories not listed will be removed in their entirety
64 # with rm -rf.
65
66 Things-to-keep:
67
68 .gdbinit
69 29k-share
70 COPYING
71 ChangeLog
72 ChangeLog-3.x
73 ChangeLog-9091
74 ChangeLog-92
75 ChangeLog-93
76 Makefile.in
77 NEWS
78 Projects
79 README
80 TODO
81 a29k-pinsn.c
82 a29k-tdep.c
83 a68v-nat.c
84 alpha-nat.c
85 alpha-tdep.c
86 altos-xdep.c
87 annotate.c
88 annotate.h
89 arm-convert.s
90 arm-pinsn.c
91 arm-tdep.c
92 arm-xdep.c
93 blockframe.c
94 breakpoint.c
95 breakpoint.h
96 buildsym.c
97 buildsym.h
98 c-exp.y
99 c-lang.c
100 c-lang.h
101 c-typeprint.c
102 c-valprint.c
103 call-cmds.h
104 ch-exp.y
105 ch-lang.c
106 ch-lang.h
107 ch-typeprint.c
108 ch-valprint.c
109 coff-solib.c
110 coff-solib.h
111 coffread.c
112 command.c
113 command.h
114 complaints.c
115 complaints.h
116 config
117 configure.in
118 convex-pinsn.c
119 convex-tdep.c
120 convex-xdep.c
121 copying.awk
122 copying.c
123 core-sol2.c
124 core-svr4.c
125 core.c
126 coredep.c
127 corelow.c
128 cp-valprint.c
129 cxux-nat.c
130 dbxread.c
131 dcache.c
132 dcache.h
133 defs.h
134 delta68-nat.c
135 demangle.c
136 doc
137 dpx2-nat.c
138 dst.h
139 dstread.c
140 dwarfread.c
141 elfread.c
142 environ.c
143 environ.h
144 eval.c
145 exec.c
146 expprint.c
147 expression.h
148 findvar.c
149 fork-child.c
150 frame.h
151 gcc.patch
152 gdb-stabs.h
153 gdb.1
154 gdba.el
155 gdbcmd.h
156 gdbcore.h
157 gdbserver
158 gdbtk.c
159 gdbtk.tcl
160 gdbtypes.c
161 gdbtypes.h
162 go32-xdep.c
163 gould-pinsn.c
164 gould-xdep.c
165 h8300-tdep.c
166 h8500-tdep.c
167 hp300ux-nat.c
168 hppa-pinsn.c
169 hppa-tdep.c
170 hppab-nat.c
171 hppah-nat.c
172 i386-nlmstub.c
173 i386-pinsn.c
174 i386-stub.c
175 i386-tdep.c
176 i386aix-nat.c
177 i386b-nat.c
178 i386ly-tdep.c
179 i386m3-nat.c
180 i386mach-nat.c
181 i386v-nat.c
182 i386v4-nat.c
183 i387-tdep.c
184 i960-pinsn.c
185 i960-tdep.c
186 infcmd.c
187 inferior.h
188 inflow.c
189 infptrace.c
190 infrun.c
191 inftarg.c
192 irix4-nat.c
193 irix5-nat.c
194 isi-xdep.c
195 kdb-start.c
196 language.c
197 language.h
198 lynx-nat.c
199 m2-exp.y
200 m2-lang.c
201 m2-lang.h
202 m2-typeprint.c
203 m2-valprint.c
204 m3-nat.c
205 m68k-pinsn.c
206 m68k-stub.c
207 m68k-tdep.c
208 m88k-nat.c
209 m88k-pinsn.c
210 m88k-tdep.c
211 main.c
212 maint.c
213 mdebugread.c
214 mem-break.c
215 minimon.h
216 minsyms.c
217 mips-nat.c
218 mips-pinsn.c
219 mips-tdep.c
220 mipsm3-nat.c
221 mipsv4-nat.c
222 mipsread.c
223 monitor.h
224 news-xdep.c
225 nindy-share
226 nindy-tdep.c
227 nlmread.c
228 ns32k-opcode.h
229 ns32k-pinsn.c
230 ns32km3-nat.c
231 objfiles.c
232 objfiles.h
233 os9kread.c
234 osfsolib.c
235 parse.c
236 parser-defs.h
237 partial-stab.h
238 printcmd.c
239 procfs.c
240 ptx4-nat.c
241 pyr-pinsn.c
242 pyr-tdep.c
243 pyr-xdep.c
244 regex.c
245 regex.h
246 rem-multi.shar
247 remote-adapt.c
248 remote-bug.c
249 remote-e7000.c
250 remote-eb.c
251 remote-es.c
252 remote-hms.c
253 remote-mips.c
254 remote-mm.c
255 remote-mon.c
256 remote-nindy.c
257 remote-os9k.c
258 remote-sim.c
259 remote-sim.h
260 remote-st.c
261 remote-udi.c
262 remote-utils.c
263 remote-utils.h
264 remote-vx.c
265 remote-z8k.c
266 remote.c
267 rs6000-nat.c
268 rs6000-pinsn.c
269 rs6000-tdep.c
270 saber.suppress
271 ser-e7kpc.c
272 ser-go32.c
273 ser-tcp.c
274 ser-unix.c
275 serial.c
276 serial.h
277 sh-tdep.c
278 signals.h
279 solib.c
280 solib.h
281 somread.c
282 source.c
283 sp64-tdep.c
284 sparc-nat.c
285 sparc-pinsn.c
286 sparc-stub.c
287 sparc-tdep.c
288 sparcl-stub.c
289 sparcl-tdep.c
290 sparclite
291 stabsread.c
292 stabsread.h
293 stack.c
294 standalone.c
295 stop-gdb.c
296 stuff.c
297 sun3-nat.c
298 sun386-nat.c
299 symfile.c
300 symfile.h
301 symm-nat.c
302 symm-tdep.c
303 symmisc.c
304 symtab.c
305 symtab.h
306 tahoe-pinsn.c
307 target.c
308 target.h
309 terminal.h
310 testsuite
311 thread.c
312 thread.h
313 top.c
314 top.h
315 typeprint.c
316 typeprint.h
317 ultra3-nat.c
318 ultra3-xdep.c
319 umax-xdep.c
320 utils.c
321 valarith.c
322 valops.c
323 valprint.c
324 valprint.h
325 value.h
326 values.c
327 vax-pinsn.c
328 vx-share
329 xcoffexec.c
330 xcoffread.c
331 xcoffsolib.c
332 xcoffsolib.h
333 z8k-tdep.c
334
335
336 # Things which are explicitly *not* kept, for now.
337 # energize - Part of Lucid support.
338 # energize-patches - Part of Lucid support.
339 # energize.c - Part of Lucid support.
340 # energize.h - Part of Lucid support.
341 # remote-sa.sparc.c - Remote target for a standalone SPARC, using
342 # the FORTH console ROMs. We never got the paperwork
343 # straight, since Sun's lawyers messed with the
344 # FSF contract and RMS didn't accept the changes.
345 # Written at SunLabs.
346 # state.c - Not used at the moment, keep for reference (fnf)
347 # state.h - Not used at the moment, keep for reference (fnf)
348 # tests - Old test programs for GDB, pre-gdbtest and pre-
349 # DejaGnu.
350
351 Things-to-lose:
352
353 energize
354 energize-patches
355 energize.c
356 energize.h
357 remote-sa.sparc.c
358 state.c
359 state.h
360 tests
361
362 Do-last:
363
364 echo Removing traces of \"mpw\"...
365
366 # Don't try to clean directories here, as the 'mv' command will fail.
367 # Also, grep fails on NFS mounted directories.
368 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
369 for i in * ; do
370 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
371 echo Keeping mpw stuff in $i
372 fi
373 done
374 else
375 for i in * ; do
376 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
377 echo Removing traces of \"mpw\" out of $i...
378 cp $i new
379 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
380 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
381 echo Caching $i in .Recover...
382 mv $i .Recover
383 fi
384 mv new $i
385 fi
386 done
387 fi
388
389 echo Removing traces of \"hpread\"...
390
391 # Don't try to clean directories here, as the 'mv' command will fail.
392 # Also, grep fails on NFS mounted directories.
393 if ( echo $* | grep keep\-hpread > /dev/null ) ; then
394 for i in * ; do
395 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
396 echo Keeping hpread stuff in $i
397 fi
398 done
399 else
400 for i in * ; do
401 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
402 echo Removing traces of \"hpread\" out of $i...
403 cp $i new
404 sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
405 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
406 echo Caching $i in .Recover...
407 mv $i .Recover
408 fi
409 mv new $i
410 fi
411 done
412 fi
413
414
415 # End of file.
This page took 0.050838 seconds and 5 git commands to generate.