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 |
0fd8d5d9 RP |
46 | ho-hpux.h |
47 | ho-i386.h | |
cd625bf3 | 48 | ho-i386aix.h |
ed364bb6 | 49 | ho-irix.h |
a4099f78 | 50 | ho-mipsbsd.h |
0fd8d5d9 RP |
51 | ho-rs6000.h |
52 | ho-sun3.h | |
53 | ho-sun386.h | |
54 | ho-sun4.h | |
55 | ho-sunos.h | |
56 | ho-sysv.h | |
57 | ho-vax.h | |
b41390d2 | 58 | ho-vms.h |
6066ebad | 59 | i386coff.mt |
cd625bf3 | 60 | m68k.mt |
3ad9ec6a | 61 | m68kcoff.mt |
cd625bf3 DHW |
62 | m88k-opcode.h |
63 | m88k.patches | |
e99f6f9c ILT |
64 | mips-big.mt |
65 | mips-lit.mt | |
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 |
d4ac2d09 KR |
117 | tc-sparc64.c |
118 | tc-sparc64.h | |
af3b5ad2 KR |
119 | tc-tahoe.c |
120 | tc-tahoe.h | |
0fd8d5d9 RP |
121 | tc-vax.c |
122 | tc-vax.h | |
163107a1 SC |
123 | tc-z8k.c |
124 | tc-z8k.h | |
daae8c92 | 125 | te-386bsd.h |
0fd8d5d9 RP |
126 | te-dpx2.h |
127 | te-generic.h | |
daae8c92 KR |
128 | te-hp300.h |
129 | te-hppa.h | |
cd625bf3 | 130 | te-i386aix.h |
0fd8d5d9 | 131 | te-ic960.h |
d5bc3215 | 132 | te-irix.h |
daae8c92 | 133 | te-linux.h |
0fd8d5d9 | 134 | te-sco386.h |
0fd8d5d9 | 135 | te-sun3.h |
920babce | 136 | te-sysv32.h |
0fd8d5d9 | 137 | vax-inst.h |
163107a1 | 138 | z8k.mt |
0fd8d5d9 | 139 | |
87756e15 RP |
140 | Things-to-lose: |
141 | ||
68de1b23 SC |
142 | |
143 | ||
0fd8d5d9 RP |
144 | Do-last: |
145 | ||
146 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
dee576a0 | 147 | echo Keeping tc-sparc64 and v9 stuff in tc-sparc.c obj-elf.h. |
0fd8d5d9 RP |
148 | else |
149 | echo Cleaning tc-sparc.c... | |
150 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
3116e6cf RP |
151 | if [ -n "${safe}" ] ; then |
152 | cp tc-sparc.c .Recover | |
153 | fi | |
0fd8d5d9 | 154 | mv new tc-sparc.c |
dee576a0 KR |
155 | echo Cleaning obj-elf.h... |
156 | grep -v v9 < obj-elf.h > new | |
157 | if [ -n "${safe}" ] ; then | |
158 | cp obj-elf.h .Recover | |
159 | fi | |
160 | mv new obj-elf.h | |
d4ac2d09 KR |
161 | echo Deleting tc-sparc64 files. |
162 | rm -f tc-sparc64.c tc-sparc64.h | |
0fd8d5d9 RP |
163 | fi |
164 | ||
0fd8d5d9 | 165 | # End of file. |