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