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