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