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