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