Commit | Line | Data |
---|---|---|
4f5d16c7 | 1 | # .Sanitize for devo/gas/config |
0fd8d5d9 | 2 | |
4f5d16c7 | 3 | # Each directory to survive its way into a release will need a file |
0fd8d5d9 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 | |
14 | # done in this | |
15 | ||
16 | Do-first: | |
17 | ||
833c46e1 | 18 | rce_files="tc-rce.c tc-rce.h" |
d94aca1a | 19 | |
edf72895 MT |
20 | if ( echo $* | grep keep\-rce > /dev/null ) ; then |
21 | keep_these_too="${rce_files} ${keep_these_too}" | |
d94aca1a | 22 | else |
edf72895 | 23 | lose_these_too="${rce_files} ${lose_these_too}" |
d94aca1a MT |
24 | fi |
25 | ||
833c46e1 | 26 | arc_files="tc-arc.c tc-arc.h" |
bc70eba5 DE |
27 | |
28 | if ( echo $* | grep keep\-arc > /dev/null ) ; then | |
29 | keep_these_too="${arc_files} ${keep_these_too}" | |
30 | else | |
31 | lose_these_too="${arc_files} ${lose_these_too}" | |
32 | fi | |
33 | ||
0fd8d5d9 RP |
34 | # All files listed between the "Things-to-keep:" line and the |
35 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
36 | # Directories listed in this section will have their own Sanitize | |
37 | # called. Directories not listed will be removed in their entirety | |
38 | # with rm -rf. | |
39 | ||
40 | Things-to-keep: | |
41 | ||
3e6e09c0 | 42 | aout_gnu.h |
5749c497 | 43 | alpha-opcode.h |
0fd8d5d9 | 44 | atof-ieee.c |
b41390d2 | 45 | atof-tahoe.c |
0fd8d5d9 | 46 | atof-vax.c |
cd8aca19 | 47 | go32.cfg |
511cd41c KR |
48 | e-mipsecoff.c |
49 | e-mipself.c | |
6066ebad | 50 | i386coff.mt |
3ad9ec6a | 51 | m68kcoff.mt |
cd625bf3 | 52 | m88k-opcode.h |
77a401e2 | 53 | m88kcoff.mt |
e99f6f9c ILT |
54 | mips-big.mt |
55 | mips-lit.mt | |
0fd8d5d9 RP |
56 | obj-aout.c |
57 | obj-aout.h | |
0fd8d5d9 RP |
58 | obj-bout.c |
59 | obj-bout.h | |
60 | obj-coff.c | |
61 | obj-coff.h | |
e99f6f9c ILT |
62 | obj-ecoff.c |
63 | obj-ecoff.h | |
a4099f78 KR |
64 | obj-elf.c |
65 | obj-elf.h | |
0fd8d5d9 RP |
66 | obj-generic.c |
67 | obj-generic.h | |
daae8c92 KR |
68 | obj-hp300.c |
69 | obj-hp300.h | |
fd345c9c SC |
70 | obj-ieee.c |
71 | obj-ieee.h | |
511cd41c KR |
72 | obj-multi.c |
73 | obj-multi.h | |
0fa747c4 JL |
74 | obj-som.c |
75 | obj-som.h | |
b41390d2 KR |
76 | obj-vms.c |
77 | obj-vms.h | |
8370e93e MM |
78 | ppc-big.mt |
79 | ppc-lit.mt | |
0fd8d5d9 RP |
80 | tc-a29k.c |
81 | tc-a29k.h | |
5749c497 KR |
82 | tc-alpha.c |
83 | tc-alpha.h | |
6c3bc2b8 KR |
84 | tc-arm.c |
85 | tc-arm.h | |
0fd8d5d9 RP |
86 | tc-generic.c |
87 | tc-generic.h | |
fd345c9c SC |
88 | tc-h8300.c |
89 | tc-h8300.h | |
033400ec SC |
90 | tc-h8500.c |
91 | tc-h8500.h | |
daae8c92 KR |
92 | tc-hppa.c |
93 | tc-hppa.h | |
0fd8d5d9 RP |
94 | tc-i386.c |
95 | tc-i386.h | |
96 | tc-i860.c | |
97 | tc-i860.h | |
98 | tc-i960.c | |
99 | tc-i960.h | |
100 | tc-m68851.h | |
101 | tc-m68k.c | |
102 | tc-m68k.h | |
cd625bf3 DHW |
103 | tc-m88k.c |
104 | tc-m88k.h | |
fd345c9c SC |
105 | tc-mips.c |
106 | tc-mips.h | |
0fd8d5d9 RP |
107 | tc-ns32k.c |
108 | tc-ns32k.h | |
af46c203 ILT |
109 | tc-ppc.c |
110 | tc-ppc.h | |
4a1bbbe7 SC |
111 | tc-sh.c |
112 | tc-sh.h | |
6690d829 | 113 | tc-sparc.c |
920babce | 114 | tc-sparc.h |
af3b5ad2 KR |
115 | tc-tahoe.c |
116 | tc-tahoe.h | |
0fd8d5d9 RP |
117 | tc-vax.c |
118 | tc-vax.h | |
b3235d56 SC |
119 | tc-w65.c |
120 | tc-w65.h | |
163107a1 SC |
121 | tc-z8k.c |
122 | tc-z8k.h | |
daae8c92 | 123 | te-386bsd.h |
757d4129 | 124 | te-delta.h |
0fd8d5d9 RP |
125 | te-dpx2.h |
126 | te-generic.h | |
cd8aca19 | 127 | te-go32.h |
daae8c92 KR |
128 | te-hp300.h |
129 | te-hppa.h | |
cd625bf3 | 130 | te-i386aix.h |
0fd8d5d9 | 131 | te-ic960.h |
daae8c92 | 132 | te-linux.h |
d0c25cae | 133 | te-lynx.h |
5efa30fa | 134 | te-mach.h |
511cd41c | 135 | te-multi.h |
04050d57 | 136 | te-nbsd.h |
d5a0eeac | 137 | te-nbsd532.h |
f68880ea | 138 | te-pc532mach.h |
cd8aca19 | 139 | te-ppcnw.h |
0fd8d5d9 | 140 | te-sco386.h |
0fd8d5d9 | 141 | te-sun3.h |
920babce | 142 | te-sysv32.h |
0fd8d5d9 | 143 | vax-inst.h |
ba466c4c | 144 | vms-conf.h |
0fd8d5d9 | 145 | |
87756e15 RP |
146 | Things-to-lose: |
147 | ||
0fd8d5d9 RP |
148 | Do-last: |
149 | ||
f68880ea KR |
150 | i960xl_files=tc-i960.c |
151 | if ( echo $* | grep keep\-i960xl > /dev/null ) ; then | |
152 | if [ -n "${verbose}" ] ; then | |
153 | echo Keeping i960xl stuff in $i960xl_files. | |
154 | fi | |
155 | else | |
156 | if [ -n "${verbose}" ]; then | |
157 | echo -n Cleaning i960xl in `pwd`: | |
158 | fi | |
159 | for f in $i960xl_files ; do | |
160 | if [ -n "${verbose}" ] ; then | |
161 | echo -n " " $f | |
162 | fi | |
163 | grep -v XL < $f > new | |
164 | if [ -n "${safe}" ] ; then | |
165 | mv $f .Recover | |
166 | fi | |
167 | mv new $f | |
168 | done | |
169 | fi | |
170 | ||
0fd8d5d9 | 171 | # End of file. |