* configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32.
[deliverable/binutils-gdb.git] / ld / emulparams / .Sanitize
CommitLineData
278d569a 1# .Sanitize for devo/ld/emulparams
8ddef552
DM
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
16Do-first:
17
41cf747a 18d30v_files="d30velf.sh d30v_o.sh d30v_e.sh"
683b2426 19
232e8702
MH
20if ( echo $* | grep keep\-d30v > /dev/null ) ; then
21 keep_these_too="${d30v_files} ${keep_these_too}"
683b2426 22else
232e8702 23 lose_these_too="${d30v_files} ${lose_these_too}"
683b2426
MH
24fi
25
11effa69
FF
26tic80_files="tic80coff.sh"
27
28if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
29 keep_these_too="${tic80_files} ${keep_these_too}"
30else
31 lose_these_too="${tic80_files} ${lose_these_too}"
32fi
33
bd8a4ea4
JL
34r5900_files="elf32l5900.sh"
35
36if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
37 keep_these_too="${r5900_files} ${keep_these_too}"
38else
39 lose_these_too="${r5900_files} ${lose_these_too}"
40fi
41
8ddef552
DM
42# All files listed between the "Things-to-keep:" line and the
43# "Do-last:" line will be kept. All other files will be removed.
44# Directories listed in this section will have their own Sanitize
45# called. Directories not listed will be removed in their entirety
46# with rm -rf.
47
48Things-to-keep:
49
50README
51a29k.sh
b5f076d4
ILT
52aixppc.sh
53aixrs6.sh
42f9673d 54alpha.sh
207cec8b 55arcelf.sh
ff15324f
KR
56armaoutb.sh
57armaoutl.sh
132dd910 58armcoff.sh
28d0c3ce 59armpe.sh
78158b1c 60coff_sparc.sh
94b569d2 61d10velf.sh
63982998 62delta68.sh
8ddef552 63ebmon29k.sh
7ff42880 64elf32_sparc.sh
1eadd162 65elf32bmip.sh
353e5cb6 66elf32bsmip.sh
719de0ea
ILT
67elf32ebmip.sh
68elf32elmip.sh
1eadd162 69elf32lmip.sh
7e11b1db 70elf32lppc.sh
353e5cb6 71elf32lsmip.sh
c361ce46 72elf32ppc.sh
b008b7bf
KR
73elf32b4300.sh
74elf32l4300.sh
539ae61d 75elf64alpha.sh
3f38a017 76elf64_sparc.sh
03451d7f 77elf_i386.sh
8ddef552 78gld960.sh
c610b46c 79gld960coff.sh
8ddef552
DM
80go32.sh
81h8300.sh
8f207409 82h8300h.sh
cce8528d 83h8300s.sh
8ddef552 84h8500.sh
5fe60d73
SC
85h8500b.sh
86h8500c.sh
5fe60d73 87h8500m.sh
3f38a017 88h8500s.sh
8ddef552
DM
89hp300bsd.sh
90hp3hpux.sh
6cc2ced1 91hppaelf.sh
8ddef552
DM
92i386aout.sh
93i386bsd.sh
94i386coff.sh
6c86b9ff 95i386go32.sh
7ff42880 96i386linux.sh
bd7b78f7 97i386lynx.sh
46cc3ed1 98i386mach.sh
a2fb6995
KR
99i386moss.sh
100i386msdos.sh
32286e08 101i386nbsd.sh
9ff30f20 102i386nw.sh
3f38a017 103i386pe.sh
8ddef552 104lnk960.sh
718a5c17 105m32relf.sh
e295a90d 106m68k4knbsd.sh
0573a3b1 107m68kaout.sh
40ab9bb9 108m68kaux.sh
8ddef552 109m68kcoff.sh
575a4d91 110m68kelf.sh
228b04d2 111m68klinux.sh
bd7b78f7 112m68klynx.sh
e574ddd4 113m68knbsd.sh
307585f1 114m68kpsos.sh
8ddef552
DM
115m88kbcs.sh
116mipsbig.sh
117mipsbsd.sh
118mipsidt.sh
119mipsidtl.sh
120mipslit.sh
1cc86f47 121mipslnews.sh
6b01dc65 122mn10200.sh
96e34542 123mn10300.sh
8ddef552 124news.sh
32286e08 125ns32knbsd.sh
1ab4cd57 126pc532macha.sh
9079ed57 127ppcmacos.sh
9ff30f20 128ppcnw.sh
070eddd9 129ppcpe.sh
8e0e09f6 130riscix.sh
8ddef552
DM
131sa29200.sh
132sh.sh
efd48a6a 133shelf.sh
6ae98644 134shl.sh
efd48a6a 135shlelf.sh
02df835b 136sparcaout.sh
d8e259a7 137sparclinux.sh
278d569a 138sparclynx.sh
32286e08 139sparcnbsd.sh
8ddef552
DM
140st2000.sh
141sun3.sh
142sun4.sh
cdf91fe4
ILT
143tic30aout.sh
144tic30coff.sh
2e6fa283 145v850.sh
8ddef552
DM
146vanilla.sh
147vax.sh
de9425a8 148vsta.sh
506f4ede 149w65.sh
66a61efd
SC
150z8001.sh
151z8002.sh
8ddef552
DM
152
153Things-to-lose:
154
155# The lines between the "Do-last:" line and the end of the file
156# are executed as a /bin/sh shell script after everything else is
157# done.
158
159Do-last:
2e6fa283
NC
160
161v850e_files="v850.sh"
162
2e6fa283
NC
163if ( echo $* | grep keep\-v850e > /dev/null ) ; then
164 for i in $v850e_files ; do
165 if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
166 if [ -n "${verbose}" ] ; then
167 echo Keeping v850e stuff in $i
168 fi
169 fi
170 done
171else
2e6fa283
NC
172 for i in $v850e_files ; do
173 if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
174 if [ -n "${verbose}" ] ; then
175 echo Removing traces of \"v850e\" from $i...
176 fi
177 cp $i new
178 sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
179 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
180 if [ -n "${verbose}" ] ; then
181 echo Caching $i in .Recover...
182 fi
183 mv $i .Recover
184 fi
185 mv new $i
186 fi
187 done
2e6fa283
NC
188fi
189
This page took 0.18593 seconds and 4 git commands to generate.