]>
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 | |
44 | aout-target.h | |
77d11284 | 45 | aout0.c |
08942d11 RP |
46 | aout32.c |
47 | aout64.c | |
48 | aoutf1.h | |
08942d11 RP |
49 | aoutx.h |
50 | archive.c | |
51 | archures.c | |
901c5bfd | 52 | bfd-in.h |
b9653d81 | 53 | bfd-in2.h |
08942d11 | 54 | bfd.c |
08942d11 RP |
55 | bout.c |
56 | cache.c | |
e3b5bfa8 SS |
57 | cf-i386lynx.c |
58 | cf-m68klynx.c | |
59 | cf-sparclynx.c | |
5d70e4d1 | 60 | cisco-core.c |
156e3852 | 61 | coff-a29k.c |
c3e964b9 | 62 | coff-alpha.c |
97eb2f0c | 63 | coff-apollo.c |
c06e55d9 | 64 | coff-go32.c |
71e34032 | 65 | coff-h8300.c |
ff975a2c | 66 | coff-h8500.c |
156e3852 JG |
67 | coff-i386.c |
68 | coff-i960.c | |
c3e964b9 | 69 | coff-m68k.c |
156e3852 JG |
70 | coff-m88k.c |
71 | coff-mips.c | |
72 | coff-rs6000.c | |
9faacb92 | 73 | coff-sh.c |
e3b5bfa8 | 74 | coff-sparc.c |
df61743d | 75 | coff-u68k.c |
c7551f76 | 76 | coff-we32k.c |
d41ab714 | 77 | coff-z8k.c |
08942d11 | 78 | coffcode.h |
075caafd ILT |
79 | coffgen.c |
80 | coffswap.h | |
fb1c4481 | 81 | config |
14616002 | 82 | config.bfd |
13b351cc | 83 | configure.bat |
5a5fa368 | 84 | configure.host |
c3e964b9 | 85 | configure.in |
6f715d66 | 86 | core.c |
c3e964b9 FF |
87 | cpu-a29k.c |
88 | cpu-alpha.c | |
89 | cpu-h8300.c | |
90 | cpu-h8500.c | |
91 | cpu-hppa.c | |
92 | cpu-i386.c | |
93 | cpu-i960.c | |
94 | cpu-m68k.c | |
95 | cpu-m88k.c | |
96 | cpu-mips.c | |
384c1791 | 97 | cpu-powerpc.c |
c3e964b9 FF |
98 | cpu-rs6000.c |
99 | cpu-sh.c | |
100 | cpu-sparc.c | |
101 | cpu-vax.c | |
102 | cpu-we32k.c | |
103 | cpu-z8k.c | |
104 | ctor.c | |
08942d11 | 105 | demo64.c |
97eb2f0c | 106 | dep-in.sed |
c3e964b9 | 107 | doc |
dae31cf5 | 108 | ecoff.c |
71efdf83 | 109 | ecofflink.c |
dae31cf5 | 110 | ecoffswap.h |
cef91d75 | 111 | elf.c |
d39d83c1 | 112 | elf32-gen.c |
c268b400 KR |
113 | elf32-hppa.c |
114 | elf32-hppa.h | |
4743848f KR |
115 | elf32-i386.c |
116 | elf32-i860.c | |
117 | elf32-m68k.c | |
2c4f2c72 JK |
118 | elf32-m88k.c |
119 | elf32-mips.c | |
45ccfd58 | 120 | elf32-ppc.c |
8d936d1f | 121 | elf32-sparc.c |
4743848f KR |
122 | elf32-target.h |
123 | elf32.c | |
d39d83c1 | 124 | elf64-gen.c |
66599384 | 125 | elf64-sparc.c |
b864c03c | 126 | elf64-target.h |
4bf86ecb | 127 | elf64.c |
ef7e172e | 128 | elfcode.h |
08942d11 | 129 | filemode.c |
6f715d66 | 130 | format.c |
608de555 | 131 | gen-aout.c |
da6b2d99 ILT |
132 | genlink.h |
133 | hash.c | |
08942d11 | 134 | host-aout.c |
90c7c720 | 135 | hosts |
c3e964b9 | 136 | hp300bsd.c |
c268b400 | 137 | hp300hpux.c |
cef91d75 | 138 | hppa_stubs.h |
8a71bf96 | 139 | hppabsd-core.c |
3f933620 | 140 | hpux-core.c |
b7de6963 | 141 | i386aout.c |
256b39e0 | 142 | i386bsd.c |
bdf1b511 | 143 | i386dynix.c |
afff60cd | 144 | i386linux.c |
aef0bd99 | 145 | i386lynx.c |
890eafc0 | 146 | i386mach3.c |
f8ffa548 | 147 | i386os9k.c |
08942d11 | 148 | ieee.c |
c3e964b9 | 149 | init.c |
7ce1a446 | 150 | irix-core.c |
141c97ea | 151 | libaout.h |
901c5bfd | 152 | libbfd-in.h |
08942d11 RP |
153 | libbfd.c |
154 | libbfd.h | |
901c5bfd | 155 | libcoff-in.h |
08942d11 | 156 | libcoff.h |
a3b3dbdd | 157 | libecoff.h |
c3e964b9 | 158 | libelf.h |
76b731f9 | 159 | libhppa.h |
08942d11 | 160 | libieee.h |
c3e964b9 | 161 | libnlm.h |
08942d11 | 162 | liboasys.h |
da6b2d99 | 163 | linker.c |
3151f12f | 164 | lynx-core.c |
eefe075d | 165 | m68klynx.c |
346a6d59 | 166 | makefile.dos |
044c1ba9 | 167 | mipsbsd.c |
08942d11 | 168 | newsos3.c |
fbd5481a | 169 | netbsd386.c |
d1f83f44 | 170 | nlm-target.h |
c3e964b9 | 171 | nlm.c |
1bbabdad | 172 | nlm32-alpha.c |
8fa7a236 | 173 | nlm32-i386.c |
7ce8b9d1 | 174 | nlm32-ppc.c |
38f422db | 175 | nlm32-sparc.c |
c3e964b9 | 176 | nlm32.c |
c3e964b9 FF |
177 | nlm64.c |
178 | nlmcode.h | |
38f422db | 179 | nlmswap.h |
08942d11 RP |
180 | oasys.c |
181 | opncls.c | |
4346ee0f | 182 | osf-core.c |
c236d8b3 | 183 | ptrace-core.c |
6f715d66 | 184 | reloc.c |
075caafd | 185 | reloc16.c |
cf15d9e9 | 186 | rs6000-core.c |
6f715d66 | 187 | section.c |
66eca5ee JK |
188 | som.c |
189 | som.h | |
e3b5bfa8 | 190 | sparclynx.c |
08942d11 | 191 | srec.c |
7de245d3 | 192 | stab-syms.c |
08942d11 | 193 | sunos.c |
6f715d66 | 194 | syms.c |
08942d11 | 195 | targets.c |
a14b2941 | 196 | tekhex.c |
08942d11 | 197 | trad-core.c |
08942d11 | 198 | |
87756e15 RP |
199 | Things-to-lose: |
200 | ||
775d4a40 | 201 | |
08942d11 RP |
202 | Do-last: |
203 | ||
fbe3316a SS |
204 | mpwfiles="coffswap.h" |
205 | if ( echo $* | grep keep\-mpw > /dev/null ) ; then | |
206 | if [ -n "${verbose}" ] ; then | |
207 | echo Keeping mpw stuff in $mpwfiles. | |
208 | fi | |
209 | else | |
210 | if [ -n "${verbose}" ]; then | |
211 | echo -n Cleaning mpw in `pwd`: | |
212 | fi | |
213 | for f in $mpwfiles ; do | |
214 | if [ -n "${verbose}" ] ; then | |
215 | echo -n " " $f | |
216 | fi | |
217 | sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new | |
218 | if [ -n "${safe}" ] ; then | |
219 | mv $f .Recover | |
220 | fi | |
221 | mv new $f | |
222 | done | |
223 | chmod a+x config.bfd | |
224 | fi | |
225 | ||
08942d11 | 226 | # End of file. |