Removed obsolete Makefile.dos.
[binutils-gdb.git] / ld / .Sanitize
1 # Sanitize.in for devo.
2 # $Id$
3 #
4
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
9
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
12 # out.
13
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
16 # done in this
17
18 Do-first:
19
20 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
21 keep_these_too=""
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31 ChangeLog
32 Makefile.in
33 README
34 TODO
35 a29k.sc-sh
36 a29k.sh
37 aout.sc-sh
38 aout-mipsbsd.sc-sh
39 cdtest-foo.cc
40 cdtest-foo.h
41 cdtest-func.cc
42 cdtest-main.cc
43 cdtest.exp
44 config
45 config.h
46 configure.bat
47 configure.in
48 ebmon29k.sc-sh
49 ebmon29k.sh
50 generic.em
51 genscripts.sh
52 ld.1
53 gld960.em
54 gld960.sh
55 go32.sh
56 hp300bsd.sh
57 h8300hms.em
58 h8300hms.sc-sh
59 h8300hms.sh
60 h8300xray.em
61 h8300xray.sc-sh
62 h8300xray.sh
63 i386aout.sh
64 i386bsd.sh
65 i386coff.sc-sh
66 i386coff.sh
67 i960.sc-sh
68 ld.h
69 ld.texinfo
70 ldctor.c
71 ldctor.h
72 ldemul.c
73 ldemul.h
74 lderror.c
75 lderror.h
76 ldexp.c
77 ldexp.h
78 ldfile.c
79 ldfile.h
80 ldgram.y
81 ldindr.c
82 ldindr.h
83 ldint.texinfo
84 ldlang.c
85 ldlang.h
86 ldlex.h
87 ldlex.l
88 ldmain.c
89 ldmain.h
90 ldmisc.c
91 ldmisc.h
92 ldsym.c
93 ldsym.h
94 ldver.c
95 ldver.h
96 ldwarn.c
97 ldwarn.h
98 ldwrite.c
99 ldwrite.h
100 lexsup.c
101 lnk960.em
102 lnk960.sh
103 m68kcoff.sc-sh
104 m68kcoff.sh
105 m88kbcs.sc-sh
106 m88kbcs.sh
107 mips.sc-sh
108 mipsbig.sh
109 mipsbsd.sh
110 mipsidt.sh
111 mipslit.sh
112 mri.c
113 mri.h
114 go32.sh
115 mkscript.c
116 news.sh
117 relax.c
118 relax.h
119 st2000.em
120 st2000.sc-sh
121 st2000.sh
122 sa29200.sc-sh
123 sa29200.sh
124 scripts
125 sun3.sh
126 sun4.sh
127 vanilla.em
128 vanilla.sc-sh
129 vanilla.sh
130 z8ksim.em
131 z8ksim.sc-sh
132 z8ksim.sh
133
134 Do-last:
135
136 echo Looking for signs of \"v9\"...
137
138 # Don't try to clean directories here, as the 'mv' command will fail.
139 # Also, grep fails on NFS mounted directories.
140 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
141 for i in * ; do
142 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
143 echo Keeping v9 stuff in $i
144 fi
145 done
146 else
147 for i in * ; do
148 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
149 echo Cleaning the \"v9\" out of $i...
150 cp $i new
151 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
152 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
153 echo Caching $i in .Recover...
154 mv $i .Recover
155 fi
156 mv new $i
157 fi
158 done
159 fi
160
161 #
162 #
163 # $Log$
164 # Revision 1.54 1993/03/09 18:12:14 ian
165 # Removed obsolete Makefile.dos.
166 #
167 # Revision 1.53 1993/03/04 20:49:05 ian
168 # * mips.sc-sh: Added variables which may be overridden by a
169 # specific emulation.
170 # * mipsidt.sh: New file; emulation for IDT MIPS board.
171 # * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
172 # (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
173 # * config/mips-idt.mt: New file; sets EMUL to mipsidt.
174 # * configure.in (mips-idt-ecoff): New target; uses mips-idt.
175 #
176 # Revision 1.52 1993/02/28 14:42:15 raeburn
177 # mips-bsd and 386bsd support
178 #
179 # Revision 1.51 1993/02/26 18:53:13 dje
180 # Added initial sparc-v9 support.
181 #
182 # Revision 1.50 1993/02/13 10:15:14 zoo
183 # removing excess verbosity
184 #
185 # Revision 1.49 1993/02/03 17:11:08 ian
186 # Keep forgetting those .Sanitize files.
187 #
188 # Revision 1.48 1993/01/22 22:30:34 ian
189 # Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
190 #
191 # * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
192 # targets, linker script.
193 # * mipslit.sh: New file. Little endian MIPS emulation.
194 # * config/mips-lit.mt: New file. Use mipslit emulation.
195 # * configure.in (mips-dec-ultrix*): Use target mips-lit.
196 # * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
197 # (em_mipslit.c): New target. Uses mipslit.sh.
198 #
199 # Revision 1.47 1992/09/25 18:10:41 sac
200 # Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
201 #
202 # Added initial support for the z8k
203 # * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
204 # * configure.in, Makefile.in: modified to reflect above
205 #
206 # * ldlang.c (lang_check): when linking conflicting architectures,
207 # make the output file reflect at least one of the bad inputs.
208 #
209 # Revision 1.46 1992/09/11 20:43:30 sac
210 # Sanitize slip
211 #
212 # Revision 1.45 1992/09/11 17:47:22 sac
213 # Add i386coff.sh
214 #
215 # Revision 1.44 1992/09/09 18:59:04 ian
216 # Brought in from p3. If anybody knows good numbers for m68k COFF,
217 # please let me know, or plug them in yourself.
218 #
219 # Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
220 #
221 # * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
222 # added m68k-coff emulation mode, stolen from a29k emulation.
223 # Almost certainly wrong, but perhaps better than sun3.
224 #
225 # Also fixed an error message in configure.in so that it started with
226 # '***' like the other error messages do.
227 #
228 # Revision 1.43 1992/09/03 22:56:45 bothner
229 # Add TODO.
230 #
231 # Revision 1.42 1992/09/01 22:14:49 bothner
232 # Add scripts.
233 #
234 # Revision 1.41 1992/08/31 01:14:44 bothner
235 # * cplus-dem.c: Removed. Use the version in libiberty now.
236 # * ldmisc.c: Use new libiberty version of cplus_demangle().
237 #
238 # Revision 1.40 1992/08/17 18:35:55 pesch
239 # Use new name of man page (ld.1).
240 #
241 # Revision 1.39 1992/08/07 01:37:34 bothner
242 # * ldint.texinfo: New internals manual (beginnings thereof).
243 # * PORTING: Removed, merged into ldint.texinfo.
244 #
245 # Revision 1.38 1992/08/05 04:15:24 bothner
246 # * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
247 # cdtest.exp: A test program (copied from libg++/test-install)
248 # that tests that constructor and destructors are handled
249 # corrrectly.
250 #
251 # Revision 1.37 1992/05/02 02:08:16 sac
252 # New stuff for 29200
253 #
254 # Revision 1.36 1992/05/01 22:08:40 sac
255 # Add mri.h
256 #
257 # Revision 1.35 1992/04/17 15:59:22 sac
258 # * relax.c: added handling for new "padding" seclet type, used to
259 # fill out gaps between section.
260 # * ldgram.y, ldlex.l: now -defsym on the command line is done
261 # properly.
262 #
263 # Revision 1.34 1992/04/15 23:11:53 sac
264 # added mri.c
265 #
266 # Revision 1.33 1992/04/05 01:46:05 sac
267 # New lexer.
268 #
269 # New targets for h8/300 simulator and DOS
270 #
271 # Revision 1.32 1992/03/07 18:32:27 sac
272 # *** empty log message ***
273 #
274 # Revision 1.31 1992/02/27 17:23:59 sac
275 # Why didn't it start emacs
276 #
277 # Revision 1.30 1992/02/22 00:11:38 sac
278 # DJ naming change
279 #
280 # Revision 1.29 1992/02/16 20:49:26 bothner
281 # *** empty log message ***
282 #
283 # Revision 1.28 1992/02/07 22:32:29 hgs
284 # added h8300hms.c and h8300hms.sc
285 #
286 # Revision 1.27 1992/01/29 16:44:08 sac
287 # ldlnk960.c: Special #ifdef to choose little endian ony
288 # ldgram.y: allow forward ref of section
289 #
290 # Revision 1.26 1992/01/24 22:35:55 sac
291 # .Sanitize: added relax.c
292 # ldsym.c ldlang.* more map stuff
293 #
294 # Revision 1.25 1991/12/12 03:42:08 sac
295 # New dos files
296 #
297 # Revision 1.24 1991/12/08 01:27:59 sac
298 # *** empty log message ***
299 #
300 # Revision 1.23 1991/11/15 21:09:49 bothner
301 # Remove ldgld.c, ldgld68k.c, ldm88k.c, since these are
302 # now automatically generated.
303 #
304 # Revision 1.22 1991/11/06 09:26:59 sac
305 # Added three files which had been forgotten
306 #
307 # Revision 1.21 1991/11/05 21:56:06 sac
308 # *** empty log message ***
309 #
310 # Revision 1.20 1991/11/05 20:36:54 sac
311 # *** empty log message ***
312 #
313 # Revision 1.19 1991/11/04 00:46:44 steve
314 # i386 aout changes from Bob Kukura
315 #
316 # Revision 1.18 1991/10/12 06:43:01 bothner
317 # Fixed typo.
318 #
319 # Revision 1.17 1991/10/11 19:31:38 steve
320 # *** empty log message ***
321 #
322 # Revision 1.16 1991/10/10 11:59:25 rich
323 # updating
324 #
325 # Revision 1.15 1991/10/09 20:40:37 bothner
326 # Added h8300hds.{c,sc}.
327 #
328 # Revision 1.14 1991/10/05 04:55:04 gnu
329 # * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun Make).
330 # * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
331 # few BFD types & enums.
332 # * ChangeLog: Create.
333 #
334 # Revision 1.13 1991/09/27 20:19:25 bothner
335 # Update for deleted (and some added) files.
336 #
337 # Revision 1.12 1991/09/24 02:30:20 rich
338 # ldgram.h is not cvs'd source.
339 #
340 # Revision 1.11 1991/09/23 20:59:12 steve
341 # Cleaned it up for 88k
342 #
343 # Revision 1.5 1991/08/27 00:21:34 steve
344 # Added config.sub
345 #
346 # Revision 1.4 1991/08/06 21:28:21 steve
347 # Patches to fix bugs reported by roland McGrath
348 #
349 # Revision 1.3 1991/08/01 23:59:06 steve
350 # *** empty log message ***
351 #
352 # Revision 1.2 1991/07/16 00:31:15 steve
353 # *** empty log message ***
354 #
355 # Revision 1.1 1991/05/23 21:45:12 rich
356 # Initial revision
357 #
358 #
359 #
360
361 # End of file.