]>
Commit | Line | Data |
---|---|---|
0fd8d5d9 RP |
1 | # Sanitize.in for devo. |
2 | # $Id$ | |
3 | # | |
4 | ||
5 | # Each directory to survive it's way into a release will need a file | |
6 | # like this one called "./.Sanitize". All keyword lines must exist, | |
7 | # and must exist in the order specified by this file. Each directory | |
8 | # in the tree will be processed, top down, in the following order. | |
9 | ||
10 | # Hash started lines like this one are comments and will be deleted | |
11 | # before anything else is done. Blank lines will also be squashed | |
12 | # out. | |
13 | ||
14 | # The lines between the "Do-first:" line and the "Things-to-keep:" | |
15 | # line are executed as a /bin/sh shell script before anything else is | |
16 | # done in this | |
17 | ||
18 | Do-first: | |
19 | ||
0fd8d5d9 | 20 | |
4a1bbbe7 | 21 | |
0fd8d5d9 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: | |
29 | ||
3e6e09c0 | 30 | aout_gnu.h |
0fd8d5d9 | 31 | atof-ieee.c |
e219aa78 | 32 | atof-ns32k.c |
b41390d2 | 33 | atof-tahoe.c |
0fd8d5d9 | 34 | atof-vax.c |
3e6e09c0 | 35 | coff_gnu.h |
0fd8d5d9 | 36 | cplus-dem.c |
cd625bf3 DHW |
37 | ebmon29k.mt |
38 | h8300.mt | |
033400ec | 39 | h8500.mt |
cd625bf3 | 40 | h8300hds.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 |
a4099f78 | 51 | ho-mipsbsd.h |
0fd8d5d9 RP |
52 | ho-rs6000.h |
53 | ho-sun3.h | |
54 | ho-sun386.h | |
55 | ho-sun4.h | |
56 | ho-sunos.h | |
57 | ho-sysv.h | |
58 | ho-vax.h | |
b41390d2 | 59 | ho-vms.h |
6066ebad | 60 | i386coff.mt |
cd625bf3 | 61 | m68k.mt |
3ad9ec6a | 62 | m68kcoff.mt |
cd625bf3 | 63 | m88k-opcode.h |
77a401e2 | 64 | m88kcoff.mt |
e99f6f9c ILT |
65 | mips-big.mt |
66 | mips-lit.mt | |
0fd8d5d9 RP |
67 | obj-aout.c |
68 | obj-aout.h | |
0fd8d5d9 RP |
69 | obj-bout.c |
70 | obj-bout.h | |
71 | obj-coff.c | |
72 | obj-coff.h | |
29a86403 SC |
73 | obj-coffbfd.c |
74 | obj-coffbfd.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 |
01aec199 | 90 | sparc.mt |
0fd8d5d9 RP |
91 | tc-a29k.c |
92 | tc-a29k.h | |
93 | tc-generic.c | |
94 | tc-generic.h | |
fd345c9c SC |
95 | tc-h8300.c |
96 | tc-h8300.h | |
033400ec SC |
97 | tc-h8500.c |
98 | tc-h8500.h | |
daae8c92 KR |
99 | tc-hppa.c |
100 | tc-hppa.h | |
0fd8d5d9 RP |
101 | tc-i386.c |
102 | tc-i386.h | |
103 | tc-i860.c | |
104 | tc-i860.h | |
105 | tc-i960.c | |
106 | tc-i960.h | |
107 | tc-m68851.h | |
108 | tc-m68k.c | |
109 | tc-m68k.h | |
cd625bf3 DHW |
110 | tc-m88k.c |
111 | tc-m88k.h | |
fd345c9c SC |
112 | tc-mips.c |
113 | tc-mips.h | |
0fd8d5d9 RP |
114 | tc-ns32k.c |
115 | tc-ns32k.h | |
4a1bbbe7 SC |
116 | tc-sh.c |
117 | tc-sh.h | |
6690d829 | 118 | tc-sparc.c |
920babce | 119 | tc-sparc.h |
d4ac2d09 KR |
120 | tc-sparc64.c |
121 | tc-sparc64.h | |
af3b5ad2 KR |
122 | tc-tahoe.c |
123 | tc-tahoe.h | |
0fd8d5d9 RP |
124 | tc-vax.c |
125 | tc-vax.h | |
163107a1 SC |
126 | tc-z8k.c |
127 | tc-z8k.h | |
daae8c92 | 128 | te-386bsd.h |
0fd8d5d9 RP |
129 | te-dpx2.h |
130 | te-generic.h | |
daae8c92 KR |
131 | te-hp300.h |
132 | te-hppa.h | |
cd625bf3 | 133 | te-i386aix.h |
0fd8d5d9 | 134 | te-ic960.h |
d5bc3215 | 135 | te-irix.h |
daae8c92 | 136 | te-linux.h |
d0c25cae | 137 | te-lynx.h |
0fd8d5d9 | 138 | te-sco386.h |
0fd8d5d9 | 139 | te-sun3.h |
920babce | 140 | te-sysv32.h |
0fd8d5d9 | 141 | vax-inst.h |
163107a1 | 142 | z8k.mt |
0fd8d5d9 | 143 | |
87756e15 RP |
144 | Things-to-lose: |
145 | ||
0fd8d5d9 RP |
146 | Do-last: |
147 | ||
148 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
535721d5 | 149 | echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h. |
0fd8d5d9 | 150 | else |
535721d5 | 151 | echo Cleaning `pwd`/tc-sparc.c... |
0fd8d5d9 | 152 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new |
3116e6cf RP |
153 | if [ -n "${safe}" ] ; then |
154 | cp tc-sparc.c .Recover | |
155 | fi | |
0fd8d5d9 | 156 | mv new tc-sparc.c |
535721d5 | 157 | echo Cleaning `pwd`/obj-elf.h... |
dee576a0 KR |
158 | grep -v v9 < obj-elf.h > new |
159 | if [ -n "${safe}" ] ; then | |
160 | cp obj-elf.h .Recover | |
161 | fi | |
162 | mv new obj-elf.h | |
535721d5 KR |
163 | echo Deleting tc-sparc64 files in `pwd`. |
164 | if [ -n "${safe}" ] ; then | |
165 | mv -f tc-sparc64.c tc-sparc64.h .Recover | |
166 | else | |
167 | rm -f tc-sparc64.c tc-sparc64.h | |
168 | fi | |
0fd8d5d9 RP |
169 | fi |
170 | ||
0fd8d5d9 | 171 | # End of file. |