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