New files for preliminary Alpha NetWare support.
[platform/upstream/binutils.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-alpha.c
159 nlm32-gen.c
160 nlm32-i386.c
161 nlm32-sparc.c
162 nlm32.c
163 nlm64-gen.c
164 nlm64.c
165 nlmcode.h
166 nlmswap.h
167 oasys.c
168 opncls.c
169 osf-core.c
170 ptrace-core.c
171 reloc.c
172 reloc16.c
173 rs6000-core.c
174 seclet.c
175 seclet.h
176 section.c
177 som.c
178 som.h
179 sparclynx.c
180 srec.c
181 stab-syms.c
182 sunos.c
183 syms.c
184 targets.c
185 tekhex.c
186 trad-core.c
187
188 Things-to-lose:
189
190
191 Do-last:
192
193 v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
194 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
195         if [ -n "${verbose}" ] ; then
196                 echo Keeping v9 stuff in $v9files.
197         fi
198 else
199         if [ -n "${verbose}" ]; then
200                 echo -n Cleaning v9 in `pwd`:
201         fi
202         for f in $v9files ; do
203                 if [ -n "${verbose}" ] ; then
204                         echo -n " " $f
205                 fi
206                 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
207                 if [ -n "${safe}" ] ; then
208                         mv $f .Recover
209                 fi
210                 mv new $f
211         done
212         chmod a+x config.bfd
213 fi
214
215
216 # End of file.