]>
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 | ||
0fd8d5d9 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: | |
25 | ||
3e6e09c0 | 26 | aout_gnu.h |
5749c497 | 27 | alpha-opcode.h |
0fd8d5d9 | 28 | atof-ieee.c |
b41390d2 | 29 | atof-tahoe.c |
0fd8d5d9 | 30 | atof-vax.c |
0fd8d5d9 | 31 | cplus-dem.c |
c794f0aa | 32 | go32.mh |
cd625bf3 | 33 | h8300.mt |
033400ec | 34 | h8500.mt |
6066ebad | 35 | i386coff.mt |
cd625bf3 | 36 | m68k.mt |
3ad9ec6a | 37 | m68kcoff.mt |
cd625bf3 | 38 | m88k-opcode.h |
77a401e2 | 39 | m88kcoff.mt |
e99f6f9c ILT |
40 | mips-big.mt |
41 | mips-lit.mt | |
0fd8d5d9 RP |
42 | obj-aout.c |
43 | obj-aout.h | |
0fd8d5d9 RP |
44 | obj-bout.c |
45 | obj-bout.h | |
46 | obj-coff.c | |
47 | obj-coff.h | |
e99f6f9c ILT |
48 | obj-ecoff.c |
49 | obj-ecoff.h | |
a4099f78 KR |
50 | obj-elf.c |
51 | obj-elf.h | |
0fd8d5d9 RP |
52 | obj-generic.c |
53 | obj-generic.h | |
daae8c92 KR |
54 | obj-hp300.c |
55 | obj-hp300.h | |
fd345c9c SC |
56 | obj-ieee.c |
57 | obj-ieee.h | |
0fa747c4 JL |
58 | obj-som.c |
59 | obj-som.h | |
b41390d2 KR |
60 | obj-vms.c |
61 | obj-vms.h | |
4a1bbbe7 | 62 | sh.mt |
0fd8d5d9 RP |
63 | tc-a29k.c |
64 | tc-a29k.h | |
5749c497 KR |
65 | tc-alpha.c |
66 | tc-alpha.h | |
6c3bc2b8 KR |
67 | tc-arm.c |
68 | tc-arm.h | |
0fd8d5d9 RP |
69 | tc-generic.c |
70 | tc-generic.h | |
fd345c9c SC |
71 | tc-h8300.c |
72 | tc-h8300.h | |
033400ec SC |
73 | tc-h8500.c |
74 | tc-h8500.h | |
daae8c92 KR |
75 | tc-hppa.c |
76 | tc-hppa.h | |
0fd8d5d9 RP |
77 | tc-i386.c |
78 | tc-i386.h | |
79 | tc-i860.c | |
80 | tc-i860.h | |
81 | tc-i960.c | |
82 | tc-i960.h | |
83 | tc-m68851.h | |
84 | tc-m68k.c | |
85 | tc-m68k.h | |
cd625bf3 DHW |
86 | tc-m88k.c |
87 | tc-m88k.h | |
fd345c9c SC |
88 | tc-mips.c |
89 | tc-mips.h | |
0fd8d5d9 RP |
90 | tc-ns32k.c |
91 | tc-ns32k.h | |
af46c203 ILT |
92 | tc-ppc.c |
93 | tc-ppc.h | |
4a1bbbe7 SC |
94 | tc-sh.c |
95 | tc-sh.h | |
6690d829 | 96 | tc-sparc.c |
920babce | 97 | tc-sparc.h |
af3b5ad2 KR |
98 | tc-tahoe.c |
99 | tc-tahoe.h | |
0fd8d5d9 RP |
100 | tc-vax.c |
101 | tc-vax.h | |
163107a1 SC |
102 | tc-z8k.c |
103 | tc-z8k.h | |
daae8c92 | 104 | te-386bsd.h |
0fd8d5d9 RP |
105 | te-dpx2.h |
106 | te-generic.h | |
daae8c92 KR |
107 | te-hp300.h |
108 | te-hppa.h | |
cd625bf3 | 109 | te-i386aix.h |
0fd8d5d9 | 110 | te-ic960.h |
daae8c92 | 111 | te-linux.h |
d0c25cae | 112 | te-lynx.h |
5efa30fa | 113 | te-mach.h |
34e4120b | 114 | te-netbsd.h |
f68880ea KR |
115 | te-netbsd532.h |
116 | te-pc532mach.h | |
0fd8d5d9 | 117 | te-sco386.h |
0fd8d5d9 | 118 | te-sun3.h |
920babce | 119 | te-sysv32.h |
0fd8d5d9 | 120 | vax-inst.h |
ba466c4c | 121 | vms-conf.h |
163107a1 | 122 | z8k.mt |
0fd8d5d9 | 123 | |
87756e15 RP |
124 | Things-to-lose: |
125 | ||
0fd8d5d9 RP |
126 | Do-last: |
127 | ||
f68880ea KR |
128 | i960xl_files=tc-i960.c |
129 | if ( echo $* | grep keep\-i960xl > /dev/null ) ; then | |
130 | if [ -n "${verbose}" ] ; then | |
131 | echo Keeping i960xl stuff in $i960xl_files. | |
132 | fi | |
133 | else | |
134 | if [ -n "${verbose}" ]; then | |
135 | echo -n Cleaning i960xl in `pwd`: | |
136 | fi | |
137 | for f in $i960xl_files ; do | |
138 | if [ -n "${verbose}" ] ; then | |
139 | echo -n " " $f | |
140 | fi | |
141 | grep -v XL < $f > new | |
142 | if [ -n "${safe}" ] ; then | |
143 | mv $f .Recover | |
144 | fi | |
145 | mv new $f | |
146 | done | |
147 | fi | |
148 | ||
0fd8d5d9 | 149 | # End of file. |