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