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 | |
53 | mt-h8300 | |
54 | mt-h8300hds | |
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 | |
65 | obj-generic.c | |
66 | obj-generic.h | |
fd345c9c SC |
67 | obj-ieee.c |
68 | obj-ieee.h | |
0fd8d5d9 RP |
69 | ranlib.h |
70 | signame.h | |
71 | stab.h | |
72 | tc-a29k.c | |
73 | tc-a29k.h | |
74 | tc-generic.c | |
75 | tc-generic.h | |
fd345c9c SC |
76 | tc-h8300.c |
77 | tc-h8300.h | |
0fd8d5d9 RP |
78 | tc-i386.c |
79 | tc-i386.h | |
80 | tc-i860.c | |
81 | tc-i860.h | |
82 | tc-i960.c | |
83 | tc-i960.h | |
84 | tc-m68851.h | |
85 | tc-m68k.c | |
86 | tc-m68k.h | |
fd345c9c SC |
87 | tc-mips.c |
88 | tc-mips.h | |
0fd8d5d9 RP |
89 | tc-ns32k.c |
90 | tc-ns32k.h | |
0fd8d5d9 | 91 | tc-sparc.h |
6690d829 | 92 | tc-sparc.c |
0fd8d5d9 RP |
93 | tc-vax.c |
94 | tc-vax.h | |
95 | te-dpx2.h | |
96 | te-generic.h | |
97 | te-ic960.h | |
98 | te-motor.h | |
99 | te-sco386.h | |
100 | te-sparc.h | |
101 | te-sun3.h | |
102 | te-unisoft.h | |
a71150bd | 103 | tmake-m68k |
0fd8d5d9 RP |
104 | vax-inst.h |
105 | vms | |
106 | ||
68de1b23 SC |
107 | |
108 | ||
0fd8d5d9 RP |
109 | Do-last: |
110 | ||
111 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
112 | echo Keeping v9 stuff in tc-sparc.c. | |
113 | else | |
114 | echo Cleaning tc-sparc.c... | |
115 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
3116e6cf RP |
116 | if [ -n "${safe}" ] ; then |
117 | cp tc-sparc.c .Recover | |
118 | fi | |
0fd8d5d9 RP |
119 | mv new tc-sparc.c |
120 | fi | |
121 | ||
122 | echo Done in `pwd`. | |
123 | ||
124 | # | |
125 | # | |
126 | # $Log$ | |
6690d829 SC |
127 | # Revision 1.9 1991/11/11 23:36:39 sac |
128 | # Added tc-sparc.c | |
129 | # | |
130 | # Revision 1.8 1991/11/06 11:53:16 sac | |
fd345c9c SC |
131 | # Wouldn't it be nice if Sanitize ignored spaces ? |
132 | # | |
133 | # Revision 1.7 1991/11/06 09:14:33 sac | |
68de1b23 SC |
134 | # Uniq contents, since configure gets confused if the same file is in more than once. |
135 | # | |
136 | # Revision 1.6 1991/11/05 21:21:12 sac | |
9a046f1c SC |
137 | # Added a load of mt/mh files |
138 | # | |
139 | # Revision 1.5 1991/10/22 03:26:06 steve | |
cb9fe247 SC |
140 | # tmake-ebmon |
141 | # | |
142 | # Revision 1.4 1991/09/04 01:55:53 rich | |
3116e6cf RP |
143 | # test & recover a better way. |
144 | # | |
145 | # Revision 1.3 1991/09/02 21:26:15 rich | |
8e25c1fa RP |
146 | # "recover" tc-sparc.c |
147 | # | |
148 | # Revision 1.2 1991/09/02 01:03:38 rich | |
a71150bd RP |
149 | # Correct a few things. |
150 | # | |
151 | # Revision 1.1 1991/05/23 17:09:03 rich | |
0fd8d5d9 RP |
152 | # Initial revision |
153 | # | |
154 | # | |
155 | # | |
156 | ||
157 | # End of file. |