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 | ||
4f5d16c7 SS |
18 | if ( echo $* | grep keep\-mpw > /dev/null ) ; then |
19 | keep_these_too="ho-mpw.h" | |
2a79b202 SS |
20 | else |
21 | lose_these_too="ho-mpw.h" | |
4f5d16c7 | 22 | fi |
4a1bbbe7 | 23 | |
0fd8d5d9 RP |
24 | # All files listed between the "Things-to-keep:" line and the |
25 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
26 | # Directories listed in this section will have their own Sanitize | |
27 | # called. Directories not listed will be removed in their entirety | |
28 | # with rm -rf. | |
29 | ||
30 | Things-to-keep: | |
31 | ||
3e6e09c0 | 32 | aout_gnu.h |
5749c497 | 33 | alpha-opcode.h |
0fd8d5d9 | 34 | atof-ieee.c |
b41390d2 | 35 | atof-tahoe.c |
0fd8d5d9 | 36 | atof-vax.c |
0fd8d5d9 | 37 | cplus-dem.c |
c794f0aa | 38 | go32.mh |
cd625bf3 | 39 | h8300.mt |
033400ec | 40 | h8500.mt |
0fd8d5d9 | 41 | ho-ansi.h |
30d17c7e | 42 | ho-decstatn.h |
0fd8d5d9 | 43 | ho-generic.h |
abca39c1 | 44 | ho-go32.h |
31fb7d23 | 45 | ho-hppabsd.h |
28409e91 | 46 | ho-hppaosf.h |
0fd8d5d9 RP |
47 | ho-hpux.h |
48 | ho-i386.h | |
cd625bf3 | 49 | ho-i386aix.h |
ed364bb6 | 50 | ho-irix.h |
75ec0c90 | 51 | ho-mach3.h |
a4099f78 | 52 | ho-mipsbsd.h |
0fd8d5d9 RP |
53 | ho-rs6000.h |
54 | ho-sun3.h | |
55 | ho-sun386.h | |
56 | ho-sun4.h | |
57 | ho-sunos.h | |
58 | ho-sysv.h | |
59 | ho-vax.h | |
fce98d63 | 60 | ho-vsta.h |
b41390d2 | 61 | ho-vms.h |
6066ebad | 62 | i386coff.mt |
cd625bf3 | 63 | m68k.mt |
3ad9ec6a | 64 | m68kcoff.mt |
cd625bf3 | 65 | m88k-opcode.h |
77a401e2 | 66 | m88kcoff.mt |
e99f6f9c ILT |
67 | mips-big.mt |
68 | mips-lit.mt | |
0fd8d5d9 RP |
69 | obj-aout.c |
70 | obj-aout.h | |
0fd8d5d9 RP |
71 | obj-bout.c |
72 | obj-bout.h | |
73 | obj-coff.c | |
74 | obj-coff.h | |
e99f6f9c ILT |
75 | obj-ecoff.c |
76 | obj-ecoff.h | |
a4099f78 KR |
77 | obj-elf.c |
78 | obj-elf.h | |
0fd8d5d9 RP |
79 | obj-generic.c |
80 | obj-generic.h | |
daae8c92 KR |
81 | obj-hp300.c |
82 | obj-hp300.h | |
fd345c9c SC |
83 | obj-ieee.c |
84 | obj-ieee.h | |
0fa747c4 JL |
85 | obj-som.c |
86 | obj-som.h | |
b41390d2 KR |
87 | obj-vms.c |
88 | obj-vms.h | |
4a1bbbe7 | 89 | sh.mt |
0fd8d5d9 RP |
90 | tc-a29k.c |
91 | tc-a29k.h | |
5749c497 KR |
92 | tc-alpha.c |
93 | tc-alpha.h | |
6c3bc2b8 KR |
94 | tc-arm.c |
95 | tc-arm.h | |
0fd8d5d9 RP |
96 | tc-generic.c |
97 | tc-generic.h | |
fd345c9c SC |
98 | tc-h8300.c |
99 | tc-h8300.h | |
033400ec SC |
100 | tc-h8500.c |
101 | tc-h8500.h | |
daae8c92 KR |
102 | tc-hppa.c |
103 | tc-hppa.h | |
0fd8d5d9 RP |
104 | tc-i386.c |
105 | tc-i386.h | |
106 | tc-i860.c | |
107 | tc-i860.h | |
108 | tc-i960.c | |
109 | tc-i960.h | |
110 | tc-m68851.h | |
111 | tc-m68k.c | |
112 | tc-m68k.h | |
cd625bf3 DHW |
113 | tc-m88k.c |
114 | tc-m88k.h | |
fd345c9c SC |
115 | tc-mips.c |
116 | tc-mips.h | |
0fd8d5d9 RP |
117 | tc-ns32k.c |
118 | tc-ns32k.h | |
af46c203 ILT |
119 | tc-ppc.c |
120 | tc-ppc.h | |
4a1bbbe7 SC |
121 | tc-sh.c |
122 | tc-sh.h | |
6690d829 | 123 | tc-sparc.c |
920babce | 124 | tc-sparc.h |
af3b5ad2 KR |
125 | tc-tahoe.c |
126 | tc-tahoe.h | |
0fd8d5d9 RP |
127 | tc-vax.c |
128 | tc-vax.h | |
163107a1 SC |
129 | tc-z8k.c |
130 | tc-z8k.h | |
daae8c92 | 131 | te-386bsd.h |
0fd8d5d9 RP |
132 | te-dpx2.h |
133 | te-generic.h | |
daae8c92 KR |
134 | te-hp300.h |
135 | te-hppa.h | |
cd625bf3 | 136 | te-i386aix.h |
0fd8d5d9 | 137 | te-ic960.h |
daae8c92 | 138 | te-linux.h |
d0c25cae | 139 | te-lynx.h |
5efa30fa | 140 | te-mach.h |
34e4120b | 141 | te-netbsd.h |
f68880ea KR |
142 | te-netbsd532.h |
143 | te-pc532mach.h | |
0fd8d5d9 | 144 | te-sco386.h |
0fd8d5d9 | 145 | te-sun3.h |
920babce | 146 | te-sysv32.h |
0fd8d5d9 | 147 | vax-inst.h |
163107a1 | 148 | z8k.mt |
0fd8d5d9 | 149 | |
87756e15 RP |
150 | Things-to-lose: |
151 | ||
0fd8d5d9 RP |
152 | Do-last: |
153 | ||
f68880ea KR |
154 | i960xl_files=tc-i960.c |
155 | if ( echo $* | grep keep\-i960xl > /dev/null ) ; then | |
156 | if [ -n "${verbose}" ] ; then | |
157 | echo Keeping i960xl stuff in $i960xl_files. | |
158 | fi | |
159 | else | |
160 | if [ -n "${verbose}" ]; then | |
161 | echo -n Cleaning i960xl in `pwd`: | |
162 | fi | |
163 | for f in $i960xl_files ; do | |
164 | if [ -n "${verbose}" ] ; then | |
165 | echo -n " " $f | |
166 | fi | |
167 | grep -v XL < $f > new | |
168 | if [ -n "${safe}" ] ; then | |
169 | mv $f .Recover | |
170 | fi | |
171 | mv new $f | |
172 | done | |
173 | fi | |
174 | ||
0fd8d5d9 | 175 | # End of file. |