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