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