Commit | Line | Data |
---|---|---|
a92c5906 | 1 | # .Sanitize for devo/bfd |
08942d11 | 2 | |
a92c5906 | 3 | # Each directory to survive its way into a release will need a file |
08942d11 RP |
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 | ||
1bea1b6f KR |
18 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
19 | keep_these_too="elf64-sparc.c" | |
f7df1b2b FF |
20 | else |
21 | lose_these_too="elf64-sparc.c" | |
1bea1b6f KR |
22 | fi |
23 | ||
a92c5906 SS |
24 | if ( echo $* | grep keep\-mpw > /dev/null ) ; then |
25 | keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" | |
26 | if ( echo $* | grep keep\-gm > /dev/null ) ; then | |
27 | keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" | |
28 | fi | |
29 | fi | |
30 | ||
08942d11 RP |
31 | # All files listed between the "Things-to-keep:" line and the |
32 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
33 | # Directories listed in this section will have their own Sanitize | |
34 | # called. Directories not listed will be removed in their entirety | |
35 | # with rm -rf. | |
36 | ||
37 | Things-to-keep: | |
87756e15 | 38 | |
08942d11 RP |
39 | COPYING |
40 | ChangeLog | |
ceeca31c | 41 | ChangeLog.1 |
08942d11 | 42 | Makefile.in |
c3e964b9 | 43 | PORTING |
08942d11 | 44 | TODO |
8c1891af | 45 | VERSION |
60ac749c | 46 | aix386-core.c |
c3e964b9 FF |
47 | aout-adobe.c |
48 | aout-encap.c | |
49 | aout-target.h | |
08942d11 RP |
50 | aout32.c |
51 | aout64.c | |
52 | aoutf1.h | |
08942d11 RP |
53 | aoutx.h |
54 | archive.c | |
55 | archures.c | |
901c5bfd | 56 | bfd-in.h |
b9653d81 | 57 | bfd-in2.h |
08942d11 | 58 | bfd.c |
08942d11 RP |
59 | bout.c |
60 | cache.c | |
e3b5bfa8 SS |
61 | cf-i386lynx.c |
62 | cf-m68klynx.c | |
63 | cf-sparclynx.c | |
156e3852 | 64 | coff-a29k.c |
c3e964b9 | 65 | coff-alpha.c |
97eb2f0c | 66 | coff-apollo.c |
71e34032 | 67 | coff-h8300.c |
ff975a2c | 68 | coff-h8500.c |
156e3852 JG |
69 | coff-i386.c |
70 | coff-i960.c | |
c3e964b9 | 71 | coff-m68k.c |
156e3852 JG |
72 | coff-m88k.c |
73 | coff-mips.c | |
74 | coff-rs6000.c | |
9faacb92 | 75 | coff-sh.c |
e3b5bfa8 | 76 | coff-sparc.c |
df61743d | 77 | coff-u68k.c |
c7551f76 | 78 | coff-we32k.c |
d41ab714 | 79 | coff-z8k.c |
08942d11 | 80 | coffcode.h |
075caafd ILT |
81 | coffgen.c |
82 | coffswap.h | |
fb1c4481 | 83 | config |
14616002 | 84 | config.bfd |
13b351cc | 85 | configure.bat |
5a5fa368 | 86 | configure.host |
c3e964b9 | 87 | configure.in |
6f715d66 | 88 | core.c |
c3e964b9 FF |
89 | cpu-a29k.c |
90 | cpu-alpha.c | |
91 | cpu-h8300.c | |
92 | cpu-h8500.c | |
93 | cpu-hppa.c | |
94 | cpu-i386.c | |
95 | cpu-i960.c | |
96 | cpu-m68k.c | |
97 | cpu-m88k.c | |
98 | cpu-mips.c | |
99 | cpu-rs6000.c | |
100 | cpu-sh.c | |
101 | cpu-sparc.c | |
102 | cpu-vax.c | |
103 | cpu-we32k.c | |
104 | cpu-z8k.c | |
105 | ctor.c | |
08942d11 | 106 | demo64.c |
97eb2f0c | 107 | dep-in.sed |
c3e964b9 | 108 | doc |
dae31cf5 | 109 | ecoff.c |
71efdf83 | 110 | ecofflink.c |
dae31cf5 | 111 | ecoffswap.h |
cef91d75 | 112 | elf.c |
d39d83c1 | 113 | elf32-gen.c |
c268b400 KR |
114 | elf32-hppa.c |
115 | elf32-hppa.h | |
4743848f KR |
116 | elf32-i386.c |
117 | elf32-i860.c | |
118 | elf32-m68k.c | |
2c4f2c72 JK |
119 | elf32-m88k.c |
120 | elf32-mips.c | |
8d936d1f | 121 | elf32-sparc.c |
4743848f KR |
122 | elf32-target.h |
123 | elf32.c | |
d39d83c1 | 124 | elf64-gen.c |
b864c03c | 125 | elf64-target.h |
4bf86ecb | 126 | elf64.c |
ef7e172e | 127 | elfcode.h |
08942d11 | 128 | filemode.c |
6f715d66 | 129 | format.c |
608de555 | 130 | gen-aout.c |
da6b2d99 ILT |
131 | genlink.h |
132 | hash.c | |
08942d11 | 133 | host-aout.c |
90c7c720 | 134 | hosts |
c3e964b9 | 135 | hp300bsd.c |
c268b400 | 136 | hp300hpux.c |
cef91d75 | 137 | hppa_stubs.h |
8a71bf96 | 138 | hppabsd-core.c |
3f933620 | 139 | hpux-core.c |
b7de6963 | 140 | i386aout.c |
256b39e0 | 141 | i386bsd.c |
afff60cd | 142 | i386linux.c |
aef0bd99 | 143 | i386lynx.c |
890eafc0 | 144 | i386mach3.c |
08942d11 | 145 | ieee.c |
c3e964b9 | 146 | init.c |
7ce1a446 | 147 | irix-core.c |
141c97ea | 148 | libaout.h |
901c5bfd | 149 | libbfd-in.h |
08942d11 RP |
150 | libbfd.c |
151 | libbfd.h | |
901c5bfd | 152 | libcoff-in.h |
08942d11 | 153 | libcoff.h |
a3b3dbdd | 154 | libecoff.h |
c3e964b9 | 155 | libelf.h |
76b731f9 | 156 | libhppa.h |
08942d11 | 157 | libieee.h |
c3e964b9 | 158 | libnlm.h |
08942d11 | 159 | liboasys.h |
da6b2d99 | 160 | linker.c |
3151f12f | 161 | lynx-core.c |
eefe075d | 162 | m68klynx.c |
044c1ba9 | 163 | mipsbsd.c |
08942d11 | 164 | newsos3.c |
fbd5481a | 165 | netbsd386.c |
d1f83f44 | 166 | nlm-target.h |
c3e964b9 | 167 | nlm.c |
1bbabdad | 168 | nlm32-alpha.c |
8fa7a236 | 169 | nlm32-i386.c |
38f422db | 170 | nlm32-sparc.c |
c3e964b9 | 171 | nlm32.c |
c3e964b9 FF |
172 | nlm64.c |
173 | nlmcode.h | |
38f422db | 174 | nlmswap.h |
08942d11 RP |
175 | oasys.c |
176 | opncls.c | |
4346ee0f | 177 | osf-core.c |
c236d8b3 | 178 | ptrace-core.c |
6f715d66 | 179 | reloc.c |
075caafd | 180 | reloc16.c |
cf15d9e9 | 181 | rs6000-core.c |
6f715d66 | 182 | section.c |
66eca5ee JK |
183 | som.c |
184 | som.h | |
e3b5bfa8 | 185 | sparclynx.c |
08942d11 | 186 | srec.c |
7de245d3 | 187 | stab-syms.c |
08942d11 | 188 | sunos.c |
6f715d66 | 189 | syms.c |
08942d11 | 190 | targets.c |
a14b2941 | 191 | tekhex.c |
08942d11 | 192 | trad-core.c |
08942d11 | 193 | |
87756e15 RP |
194 | Things-to-lose: |
195 | ||
775d4a40 | 196 | |
08942d11 RP |
197 | Do-last: |
198 | ||
3d7de4c2 | 199 | v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd" |
b9653d81 | 200 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
b864c03c KR |
201 | if [ -n "${verbose}" ] ; then |
202 | echo Keeping v9 stuff in $v9files. | |
203 | fi | |
b9653d81 | 204 | else |
b864c03c | 205 | if [ -n "${verbose}" ]; then |
1bea1b6f | 206 | echo -n Cleaning v9 in `pwd`: |
b864c03c KR |
207 | fi |
208 | for f in $v9files ; do | |
209 | if [ -n "${verbose}" ] ; then | |
210 | echo -n " " $f | |
211 | fi | |
1bea1b6f | 212 | sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new |
b864c03c | 213 | if [ -n "${safe}" ] ; then |
1bea1b6f | 214 | mv $f .Recover |
b864c03c KR |
215 | fi |
216 | mv new $f | |
217 | done | |
3ba17f70 | 218 | chmod a+x config.bfd |
b9653d81 KR |
219 | fi |
220 | ||
3ba17f70 | 221 | |
08942d11 | 222 | # End of file. |