update for new files
[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 18rce_files="tc-rce.c tc-rce.h"
d94aca1a 19
edf72895
MT
20if ( echo $* | grep keep\-rce > /dev/null ) ; then
21 keep_these_too="${rce_files} ${keep_these_too}"
d94aca1a 22else
edf72895 23 lose_these_too="${rce_files} ${lose_these_too}"
d94aca1a
MT
24fi
25
833c46e1 26arc_files="tc-arc.c tc-arc.h"
bc70eba5
DE
27
28if ( echo $* | grep keep\-arc > /dev/null ) ; then
29 keep_these_too="${arc_files} ${keep_these_too}"
30else
31 lose_these_too="${arc_files} ${lose_these_too}"
32fi
33
0fd8d5d9
RP
34# All files listed between the "Things-to-keep:" line and the
35# "Files-to-sed:" 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
3e6e09c0 42aout_gnu.h
5749c497 43alpha-opcode.h
0fd8d5d9 44atof-ieee.c
b41390d2 45atof-tahoe.c
0fd8d5d9 46atof-vax.c
cd8aca19 47go32.cfg
511cd41c
KR
48e-mipsecoff.c
49e-mipself.c
6066ebad 50i386coff.mt
3ad9ec6a 51m68kcoff.mt
cd625bf3 52m88k-opcode.h
77a401e2 53m88kcoff.mt
e99f6f9c
ILT
54mips-big.mt
55mips-lit.mt
0fd8d5d9
RP
56obj-aout.c
57obj-aout.h
0fd8d5d9
RP
58obj-bout.c
59obj-bout.h
60obj-coff.c
61obj-coff.h
e99f6f9c
ILT
62obj-ecoff.c
63obj-ecoff.h
a4099f78
KR
64obj-elf.c
65obj-elf.h
0fd8d5d9
RP
66obj-generic.c
67obj-generic.h
daae8c92
KR
68obj-hp300.c
69obj-hp300.h
fd345c9c
SC
70obj-ieee.c
71obj-ieee.h
511cd41c
KR
72obj-multi.c
73obj-multi.h
0fa747c4
JL
74obj-som.c
75obj-som.h
b41390d2
KR
76obj-vms.c
77obj-vms.h
8370e93e
MM
78ppc-big.mt
79ppc-lit.mt
0fd8d5d9
RP
80tc-a29k.c
81tc-a29k.h
5749c497
KR
82tc-alpha.c
83tc-alpha.h
6c3bc2b8
KR
84tc-arm.c
85tc-arm.h
0fd8d5d9
RP
86tc-generic.c
87tc-generic.h
fd345c9c
SC
88tc-h8300.c
89tc-h8300.h
033400ec
SC
90tc-h8500.c
91tc-h8500.h
daae8c92
KR
92tc-hppa.c
93tc-hppa.h
0fd8d5d9
RP
94tc-i386.c
95tc-i386.h
96tc-i860.c
97tc-i860.h
98tc-i960.c
99tc-i960.h
100tc-m68851.h
101tc-m68k.c
102tc-m68k.h
cd625bf3
DHW
103tc-m88k.c
104tc-m88k.h
fd345c9c
SC
105tc-mips.c
106tc-mips.h
0fd8d5d9
RP
107tc-ns32k.c
108tc-ns32k.h
af46c203
ILT
109tc-ppc.c
110tc-ppc.h
4a1bbbe7
SC
111tc-sh.c
112tc-sh.h
6690d829 113tc-sparc.c
920babce 114tc-sparc.h
af3b5ad2
KR
115tc-tahoe.c
116tc-tahoe.h
0fd8d5d9
RP
117tc-vax.c
118tc-vax.h
b3235d56
SC
119tc-w65.c
120tc-w65.h
163107a1
SC
121tc-z8k.c
122tc-z8k.h
daae8c92 123te-386bsd.h
757d4129 124te-delta.h
0fd8d5d9
RP
125te-dpx2.h
126te-generic.h
cd8aca19 127te-go32.h
daae8c92
KR
128te-hp300.h
129te-hppa.h
cd625bf3 130te-i386aix.h
0fd8d5d9 131te-ic960.h
daae8c92 132te-linux.h
d0c25cae 133te-lynx.h
5efa30fa 134te-mach.h
511cd41c 135te-multi.h
04050d57 136te-nbsd.h
d5a0eeac 137te-nbsd532.h
f68880ea 138te-pc532mach.h
cd8aca19 139te-ppcnw.h
0fd8d5d9 140te-sco386.h
0fd8d5d9 141te-sun3.h
920babce 142te-sysv32.h
0fd8d5d9 143vax-inst.h
ba466c4c 144vms-conf.h
0fd8d5d9 145
87756e15
RP
146Things-to-lose:
147
0fd8d5d9
RP
148Do-last:
149
f68880ea
KR
150i960xl_files=tc-i960.c
151if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
152 if [ -n "${verbose}" ] ; then
153 echo Keeping i960xl stuff in $i960xl_files.
154 fi
155else
156 if [ -n "${verbose}" ]; then
157 echo -n Cleaning i960xl in `pwd`:
158 fi
159 for f in $i960xl_files ; do
160 if [ -n "${verbose}" ] ; then
161 echo -n " " $f
162 fi
163 grep -v XL < $f > new
164 if [ -n "${safe}" ] ; then
165 mv $f .Recover
166 fi
167 mv new $f
168 done
169fi
170
0fd8d5d9 171# End of file.
This page took 0.150046 seconds and 4 git commands to generate.