Set lose_these_too correctly
[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 atof-ieee.c
34 atof-ns32k.c
35 atof-tahoe.c
36 atof-vax.c
37 coff_gnu.h
38 cplus-dem.c
39 ebmon29k.mt
40 h8300.mt
41 h8500.mt
42 h8300hds.mt
43 ho-ansi.h
44 ho-decstatn.h
45 ho-generic.h
46 ho-go32.h
47 ho-hppabsd.h
48 ho-hppaosf.h
49 ho-hpux.h
50 ho-i386.h
51 ho-i386aix.h
52 ho-irix.h
53 ho-mipsbsd.h
54 ho-rs6000.h
55 ho-sun3.h
56 ho-sun386.h
57 ho-sun4.h
58 ho-sunos.h
59 ho-sysv.h
60 ho-vax.h
61 ho-vsta.h
62 ho-vms.h
63 i386coff.mt
64 m68k.mt
65 m68kcoff.mt
66 m88k-opcode.h
67 m88kcoff.mt
68 mips-big.mt
69 mips-lit.mt
70 obj-aout.c
71 obj-aout.h
72 obj-bout.c
73 obj-bout.h
74 obj-coff.c
75 obj-coff.h
76 obj-coffbfd.c
77 obj-coffbfd.h
78 obj-ecoff.c
79 obj-ecoff.h
80 obj-elf.c
81 obj-elf.h
82 obj-generic.c
83 obj-generic.h
84 obj-hp300.c
85 obj-hp300.h
86 obj-ieee.c
87 obj-ieee.h
88 obj-som.c
89 obj-som.h
90 obj-vms.c
91 obj-vms.h
92 sh.mt
93 sparc.mt
94 tc-a29k.c
95 tc-a29k.h
96 tc-generic.c
97 tc-generic.h
98 tc-h8300.c
99 tc-h8300.h
100 tc-h8500.c
101 tc-h8500.h
102 tc-hppa.c
103 tc-hppa.h
104 tc-i386.c
105 tc-i386.h
106 tc-i860.c
107 tc-i860.h
108 tc-i960.c
109 tc-i960.h
110 tc-m68851.h
111 tc-m68k.c
112 tc-m68k.h
113 tc-m88k.c
114 tc-m88k.h
115 tc-mips.c
116 tc-mips.h
117 tc-ns32k.c
118 tc-ns32k.h
119 tc-sh.c
120 tc-sh.h
121 tc-sparc.c
122 tc-sparc.h
123 tc-sparc64.c
124 tc-sparc64.h
125 tc-tahoe.c
126 tc-tahoe.h
127 tc-vax.c
128 tc-vax.h
129 tc-z8k.c
130 tc-z8k.h
131 te-386bsd.h
132 te-dpx2.h
133 te-generic.h
134 te-hp300.h
135 te-hppa.h
136 te-i386aix.h
137 te-ic960.h
138 te-irix.h
139 te-linux.h
140 te-lynx.h
141 te-netbsd.h
142 te-sco386.h
143 te-sun3.h
144 te-sysv32.h
145 vax-inst.h
146 z8k.mt
147
148 Things-to-lose:
149
150 Do-last:
151
152 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
153 echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h.
154 else
155 echo Cleaning `pwd`/tc-sparc.c...
156 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
157 if [ -n "${safe}" ] ; then
158 cp tc-sparc.c .Recover
159 fi
160 mv new tc-sparc.c
161 echo Cleaning `pwd`/obj-elf.h...
162 grep -v v9 < obj-elf.h > new
163 if [ -n "${safe}" ] ; then
164 cp obj-elf.h .Recover
165 fi
166 mv new obj-elf.h
167 echo Deleting tc-sparc64 files in `pwd`.
168 if [ -n "${safe}" ] ; then
169 mv -f tc-sparc64.c tc-sparc64.h .Recover
170 else
171 rm -f tc-sparc64.c tc-sparc64.h
172 fi
173 fi
174
175 # End of file.
This page took 0.032166 seconds and 4 git commands to generate.