Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
1 # .Sanitize for devo/gas/config
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
15
16 Do-first:
17
18 rce_files="tc-rce.c tc-rce.h"
19
20 if ( echo $* | grep keep\-rce > /dev/null ) ; then
21 keep_these_too="${rce_files} ${keep_these_too}"
22 else
23 lose_these_too="${rce_files} ${lose_these_too}"
24 fi
25
26 arc_files="tc-arc.c tc-arc.h"
27
28 if ( echo $* | grep keep\-arc > /dev/null ) ; then
29 keep_these_too="${arc_files} ${keep_these_too}"
30 else
31 lose_these_too="${arc_files} ${lose_these_too}"
32 fi
33
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
40 Things-to-keep:
41
42 aout_gnu.h
43 alpha-opcode.h
44 arm-big.mt
45 arm-lit.mt
46 atof-ieee.c
47 atof-tahoe.c
48 atof-vax.c
49 go32.cfg
50 e-mipsecoff.c
51 e-mipself.c
52 i386coff.mt
53 m68k-parse.h
54 m68k-parse.y
55 m68kcoff.mt
56 m88k-opcode.h
57 m88kcoff.mt
58 mips-big.mt
59 mips-lit.mt
60 obj-aout.c
61 obj-aout.h
62 obj-bout.c
63 obj-bout.h
64 obj-coff.c
65 obj-coff.h
66 obj-ecoff.c
67 obj-ecoff.h
68 obj-elf.c
69 obj-elf.h
70 obj-generic.c
71 obj-generic.h
72 obj-hp300.c
73 obj-hp300.h
74 obj-ieee.c
75 obj-ieee.h
76 obj-multi.c
77 obj-multi.h
78 obj-som.c
79 obj-som.h
80 obj-vms.c
81 obj-vms.h
82 ppc-big.mt
83 ppc-lit.mt
84 tc-a29k.c
85 tc-a29k.h
86 tc-alpha.c
87 tc-alpha.h
88 tc-arm.c
89 tc-arm.h
90 tc-generic.c
91 tc-generic.h
92 tc-h8300.c
93 tc-h8300.h
94 tc-h8500.c
95 tc-h8500.h
96 tc-hppa.c
97 tc-hppa.h
98 tc-i386.c
99 tc-i386.h
100 tc-i860.c
101 tc-i860.h
102 tc-i960.c
103 tc-i960.h
104 tc-m68851.h
105 tc-m68k.c
106 tc-m68k.h
107 tc-m88k.c
108 tc-m88k.h
109 tc-mips.c
110 tc-mips.h
111 tc-ns32k.c
112 tc-ns32k.h
113 tc-ppc.c
114 tc-ppc.h
115 tc-sh.c
116 tc-sh.h
117 tc-sparc.c
118 tc-sparc.h
119 tc-tahoe.c
120 tc-tahoe.h
121 tc-vax.c
122 tc-vax.h
123 tc-w65.c
124 tc-w65.h
125 tc-z8k.c
126 tc-z8k.h
127 te-386bsd.h
128 te-delta.h
129 te-delta88.h
130 te-dpx2.h
131 te-generic.h
132 te-go32.h
133 te-hp300.h
134 te-hppa.h
135 te-i386aix.h
136 te-ic960.h
137 te-linux.h
138 te-lynx.h
139 te-mach.h
140 te-multi.h
141 te-nbsd.h
142 te-nbsd532.h
143 te-pc532mach.h
144 te-pe.h
145 te-ppcnw.h
146 te-sco386.h
147 te-sun3.h
148 te-sysv32.h
149 vax-inst.h
150 vms-conf.h
151
152 Things-to-lose:
153
154 Do-last:
155
156 i960xl_files=tc-i960.c
157 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
158 if [ -n "${verbose}" ] ; then
159 echo Keeping i960xl stuff in $i960xl_files.
160 fi
161 else
162 if [ -n "${verbose}" ]; then
163 echo -n Cleaning i960xl in `pwd`:
164 fi
165 for f in $i960xl_files ; do
166 if [ -n "${verbose}" ] ; then
167 echo -n " " $f
168 fi
169 grep -v XL < $f > new
170 if [ -n "${safe}" ] ; then
171 mv $f .Recover
172 fi
173 mv new $f
174 done
175 if [ -n "${verbose}" ]; then
176 echo ""
177 fi
178 fi
179
180 sh3e_files="tc-sh.c"
181 if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
182 if [ -n "${verbose}" ] ; then
183 echo Keeping sh3e stuff in $sh3e_files.
184 fi
185 else
186 if [ -n "${verbose}" ]; then
187 echo -n Cleaning sh3e in `pwd`:
188 fi
189 for f in $sh3e_files ; do
190 if [ -n "${verbose}" ] ; then
191 echo -n " " $f
192 fi
193 sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new
194 if [ -n "${safe}" ] ; then
195 mv $f .Recover
196 fi
197 mv new $f
198 done
199 if [ -n "${verbose}" ]; then
200 echo ""
201 fi
202 fi
203
204 # End of file.
This page took 0.047724 seconds and 5 git commands to generate.