Twiddle some comments to more accurately reflect reality.
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
CommitLineData
4f5d16c7 1# .Sanitize for devo/gas/config
0fd8d5d9 2
4f5d16c7 3# Each directory to survive its way into a release will need a file
0fd8d5d9
RP
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
15
16Do-first:
17
833c46e1 18arc_files="tc-arc.c tc-arc.h"
bc70eba5
DE
19
20if ( echo $* | grep keep\-arc > /dev/null ) ; then
21 keep_these_too="${arc_files} ${keep_these_too}"
22else
23 lose_these_too="${arc_files} ${lose_these_too}"
24fi
25
7be9a312
MH
26d10v_files="tc-d10v.c tc-d10v.h"
27
28if ( echo $* | grep keep\-d10v > /dev/null ) ; then
29 keep_these_too="${d10v_files} ${keep_these_too}"
30else
31 lose_these_too="${d10v_files} ${lose_these_too}"
32fi
33
9b1168d6
MH
34d30v_files="tc-d30v.c tc-d30v.h"
35
36if ( echo $* | grep keep\-d30v > /dev/null ) ; then
37 keep_these_too="${d30v_files} ${keep_these_too}"
38else
39 lose_these_too="${d30v_files} ${lose_these_too}"
40fi
41
c6aa56bc
C
42v850_files="tc-v850.c tc-v850.h"
43
44if ( echo $* | grep keep\-v850 > /dev/null ) ; then
45 keep_these_too="${v850_files} ${keep_these_too}"
46else
47 lose_these_too="${v850_files} ${lose_these_too}"
48fi
49
64556643
FF
50tic80_files="tc-tic80.c tc-tic80.h"
51
52if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
53 keep_these_too="${tic80_files} ${keep_these_too}"
54else
55 lose_these_too="${tic80_files} ${lose_these_too}"
56fi
c6aa56bc 57
0fd8d5d9
RP
58# All files listed between the "Things-to-keep:" line and the
59# "Files-to-sed:" line will be kept. All other files will be removed.
60# Directories listed in this section will have their own Sanitize
61# called. Directories not listed will be removed in their entirety
62# with rm -rf.
63
64Things-to-keep:
65
3e6e09c0 66aout_gnu.h
ff15324f
KR
67arm-big.mt
68arm-lit.mt
0fd8d5d9 69atof-ieee.c
b41390d2 70atof-tahoe.c
0fd8d5d9 71atof-vax.c
cd8aca19 72go32.cfg
511cd41c
KR
73e-mipsecoff.c
74e-mipself.c
6066ebad 75i386coff.mt
8e5c905e 76itbl-mips.h
a1c7c0f3
ILT
77m68k-parse.h
78m68k-parse.y
3ad9ec6a 79m68kcoff.mt
cd625bf3 80m88k-opcode.h
77a401e2 81m88kcoff.mt
e99f6f9c
ILT
82mips-big.mt
83mips-lit.mt
0fd8d5d9
RP
84obj-aout.c
85obj-aout.h
0fd8d5d9
RP
86obj-bout.c
87obj-bout.h
88obj-coff.c
89obj-coff.h
e99f6f9c
ILT
90obj-ecoff.c
91obj-ecoff.h
a4099f78
KR
92obj-elf.c
93obj-elf.h
f649d525
ILT
94obj-evax.c
95obj-evax.h
0fd8d5d9
RP
96obj-generic.c
97obj-generic.h
daae8c92
KR
98obj-hp300.c
99obj-hp300.h
fd345c9c
SC
100obj-ieee.c
101obj-ieee.h
511cd41c
KR
102obj-multi.c
103obj-multi.h
0fa747c4
JL
104obj-som.c
105obj-som.h
b41390d2
KR
106obj-vms.c
107obj-vms.h
8370e93e
MM
108ppc-big.mt
109ppc-lit.mt
159e6ef8 110ppc-sol.mt
4fe0fddd 111sco5.mt
0fd8d5d9
RP
112tc-a29k.c
113tc-a29k.h
5749c497
KR
114tc-alpha.c
115tc-alpha.h
6c3bc2b8
KR
116tc-arm.c
117tc-arm.h
0fd8d5d9
RP
118tc-generic.c
119tc-generic.h
fd345c9c
SC
120tc-h8300.c
121tc-h8300.h
033400ec
SC
122tc-h8500.c
123tc-h8500.h
daae8c92
KR
124tc-hppa.c
125tc-hppa.h
0fd8d5d9
RP
126tc-i386.c
127tc-i386.h
128tc-i860.c
129tc-i860.h
130tc-i960.c
131tc-i960.h
132tc-m68851.h
133tc-m68k.c
134tc-m68k.h
cd625bf3
DHW
135tc-m88k.c
136tc-m88k.h
fd345c9c
SC
137tc-mips.c
138tc-mips.h
ae1b99e4
JL
139tc-mn10200.c
140tc-mn10200.h
141tc-mn10300.c
142tc-mn10300.h
0fd8d5d9
RP
143tc-ns32k.c
144tc-ns32k.h
af46c203
ILT
145tc-ppc.c
146tc-ppc.h
4a1bbbe7
SC
147tc-sh.c
148tc-sh.h
6690d829 149tc-sparc.c
920babce 150tc-sparc.h
af3b5ad2
KR
151tc-tahoe.c
152tc-tahoe.h
0fd8d5d9
RP
153tc-vax.c
154tc-vax.h
b3235d56
SC
155tc-w65.c
156tc-w65.h
163107a1
SC
157tc-z8k.c
158tc-z8k.h
daae8c92 159te-386bsd.h
66b935da 160te-aux.h
757d4129 161te-delta.h
880b7429 162te-delt88.h
0fd8d5d9 163te-dpx2.h
f5ed78de 164te-dynix.h
0fd8d5d9 165te-generic.h
cd8aca19 166te-go32.h
daae8c92
KR
167te-hp300.h
168te-hppa.h
cd625bf3 169te-i386aix.h
0fd8d5d9 170te-ic960.h
daae8c92 171te-linux.h
d0c25cae 172te-lynx.h
5efa30fa 173te-mach.h
75d1d87a 174te-macos.h
511cd41c 175te-multi.h
04050d57 176te-nbsd.h
d5a0eeac 177te-nbsd532.h
f68880ea 178te-pc532mach.h
b04b02a5 179te-pe.h
cd8aca19 180te-ppcnw.h
8a6f53e9 181te-psos.h
69c1de90 182te-riscix.h
0fd8d5d9 183te-sco386.h
df4021c1 184te-sparcaout.h
0fd8d5d9 185te-sun3.h
920babce 186te-sysv32.h
0fd8d5d9 187vax-inst.h
ba466c4c 188vms-conf.h
f649d525 189vms-a-conf.h
0fd8d5d9 190
87756e15
RP
191Things-to-lose:
192
0fd8d5d9
RP
193Do-last:
194
276c2d7d
GRK
195r5900_files="tc-mips.c"
196
197if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
198 for i in $r5900_files ; do
199 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
200 if [ -n "${verbose}" ] ; then
201 echo Keeping r5900 stuff in $i
202 fi
203 fi
204 done
205else
206 for i in * ; do
207 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
208 if [ -n "${verbose}" ] ; then
209 echo Removing traces of \"r5900\" from $i...
210 fi
211 cp $i new
212 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
213 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
214 if [ -n "${verbose}" ] ; then
215 echo Caching $i in .Recover...
216 fi
217 mv $i .Recover
218 fi
219 mv new $i
220 fi
221 done
222fi
223
224
0fd8d5d9 225# End of file.
This page took 0.205165 seconds and 4 git commands to generate.