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