]>
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 | ||
20 | echo Sanitizing `pwd`... | |
21 | ||
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 | ||
30 | a.out.h | |
31 | atof-ieee.c | |
32 | atof-vax.c | |
33 | coff.gnu.h | |
34 | cplus-dem.c | |
0fd8d5d9 RP |
35 | ho-a29k.h |
36 | ho-ansi.h | |
37 | ho-cygnus.h | |
a71150bd | 38 | ho-decstation.h |
0fd8d5d9 RP |
39 | ho-generic.h |
40 | ho-hpux.h | |
41 | ho-i386.h | |
0fd8d5d9 RP |
42 | ho-rs6000.h |
43 | ho-sun3.h | |
44 | ho-sun386.h | |
45 | ho-sun4.h | |
46 | ho-sunos.h | |
47 | ho-sysv.h | |
48 | ho-vax.h | |
fd345c9c SC |
49 | mh-a29k |
50 | mh-cygnus | |
51 | mh-i386 | |
52 | mt-ebmon29k | |
869eb845 | 53 | mt-h8300hds |
fd345c9c | 54 | mt-h8300 |
fd345c9c SC |
55 | mt-m68k |
56 | mt-mips | |
0fd8d5d9 RP |
57 | obj-aout.c |
58 | obj-aout.h | |
59 | obj-bfd-sunos.c | |
60 | obj-bfd-sunos.h | |
61 | obj-bout.c | |
62 | obj-bout.h | |
63 | obj-coff.c | |
64 | obj-coff.h | |
29a86403 SC |
65 | obj-coffbfd.c |
66 | obj-coffbfd.h | |
0fd8d5d9 RP |
67 | obj-generic.c |
68 | obj-generic.h | |
fd345c9c SC |
69 | obj-ieee.c |
70 | obj-ieee.h | |
0fd8d5d9 RP |
71 | ranlib.h |
72 | signame.h | |
73 | stab.h | |
74 | tc-a29k.c | |
75 | tc-a29k.h | |
76 | tc-generic.c | |
77 | tc-generic.h | |
fd345c9c SC |
78 | tc-h8300.c |
79 | tc-h8300.h | |
0fd8d5d9 RP |
80 | tc-i386.c |
81 | tc-i386.h | |
82 | tc-i860.c | |
83 | tc-i860.h | |
84 | tc-i960.c | |
85 | tc-i960.h | |
86 | tc-m68851.h | |
87 | tc-m68k.c | |
88 | tc-m68k.h | |
20ec2f6c SC |
89 | tc-m68kmote.c |
90 | tc-m68kmote.h | |
fd345c9c SC |
91 | tc-mips.c |
92 | tc-mips.h | |
0fd8d5d9 RP |
93 | tc-ns32k.c |
94 | tc-ns32k.h | |
0fd8d5d9 | 95 | tc-sparc.h |
6690d829 | 96 | tc-sparc.c |
0fd8d5d9 RP |
97 | tc-vax.c |
98 | tc-vax.h | |
99 | te-dpx2.h | |
100 | te-generic.h | |
101 | te-ic960.h | |
102 | te-motor.h | |
103 | te-sco386.h | |
104 | te-sparc.h | |
105 | te-sun3.h | |
106 | te-unisoft.h | |
a71150bd | 107 | tmake-m68k |
0fd8d5d9 RP |
108 | vax-inst.h |
109 | vms | |
110 | ||
68de1b23 SC |
111 | |
112 | ||
0fd8d5d9 RP |
113 | Do-last: |
114 | ||
115 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
116 | echo Keeping v9 stuff in tc-sparc.c. | |
117 | else | |
118 | echo Cleaning tc-sparc.c... | |
119 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
3116e6cf RP |
120 | if [ -n "${safe}" ] ; then |
121 | cp tc-sparc.c .Recover | |
122 | fi | |
0fd8d5d9 RP |
123 | mv new tc-sparc.c |
124 | fi | |
125 | ||
126 | echo Done in `pwd`. | |
127 | ||
128 | # | |
129 | # | |
130 | # $Log$ | |
20ec2f6c SC |
131 | # Revision 1.13 1992/02/11 00:51:52 sac |
132 | # New files for MRI syntax assembler | |
133 | # | |
134 | # Revision 1.12 1991/12/12 03:34:31 sac | |
29a86403 SC |
135 | # renamed obj-coff-bfd to obj-coffbfd |
136 | # | |
137 | # Revision 1.11 1991/11/27 22:28:57 sac | |
869eb845 SC |
138 | # Added obj-coff-bfd* and mt-h8300hds |
139 | # | |
140 | # Revision 1.10 1991/11/26 02:16:55 sac | |
05b4b0e7 SC |
141 | # obj-coff-bfd: |
142 | # bfd support gets deeper into gas | |
143 | # *h8* | |
144 | # fixed numerous bugs in instruction encoding | |
145 | # | |
146 | # Revision 1.9 1991/11/11 23:36:39 sac | |
6690d829 SC |
147 | # Added tc-sparc.c |
148 | # | |
149 | # Revision 1.8 1991/11/06 11:53:16 sac | |
fd345c9c SC |
150 | # Wouldn't it be nice if Sanitize ignored spaces ? |
151 | # | |
152 | # Revision 1.7 1991/11/06 09:14:33 sac | |
68de1b23 SC |
153 | # Uniq contents, since configure gets confused if the same file is in more than once. |
154 | # | |
155 | # Revision 1.6 1991/11/05 21:21:12 sac | |
9a046f1c SC |
156 | # Added a load of mt/mh files |
157 | # | |
158 | # Revision 1.5 1991/10/22 03:26:06 steve | |
cb9fe247 SC |
159 | # tmake-ebmon |
160 | # | |
161 | # Revision 1.4 1991/09/04 01:55:53 rich | |
3116e6cf RP |
162 | # test & recover a better way. |
163 | # | |
164 | # Revision 1.3 1991/09/02 21:26:15 rich | |
8e25c1fa RP |
165 | # "recover" tc-sparc.c |
166 | # | |
167 | # Revision 1.2 1991/09/02 01:03:38 rich | |
a71150bd RP |
168 | # Correct a few things. |
169 | # | |
170 | # Revision 1.1 1991/05/23 17:09:03 rich | |
0fd8d5d9 RP |
171 | # Initial revision |
172 | # | |
173 | # | |
174 | # | |
175 | ||
176 | # End of file. |