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