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