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