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