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