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 |
0fd8d5d9 RP |
45 | ho-hpux.h |
46 | ho-i386.h | |
cd625bf3 | 47 | ho-i386aix.h |
ed364bb6 | 48 | ho-irix.h |
a4099f78 | 49 | ho-mipsbsd.h |
0fd8d5d9 RP |
50 | ho-rs6000.h |
51 | ho-sun3.h | |
52 | ho-sun386.h | |
53 | ho-sun4.h | |
54 | ho-sunos.h | |
55 | ho-sysv.h | |
56 | ho-vax.h | |
b41390d2 | 57 | ho-vms.h |
6066ebad | 58 | i386coff.mt |
cd625bf3 | 59 | m68k.mt |
3ad9ec6a | 60 | m68kcoff.mt |
cd625bf3 DHW |
61 | m88k-opcode.h |
62 | m88k.patches | |
e99f6f9c ILT |
63 | mips-big.mt |
64 | mips-lit.mt | |
44c56725 | 65 | mips-opcode.h |
0fd8d5d9 RP |
66 | obj-aout.c |
67 | obj-aout.h | |
0fd8d5d9 RP |
68 | obj-bout.c |
69 | obj-bout.h | |
70 | obj-coff.c | |
71 | obj-coff.h | |
29a86403 SC |
72 | obj-coffbfd.c |
73 | obj-coffbfd.h | |
e99f6f9c ILT |
74 | obj-ecoff.c |
75 | obj-ecoff.h | |
a4099f78 KR |
76 | obj-elf.c |
77 | obj-elf.h | |
0fd8d5d9 RP |
78 | obj-generic.c |
79 | obj-generic.h | |
daae8c92 KR |
80 | obj-hp300.c |
81 | obj-hp300.h | |
fd345c9c SC |
82 | obj-ieee.c |
83 | obj-ieee.h | |
b41390d2 KR |
84 | obj-vms.c |
85 | obj-vms.h | |
4a1bbbe7 | 86 | sh.mt |
01aec199 | 87 | sparc.mt |
0fd8d5d9 RP |
88 | tc-a29k.c |
89 | tc-a29k.h | |
90 | tc-generic.c | |
91 | tc-generic.h | |
fd345c9c SC |
92 | tc-h8300.c |
93 | tc-h8300.h | |
033400ec SC |
94 | tc-h8500.c |
95 | tc-h8500.h | |
daae8c92 KR |
96 | tc-hppa.c |
97 | tc-hppa.h | |
0fd8d5d9 RP |
98 | tc-i386.c |
99 | tc-i386.h | |
100 | tc-i860.c | |
101 | tc-i860.h | |
102 | tc-i960.c | |
103 | tc-i960.h | |
104 | tc-m68851.h | |
105 | tc-m68k.c | |
106 | tc-m68k.h | |
cd625bf3 DHW |
107 | tc-m88k.c |
108 | tc-m88k.h | |
fd345c9c SC |
109 | tc-mips.c |
110 | tc-mips.h | |
0fd8d5d9 RP |
111 | tc-ns32k.c |
112 | tc-ns32k.h | |
4a1bbbe7 SC |
113 | tc-sh.c |
114 | tc-sh.h | |
6690d829 | 115 | tc-sparc.c |
920babce | 116 | tc-sparc.h |
af3b5ad2 KR |
117 | tc-tahoe.c |
118 | tc-tahoe.h | |
0fd8d5d9 RP |
119 | tc-vax.c |
120 | tc-vax.h | |
163107a1 SC |
121 | tc-z8k.c |
122 | tc-z8k.h | |
daae8c92 | 123 | te-386bsd.h |
0fd8d5d9 RP |
124 | te-dpx2.h |
125 | te-generic.h | |
daae8c92 KR |
126 | te-hp300.h |
127 | te-hppa.h | |
cd625bf3 | 128 | te-i386aix.h |
0fd8d5d9 | 129 | te-ic960.h |
d5bc3215 | 130 | te-irix.h |
daae8c92 | 131 | te-linux.h |
0fd8d5d9 | 132 | te-sco386.h |
0fd8d5d9 | 133 | te-sun3.h |
920babce | 134 | te-sysv32.h |
0fd8d5d9 | 135 | vax-inst.h |
163107a1 | 136 | z8k.mt |
0fd8d5d9 | 137 | |
68de1b23 SC |
138 | |
139 | ||
0fd8d5d9 RP |
140 | Do-last: |
141 | ||
142 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
143 | echo Keeping v9 stuff in tc-sparc.c. | |
144 | else | |
145 | echo Cleaning tc-sparc.c... | |
146 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
3116e6cf RP |
147 | if [ -n "${safe}" ] ; then |
148 | cp tc-sparc.c .Recover | |
149 | fi | |
0fd8d5d9 RP |
150 | mv new tc-sparc.c |
151 | fi | |
152 | ||
0fd8d5d9 | 153 | # End of file. |