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