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 | ||
a92c5906 | 18 | if ( echo $* | grep keep\-mpw > /dev/null ) ; then |
e4c7516b SS |
19 | keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}" |
20 | else | |
21 | lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}" | |
22 | fi | |
23 | ||
24 | if ( echo $* | grep keep\-gm > /dev/null ) ; then | |
8b0f1c20 | 25 | keep_these_too="ChangeLog.gm ${keep_these_too}" |
e4c7516b | 26 | else |
8b0f1c20 | 27 | lose_these_too="ChangeLog.gm ${lose_these_too}" |
a92c5906 SS |
28 | fi |
29 | ||
08942d11 RP |
30 | # All files listed between the "Things-to-keep:" line and the |
31 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
32 | # Directories listed in this section will have their own Sanitize | |
33 | # called. Directories not listed will be removed in their entirety | |
34 | # with rm -rf. | |
35 | ||
36 | Things-to-keep: | |
87756e15 | 37 | |
08942d11 RP |
38 | COPYING |
39 | ChangeLog | |
ceeca31c | 40 | ChangeLog.1 |
08942d11 | 41 | Makefile.in |
c3e964b9 | 42 | PORTING |
08942d11 | 43 | TODO |
8c1891af | 44 | VERSION |
60ac749c | 45 | aix386-core.c |
c3e964b9 FF |
46 | aout-adobe.c |
47 | aout-encap.c | |
48 | aout-target.h | |
77d11284 | 49 | aout0.c |
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 | |
5d70e4d1 | 64 | cisco-core.c |
156e3852 | 65 | coff-a29k.c |
c3e964b9 | 66 | coff-alpha.c |
97eb2f0c | 67 | coff-apollo.c |
c06e55d9 | 68 | coff-go32.c |
71e34032 | 69 | coff-h8300.c |
ff975a2c | 70 | coff-h8500.c |
156e3852 JG |
71 | coff-i386.c |
72 | coff-i960.c | |
c3e964b9 | 73 | coff-m68k.c |
156e3852 JG |
74 | coff-m88k.c |
75 | coff-mips.c | |
76 | coff-rs6000.c | |
9faacb92 | 77 | coff-sh.c |
e3b5bfa8 | 78 | coff-sparc.c |
df61743d | 79 | coff-u68k.c |
c7551f76 | 80 | coff-we32k.c |
d41ab714 | 81 | coff-z8k.c |
08942d11 | 82 | coffcode.h |
075caafd ILT |
83 | coffgen.c |
84 | coffswap.h | |
fb1c4481 | 85 | config |
14616002 | 86 | config.bfd |
13b351cc | 87 | configure.bat |
5a5fa368 | 88 | configure.host |
c3e964b9 | 89 | configure.in |
6f715d66 | 90 | core.c |
c3e964b9 FF |
91 | cpu-a29k.c |
92 | cpu-alpha.c | |
93 | cpu-h8300.c | |
94 | cpu-h8500.c | |
95 | cpu-hppa.c | |
96 | cpu-i386.c | |
97 | cpu-i960.c | |
98 | cpu-m68k.c | |
99 | cpu-m88k.c | |
100 | cpu-mips.c | |
384c1791 | 101 | cpu-powerpc.c |
c3e964b9 FF |
102 | cpu-rs6000.c |
103 | cpu-sh.c | |
104 | cpu-sparc.c | |
105 | cpu-vax.c | |
106 | cpu-we32k.c | |
107 | cpu-z8k.c | |
108 | ctor.c | |
08942d11 | 109 | demo64.c |
97eb2f0c | 110 | dep-in.sed |
c3e964b9 | 111 | doc |
dae31cf5 | 112 | ecoff.c |
71efdf83 | 113 | ecofflink.c |
dae31cf5 | 114 | ecoffswap.h |
cef91d75 | 115 | elf.c |
d39d83c1 | 116 | elf32-gen.c |
c268b400 KR |
117 | elf32-hppa.c |
118 | elf32-hppa.h | |
4743848f KR |
119 | elf32-i386.c |
120 | elf32-i860.c | |
121 | elf32-m68k.c | |
2c4f2c72 JK |
122 | elf32-m88k.c |
123 | elf32-mips.c | |
45ccfd58 | 124 | elf32-ppc.c |
8d936d1f | 125 | elf32-sparc.c |
4743848f KR |
126 | elf32-target.h |
127 | elf32.c | |
d39d83c1 | 128 | elf64-gen.c |
66599384 | 129 | elf64-sparc.c |
b864c03c | 130 | elf64-target.h |
4bf86ecb | 131 | elf64.c |
ef7e172e | 132 | elfcode.h |
08942d11 | 133 | filemode.c |
6f715d66 | 134 | format.c |
608de555 | 135 | gen-aout.c |
da6b2d99 ILT |
136 | genlink.h |
137 | hash.c | |
08942d11 | 138 | host-aout.c |
90c7c720 | 139 | hosts |
c3e964b9 | 140 | hp300bsd.c |
c268b400 | 141 | hp300hpux.c |
cef91d75 | 142 | hppa_stubs.h |
8a71bf96 | 143 | hppabsd-core.c |
3f933620 | 144 | hpux-core.c |
b7de6963 | 145 | i386aout.c |
256b39e0 | 146 | i386bsd.c |
bdf1b511 | 147 | i386dynix.c |
afff60cd | 148 | i386linux.c |
aef0bd99 | 149 | i386lynx.c |
890eafc0 | 150 | i386mach3.c |
f8ffa548 | 151 | i386os9k.c |
08942d11 | 152 | ieee.c |
c3e964b9 | 153 | init.c |
7ce1a446 | 154 | irix-core.c |
141c97ea | 155 | libaout.h |
901c5bfd | 156 | libbfd-in.h |
08942d11 RP |
157 | libbfd.c |
158 | libbfd.h | |
901c5bfd | 159 | libcoff-in.h |
08942d11 | 160 | libcoff.h |
a3b3dbdd | 161 | libecoff.h |
c3e964b9 | 162 | libelf.h |
76b731f9 | 163 | libhppa.h |
08942d11 | 164 | libieee.h |
c3e964b9 | 165 | libnlm.h |
08942d11 | 166 | liboasys.h |
da6b2d99 | 167 | linker.c |
3151f12f | 168 | lynx-core.c |
eefe075d | 169 | m68klynx.c |
044c1ba9 | 170 | mipsbsd.c |
08942d11 | 171 | newsos3.c |
fbd5481a | 172 | netbsd386.c |
d1f83f44 | 173 | nlm-target.h |
c3e964b9 | 174 | nlm.c |
1bbabdad | 175 | nlm32-alpha.c |
8fa7a236 | 176 | nlm32-i386.c |
7ce8b9d1 | 177 | nlm32-ppc.c |
38f422db | 178 | nlm32-sparc.c |
c3e964b9 | 179 | nlm32.c |
c3e964b9 FF |
180 | nlm64.c |
181 | nlmcode.h | |
38f422db | 182 | nlmswap.h |
08942d11 RP |
183 | oasys.c |
184 | opncls.c | |
4346ee0f | 185 | osf-core.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. |