5261c2eedd710f75a63bd9bc9fb3b5adbf2bf630
[external/binutils.git] / gas / config / .Sanitize
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
35 ho-a29k.h
36 ho-ansi.h
37 ho-cygnus.h
38 ho-decstation.h
39 ho-generic.h
40 ho-hpux.h
41 ho-i386.h
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
49 mh-a29k
50 mh-cygnus
51 mh-i386
52 mt-ebmon29k
53 mt-h8300hds
54 mt-h8300
55 mt-m68k
56 mt-mips
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-coff-bfd.c
66 obj-coff-bfd.h
67 obj-generic.c
68 obj-generic.h
69 obj-ieee.c
70 obj-ieee.h
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
78 tc-h8300.c
79 tc-h8300.h
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
89 tc-mips.c
90 tc-mips.h
91 tc-ns32k.c
92 tc-ns32k.h
93 tc-sparc.h
94 tc-sparc.c
95 tc-vax.c
96 tc-vax.h
97 te-dpx2.h
98 te-generic.h
99 te-ic960.h
100 te-motor.h
101 te-sco386.h
102 te-sparc.h
103 te-sun3.h
104 te-unisoft.h
105 tmake-m68k
106 vax-inst.h
107 vms
108
109
110
111 Do-last:
112
113 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
114         echo Keeping v9 stuff in tc-sparc.c.
115 else
116         echo Cleaning tc-sparc.c...
117         sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
118         if [ -n "${safe}" ] ; then
119                 cp tc-sparc.c .Recover
120         fi
121         mv new tc-sparc.c
122 fi
123
124 echo Done in `pwd`.
125
126 #
127 #
128 # $Log$
129 # Revision 1.11  1991/11/27 22:28:57  sac
130 # Added obj-coff-bfd* and mt-h8300hds
131 #
132 # Revision 1.10  1991/11/26  02:16:55  sac
133 # obj-coff-bfd:
134 #       bfd support gets deeper into gas
135 # *h8*
136 #       fixed numerous bugs in instruction encoding
137 #
138 # Revision 1.9  1991/11/11  23:36:39  sac
139 # Added tc-sparc.c
140 #
141 # Revision 1.8  1991/11/06  11:53:16  sac
142 # Wouldn't it be nice if Sanitize ignored spaces ?
143 #
144 # Revision 1.7  1991/11/06  09:14:33  sac
145 # Uniq contents, since configure gets confused if the same file is in more than once.
146 #
147 # Revision 1.6  1991/11/05  21:21:12  sac
148 # Added a load of mt/mh files
149 #
150 # Revision 1.5  1991/10/22  03:26:06  steve
151 # tmake-ebmon
152 #
153 # Revision 1.4  1991/09/04  01:55:53  rich
154 # test & recover a better way.
155 #
156 # Revision 1.3  1991/09/02  21:26:15  rich
157 # "recover" tc-sparc.c
158 #
159 # Revision 1.2  1991/09/02  01:03:38  rich
160 # Correct a few things.
161 #
162 # Revision 1.1  1991/05/23  17:09:03  rich
163 # Initial revision
164 #
165 #
166 #
167
168 # End of file.