1894973e7e67d9d3025487b676a37d867bd55e84
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
1 # .Sanitize for devo/gas/config
2
3 # Each directory to survive its way into a release will need a file
4 # like this one called "./.Sanitize". All keyword lines must exist,
5 # and must exist in the order specified by this file. Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done. Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this
15
16 Do-first:
17
18 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
19 keep_these_too="ho-mpw.h"
20 else
21 lose_these_too="ho-mpw.h"
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31
32 aout_gnu.h
33 alpha-opcode.h
34 atof-ieee.c
35 atof-ns32k.c
36 atof-tahoe.c
37 atof-vax.c
38 coff_gnu.h
39 cplus-dem.c
40 ebmon29k.mt
41 h8300.mt
42 h8500.mt
43 h8300hds.mt
44 ho-ansi.h
45 ho-decstatn.h
46 ho-generic.h
47 ho-go32.h
48 ho-hppabsd.h
49 ho-hppaosf.h
50 ho-hpux.h
51 ho-i386.h
52 ho-i386aix.h
53 ho-irix.h
54 ho-mipsbsd.h
55 ho-rs6000.h
56 ho-sun3.h
57 ho-sun386.h
58 ho-sun4.h
59 ho-sunos.h
60 ho-sysv.h
61 ho-vax.h
62 ho-vsta.h
63 ho-vms.h
64 i386coff.mt
65 m68k.mt
66 m68kcoff.mt
67 m88k-opcode.h
68 m88kcoff.mt
69 mips-big.mt
70 mips-lit.mt
71 obj-aout.c
72 obj-aout.h
73 obj-bout.c
74 obj-bout.h
75 obj-coff.c
76 obj-coff.h
77 obj-coffbfd.c
78 obj-coffbfd.h
79 obj-ecoff.c
80 obj-ecoff.h
81 obj-elf.c
82 obj-elf.h
83 obj-generic.c
84 obj-generic.h
85 obj-hp300.c
86 obj-hp300.h
87 obj-ieee.c
88 obj-ieee.h
89 obj-som.c
90 obj-som.h
91 obj-vms.c
92 obj-vms.h
93 sh.mt
94 sparc.mt
95 tc-a29k.c
96 tc-a29k.h
97 tc-alpha.c
98 tc-alpha.h
99 tc-generic.c
100 tc-generic.h
101 tc-h8300.c
102 tc-h8300.h
103 tc-h8500.c
104 tc-h8500.h
105 tc-hppa.c
106 tc-hppa.h
107 tc-i386.c
108 tc-i386.h
109 tc-i860.c
110 tc-i860.h
111 tc-i960.c
112 tc-i960.h
113 tc-m68851.h
114 tc-m68k.c
115 tc-m68k.h
116 tc-m88k.c
117 tc-m88k.h
118 tc-mips.c
119 tc-mips.h
120 tc-ns32k.c
121 tc-ns32k.h
122 tc-sh.c
123 tc-sh.h
124 tc-sparc.c
125 tc-sparc.h
126 tc-sparc64.c
127 tc-sparc64.h
128 tc-tahoe.c
129 tc-tahoe.h
130 tc-vax.c
131 tc-vax.h
132 tc-z8k.c
133 tc-z8k.h
134 te-386bsd.h
135 te-dpx2.h
136 te-generic.h
137 te-hp300.h
138 te-hppa.h
139 te-i386aix.h
140 te-ic960.h
141 te-irix.h
142 te-linux.h
143 te-lynx.h
144 te-netbsd.h
145 te-sco386.h
146 te-sun3.h
147 te-sysv32.h
148 vax-inst.h
149 z8k.mt
150
151 Things-to-lose:
152
153 Do-last:
154
155 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
156 echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h.
157 else
158 echo Cleaning `pwd`/tc-sparc.c...
159 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
160 if [ -n "${safe}" ] ; then
161 cp tc-sparc.c .Recover
162 fi
163 mv new tc-sparc.c
164 echo Cleaning `pwd`/obj-elf.h...
165 grep -v v9 < obj-elf.h > new
166 if [ -n "${safe}" ] ; then
167 cp obj-elf.h .Recover
168 fi
169 mv new obj-elf.h
170 echo Deleting tc-sparc64 files in `pwd`.
171 if [ -n "${safe}" ] ; then
172 mv -f tc-sparc64.c tc-sparc64.h .Recover
173 else
174 rm -f tc-sparc64.c tc-sparc64.h
175 fi
176 fi
177
178 # End of file.
This page took 0.033774 seconds and 4 git commands to generate.