keep arm files
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # .Sanitize for devo/bfd.
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
16 Do-first:
17
18 mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw"
19
20 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
22 else
23 lose_these_too="${mpw_files} ${lose_these_too}"
24 fi
25
26 # All files listed between the "Things-to-keep:" line and the
27 # "Files-to-sed:" line will be kept. All other files will be removed.
28 # Directories listed in this section will have their own Sanitize
29 # called. Directories not listed will be removed in their entirety
30 # with rm -rf.
31
32 Things-to-keep:
33
34 COPYING
35 ChangeLog
36 ChangeLog.1
37 Makefile.in
38 PORTING
39 TODO
40 VERSION
41 aix386-core.c
42 aout-adobe.c
43 aout-encap.c
44 aout-ns32k.c
45 aout-target.h
46 aout0.c
47 aout32.c
48 aout64.c
49 aoutf1.h
50 aoutx.h
51 archive.c
52 archures.c
53 bfd-in.h
54 bfd-in2.h
55 bfd.c
56 bout.c
57 cache.c
58 cf-i386lynx.c
59 cf-m68klynx.c
60 cf-sparclynx.c
61 cisco-core.c
62 coff-a29k.c
63 coff-alpha.c
64 coff-apollo.c
65 coff-go32.c
66 coff-h8300.c
67 coff-h8500.c
68 coff-i386.c
69 coff-i960.c
70 coff-m68k.c
71 coff-m88k.c
72 coff-mips.c
73 coff-rs6000.c
74 coff-sh.c
75 coff-sparc.c
76 coff-u68k.c
77 coff-we32k.c
78 coff-z8k.c
79 coffcode.h
80 coffgen.c
81 cofflink.c
82 coffswap.h
83 config
84 config.bfd
85 configure.bat
86 configure.host
87 configure.in
88 core.c
89 cpu-a29k.c
90 cpu-alpha.c
91 cpu-arm.c
92 cpu-h8300.c
93 cpu-h8500.c
94 cpu-hppa.c
95 cpu-i386.c
96 cpu-i960.c
97 cpu-m68k.c
98 cpu-m88k.c
99 cpu-mips.c
100 cpu-ns32k.c
101 cpu-powerpc.c
102 cpu-rs6000.c
103 cpu-sh.c
104 cpu-sparc.c
105 cpu-vax.c
106 cpu-we32k.c
107 cpu-z8k.c
108 ctor.c
109 demo64.c
110 dep-in.sed
111 doc
112 ecoff.c
113 ecofflink.c
114 ecoffswap.h
115 elf.c
116 elf32-gen.c
117 elf32-hppa.c
118 elf32-hppa.h
119 elf32-i386.c
120 elf32-i860.c
121 elf32-m68k.c
122 elf32-m88k.c
123 elf32-mips.c
124 elf32-ppc.c
125 elf32-sparc.c
126 elf32-target.h
127 elf32.c
128 elf64-gen.c
129 elf64-sparc.c
130 elf64-target.h
131 elf64.c
132 elfcode.h
133 filemode.c
134 format.c
135 gen-aout.c
136 genlink.h
137 hash.c
138 host-aout.c
139 hosts
140 hp300bsd.c
141 hp300hpux.c
142 hppa_stubs.h
143 hppabsd-core.c
144 hpux-core.c
145 i386aout.c
146 i386bsd.c
147 i386dynix.c
148 i386linux.c
149 i386lynx.c
150 i386mach3.c
151 i386os9k.c
152 ieee.c
153 init.c
154 irix-core.c
155 libaout.h
156 libbfd-in.h
157 libbfd.c
158 libbfd.h
159 libcoff-in.h
160 libcoff.h
161 libecoff.h
162 libelf.h
163 libhppa.h
164 libieee.h
165 libnlm.h
166 liboasys.h
167 linker.c
168 lynx-core.c
169 m68klynx.c
170 m88kmach3.c
171 makefile.dos
172 mipsbsd.c
173 newsos3.c
174 netbsd386.c
175 netbsd532.c
176 nlm-target.h
177 nlm.c
178 nlm32-alpha.c
179 nlm32-i386.c
180 nlm32-ppc.c
181 nlm32-sparc.c
182 nlm32.c
183 nlm64.c
184 nlmcode.h
185 nlmswap.h
186 oasys.c
187 opncls.c
188 osf-core.c
189 pc532-mach.c
190 ptrace-core.c
191 reloc.c
192 reloc16.c
193 riscix.c
194 rs6000-core.c
195 section.c
196 som.c
197 som.h
198 sparclynx.c
199 srec.c
200 stab-syms.c
201 sunos.c
202 syms.c
203 targets.c
204 tekhex.c
205 trad-core.c
206
207 Things-to-lose:
208
209
210 Do-last:
211
212 mpwfiles="coffswap.h"
213 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
214 if [ -n "${verbose}" ] ; then
215 echo Keeping mpw stuff in $mpwfiles.
216 fi
217 else
218 if [ -n "${verbose}" ]; then
219 echo -n Cleaning mpw in `pwd`:
220 fi
221 for f in $mpwfiles ; do
222 if [ -n "${verbose}" ] ; then
223 echo -n " " $f
224 fi
225 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
226 if [ -n "${safe}" ] ; then
227 mv $f .Recover
228 fi
229 mv new $f
230 done
231 chmod a+x config.bfd
232 fi
233
234 i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
235 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
236 if [ -n "${verbose}" ] ; then
237 echo Keeping i960xl stuff in $i960xl_files.
238 fi
239 else
240 if [ -n "${verbose}" ]; then
241 echo -n Cleaning i960xl in `pwd`:
242 fi
243 for f in $i960xl_files ; do
244 if [ -n "${verbose}" ] ; then
245 echo -n " " $f
246 fi
247 sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
248 if [ -n "${safe}" ] ; then
249 mv $f .Recover
250 fi
251 mv new $f
252 done
253 fi
254
255 # End of file.
This page took 0.03477 seconds and 5 git commands to generate.