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 |
c3e964b9 | 169 | nlm32-gen.c |
8fa7a236 | 170 | nlm32-i386.c |
38f422db | 171 | nlm32-sparc.c |
c3e964b9 FF |
172 | nlm32.c |
173 | nlm64-gen.c | |
c3e964b9 FF |
174 | nlm64.c |
175 | nlmcode.h | |
38f422db | 176 | nlmswap.h |
08942d11 RP |
177 | oasys.c |
178 | opncls.c | |
4346ee0f | 179 | osf-core.c |
c236d8b3 | 180 | ptrace-core.c |
6f715d66 | 181 | reloc.c |
075caafd | 182 | reloc16.c |
cf15d9e9 | 183 | rs6000-core.c |
6f715d66 | 184 | section.c |
66eca5ee JK |
185 | som.c |
186 | som.h | |
e3b5bfa8 | 187 | sparclynx.c |
08942d11 | 188 | srec.c |
7de245d3 | 189 | stab-syms.c |
08942d11 | 190 | sunos.c |
6f715d66 | 191 | syms.c |
08942d11 | 192 | targets.c |
a14b2941 | 193 | tekhex.c |
08942d11 | 194 | trad-core.c |
08942d11 | 195 | |
87756e15 RP |
196 | Things-to-lose: |
197 | ||
775d4a40 | 198 | |
08942d11 RP |
199 | Do-last: |
200 | ||
3d7de4c2 | 201 | v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd" |
b9653d81 | 202 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
b864c03c KR |
203 | if [ -n "${verbose}" ] ; then |
204 | echo Keeping v9 stuff in $v9files. | |
205 | fi | |
b9653d81 | 206 | else |
b864c03c | 207 | if [ -n "${verbose}" ]; then |
1bea1b6f | 208 | echo -n Cleaning v9 in `pwd`: |
b864c03c KR |
209 | fi |
210 | for f in $v9files ; do | |
211 | if [ -n "${verbose}" ] ; then | |
212 | echo -n " " $f | |
213 | fi | |
1bea1b6f | 214 | sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new |
b864c03c | 215 | if [ -n "${safe}" ] ; then |
1bea1b6f | 216 | mv $f .Recover |
b864c03c KR |
217 | fi |
218 | mv new $f | |
219 | done | |
3ba17f70 | 220 | chmod a+x config.bfd |
b9653d81 KR |
221 | fi |
222 | ||
3ba17f70 | 223 | |
08942d11 | 224 | # End of file. |