* i386dynix.c, config/i386-dynix.mt: New files, handling Dynix
[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 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="ChangeLog.gm ${keep_these_too}"
32 else
33 lose_these_too="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 cisco-core.c
76 coff-a29k.c
77 coff-alpha.c
78 coff-apollo.c
79 coff-h8300.c
80 coff-h8500.c
81 coff-i386.c
82 coff-i960.c
83 coff-m68k.c
84 coff-m88k.c
85 coff-mips.c
86 coff-rs6000.c
87 coff-sh.c
88 coff-sparc.c
89 coff-u68k.c
90 coff-we32k.c
91 coff-z8k.c
92 coffcode.h
93 coffgen.c
94 coffswap.h
95 config
96 config.bfd
97 configure.bat
98 configure.host
99 configure.in
100 core.c
101 cpu-a29k.c
102 cpu-alpha.c
103 cpu-h8300.c
104 cpu-h8500.c
105 cpu-hppa.c
106 cpu-i386.c
107 cpu-i960.c
108 cpu-m68k.c
109 cpu-m88k.c
110 cpu-mips.c
111 cpu-powerpc.c
112 cpu-rs6000.c
113 cpu-sh.c
114 cpu-sparc.c
115 cpu-vax.c
116 cpu-we32k.c
117 cpu-z8k.c
118 ctor.c
119 demo64.c
120 dep-in.sed
121 doc
122 ecoff.c
123 ecofflink.c
124 ecoffswap.h
125 elf.c
126 elf32-gen.c
127 elf32-hppa.c
128 elf32-hppa.h
129 elf32-i386.c
130 elf32-i860.c
131 elf32-m68k.c
132 elf32-m88k.c
133 elf32-mips.c
134 elf32-ppc.c
135 elf32-sparc.c
136 elf32-target.h
137 elf32.c
138 elf64-gen.c
139 elf64-target.h
140 elf64.c
141 elfcode.h
142 filemode.c
143 format.c
144 gen-aout.c
145 genlink.h
146 hash.c
147 host-aout.c
148 hosts
149 hp300bsd.c
150 hp300hpux.c
151 hppa_stubs.h
152 hppabsd-core.c
153 hpux-core.c
154 i386aout.c
155 i386bsd.c
156 i386dynix.c
157 i386linux.c
158 i386lynx.c
159 i386mach3.c
160 i386os9k.c
161 ieee.c
162 init.c
163 irix-core.c
164 libaout.h
165 libbfd-in.h
166 libbfd.c
167 libbfd.h
168 libcoff-in.h
169 libcoff.h
170 libecoff.h
171 libelf.h
172 libhppa.h
173 libieee.h
174 libnlm.h
175 liboasys.h
176 linker.c
177 lynx-core.c
178 m68klynx.c
179 mipsbsd.c
180 newsos3.c
181 netbsd386.c
182 nlm-target.h
183 nlm.c
184 nlm32-alpha.c
185 nlm32-i386.c
186 nlm32-sparc.c
187 nlm32.c
188 nlm64.c
189 nlmcode.h
190 nlmswap.h
191 oasys.c
192 opncls.c
193 osf-core.c
194 ptrace-core.c
195 reloc.c
196 reloc16.c
197 rs6000-core.c
198 section.c
199 som.c
200 som.h
201 sparclynx.c
202 srec.c
203 stab-syms.c
204 sunos.c
205 syms.c
206 targets.c
207 tekhex.c
208 trad-core.c
209
210 Things-to-lose:
211
212
213 Do-last:
214
215 v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
216 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
217 if [ -n "${verbose}" ] ; then
218 echo Keeping v9 stuff in $v9files.
219 fi
220 else
221 if [ -n "${verbose}" ]; then
222 echo -n Cleaning v9 in `pwd`:
223 fi
224 for f in $v9files ; do
225 if [ -n "${verbose}" ] ; then
226 echo -n " " $f
227 fi
228 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
229 if [ -n "${safe}" ] ; then
230 mv $f .Recover
231 fi
232 mv new $f
233 done
234 chmod a+x config.bfd
235 fi
236
237
238 mpwfiles="coffswap.h"
239 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
240 if [ -n "${verbose}" ] ; then
241 echo Keeping mpw stuff in $mpwfiles.
242 fi
243 else
244 if [ -n "${verbose}" ]; then
245 echo -n Cleaning mpw in `pwd`:
246 fi
247 for f in $mpwfiles ; do
248 if [ -n "${verbose}" ] ; then
249 echo -n " " $f
250 fi
251 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
252 if [ -n "${safe}" ] ; then
253 mv $f .Recover
254 fi
255 mv new $f
256 done
257 chmod a+x config.bfd
258 fi
259
260
261 ppcfiles="ChangeLog Makefile.in configure.in config.bfd targets.c"
262 if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
263 if [ -n "${verbose}" ] ; then
264 echo Keeping PowerPC NetWare stuff in $ppcfiles.
265 fi
266 else
267 if [ -n "${verbose}" ]; then
268 echo -n Removing PowerPC NetWare in `pwd`:
269 fi
270 for f in $ppcfiles ; do
271 if [ -n "${verbose}" ] ; then
272 echo -n " " $f
273 fi
274 sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
275 if [ -n "${safe}" ] ; then
276 mv $f .Recover
277 fi
278 mv new $f
279 done
280 chmod a+x config.bfd
281 fi
282
283
284 # End of file.
This page took 0.037211 seconds and 5 git commands to generate.