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 RP |
20 | |
21 | # All files listed between the "Things-to-keep:" line and the | |
22 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
23 | # Directories listed in this section will have their own Sanitize | |
24 | # called. Directories not listed will be removed in their entirety | |
25 | # with rm -rf. | |
26 | ||
27 | Things-to-keep: | |
28 | ||
3e6e09c0 | 29 | aout_gnu.h |
0fd8d5d9 | 30 | atof-ieee.c |
e219aa78 | 31 | atof-ns32k.c |
b41390d2 | 32 | atof-tahoe.c |
0fd8d5d9 | 33 | atof-vax.c |
3e6e09c0 | 34 | coff_gnu.h |
0fd8d5d9 | 35 | cplus-dem.c |
cd625bf3 DHW |
36 | ebmon29k.mt |
37 | h8300.mt | |
033400ec | 38 | h8500.mt |
cd625bf3 | 39 | h8300hds.mt |
0fd8d5d9 | 40 | ho-ansi.h |
a71150bd | 41 | ho-decstation.h |
0fd8d5d9 | 42 | ho-generic.h |
abca39c1 | 43 | ho-go32.h |
0fd8d5d9 RP |
44 | ho-hpux.h |
45 | ho-i386.h | |
cd625bf3 | 46 | ho-i386aix.h |
a4099f78 | 47 | ho-mipsbsd.h |
0fd8d5d9 RP |
48 | ho-rs6000.h |
49 | ho-sun3.h | |
50 | ho-sun386.h | |
51 | ho-sun4.h | |
52 | ho-sunos.h | |
53 | ho-sysv.h | |
54 | ho-vax.h | |
b41390d2 | 55 | ho-vms.h |
6066ebad | 56 | i386coff.mt |
cd625bf3 | 57 | m68k.mt |
3ad9ec6a | 58 | m68kcoff.mt |
cd625bf3 DHW |
59 | m88k-opcode.h |
60 | m88k.patches | |
44c56725 | 61 | mips-opcode.h |
0fd8d5d9 RP |
62 | obj-aout.c |
63 | obj-aout.h | |
64 | obj-bfd-sunos.c | |
65 | obj-bfd-sunos.h | |
66 | obj-bout.c | |
67 | obj-bout.h | |
68 | obj-coff.c | |
69 | obj-coff.h | |
29a86403 SC |
70 | obj-coffbfd.c |
71 | obj-coffbfd.h | |
a4099f78 KR |
72 | obj-elf.c |
73 | obj-elf.h | |
0fd8d5d9 RP |
74 | obj-generic.c |
75 | obj-generic.h | |
fd345c9c SC |
76 | obj-ieee.c |
77 | obj-ieee.h | |
b41390d2 KR |
78 | obj-vms.c |
79 | obj-vms.h | |
01aec199 | 80 | sparc.mt |
0fd8d5d9 RP |
81 | tc-a29k.c |
82 | tc-a29k.h | |
83 | tc-generic.c | |
84 | tc-generic.h | |
fd345c9c SC |
85 | tc-h8300.c |
86 | tc-h8300.h | |
033400ec SC |
87 | tc-h8500.c |
88 | tc-h8500.h | |
0fd8d5d9 RP |
89 | tc-i386.c |
90 | tc-i386.h | |
91 | tc-i860.c | |
92 | tc-i860.h | |
93 | tc-i960.c | |
94 | tc-i960.h | |
95 | tc-m68851.h | |
96 | tc-m68k.c | |
97 | tc-m68k.h | |
cd625bf3 DHW |
98 | tc-m88k.c |
99 | tc-m88k.h | |
fd345c9c SC |
100 | tc-mips.c |
101 | tc-mips.h | |
0fd8d5d9 RP |
102 | tc-ns32k.c |
103 | tc-ns32k.h | |
920babce RP |
104 | tc-rs6000.c |
105 | tc-rs6000.h | |
6690d829 | 106 | tc-sparc.c |
920babce | 107 | tc-sparc.h |
af3b5ad2 KR |
108 | tc-tahoe.c |
109 | tc-tahoe.h | |
0fd8d5d9 RP |
110 | tc-vax.c |
111 | tc-vax.h | |
163107a1 SC |
112 | tc-z8k.c |
113 | tc-z8k.h | |
0fd8d5d9 RP |
114 | te-dpx2.h |
115 | te-generic.h | |
cd625bf3 | 116 | te-i386aix.h |
0fd8d5d9 | 117 | te-ic960.h |
0fd8d5d9 | 118 | te-sco386.h |
0fd8d5d9 | 119 | te-sun3.h |
920babce | 120 | te-sysv32.h |
0fd8d5d9 | 121 | vax-inst.h |
163107a1 | 122 | z8k.mt |
0fd8d5d9 | 123 | |
68de1b23 SC |
124 | |
125 | ||
0fd8d5d9 RP |
126 | Do-last: |
127 | ||
128 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
129 | echo Keeping v9 stuff in tc-sparc.c. | |
130 | else | |
131 | echo Cleaning tc-sparc.c... | |
132 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
3116e6cf RP |
133 | if [ -n "${safe}" ] ; then |
134 | cp tc-sparc.c .Recover | |
135 | fi | |
0fd8d5d9 RP |
136 | mv new tc-sparc.c |
137 | fi | |
138 | ||
0fd8d5d9 | 139 | # End of file. |