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