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