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