* config/monitor.exp (gdb_target_monitor): Fix loop interator so
[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 rce_files="tc-rce.c tc-rce.h"
19
20 if ( echo $* | grep keep\-rce > /dev/null ) ; then
21 keep_these_too="${rce_files} ${keep_these_too}"
22 else
23 lose_these_too="${rce_files} ${lose_these_too}"
24 fi
25
26 arc_files="tc-arc.c tc-arc.h"
27
28 if ( echo $* | grep keep\-arc > /dev/null ) ; then
29 keep_these_too="${arc_files} ${keep_these_too}"
30 else
31 lose_these_too="${arc_files} ${lose_these_too}"
32 fi
33
34 # All files listed between the "Things-to-keep:" line and the
35 # "Files-to-sed:" line will be kept. All other files will be removed.
36 # Directories listed in this section will have their own Sanitize
37 # called. Directories not listed will be removed in their entirety
38 # with rm -rf.
39
40 Things-to-keep:
41
42 aout_gnu.h
43 alpha-opcode.h
44 atof-ieee.c
45 atof-tahoe.c
46 atof-vax.c
47 go32.cfg
48 i386coff.mt
49 m68kcoff.mt
50 m88k-opcode.h
51 m88kcoff.mt
52 mips-big.mt
53 mips-lit.mt
54 obj-aout.c
55 obj-aout.h
56 obj-bout.c
57 obj-bout.h
58 obj-coff.c
59 obj-coff.h
60 obj-ecoff.c
61 obj-ecoff.h
62 obj-elf.c
63 obj-elf.h
64 obj-generic.c
65 obj-generic.h
66 obj-hp300.c
67 obj-hp300.h
68 obj-ieee.c
69 obj-ieee.h
70 obj-som.c
71 obj-som.h
72 obj-vms.c
73 obj-vms.h
74 ppc-big.mt
75 ppc-lit.mt
76 tc-a29k.c
77 tc-a29k.h
78 tc-alpha.c
79 tc-alpha.h
80 tc-arm.c
81 tc-arm.h
82 tc-generic.c
83 tc-generic.h
84 tc-h8300.c
85 tc-h8300.h
86 tc-h8500.c
87 tc-h8500.h
88 tc-hppa.c
89 tc-hppa.h
90 tc-i386.c
91 tc-i386.h
92 tc-i860.c
93 tc-i860.h
94 tc-i960.c
95 tc-i960.h
96 tc-m68851.h
97 tc-m68k.c
98 tc-m68k.h
99 tc-m88k.c
100 tc-m88k.h
101 tc-mips.c
102 tc-mips.h
103 tc-ns32k.c
104 tc-ns32k.h
105 tc-ppc.c
106 tc-ppc.h
107 tc-sh.c
108 tc-sh.h
109 tc-sparc.c
110 tc-sparc.h
111 tc-tahoe.c
112 tc-tahoe.h
113 tc-vax.c
114 tc-vax.h
115 tc-w65.c
116 tc-w65.h
117 tc-z8k.c
118 tc-z8k.h
119 te-386bsd.h
120 te-delta.h
121 te-dpx2.h
122 te-generic.h
123 te-go32.h
124 te-hp300.h
125 te-hppa.h
126 te-i386aix.h
127 te-ic960.h
128 te-linux.h
129 te-lynx.h
130 te-mach.h
131 te-nbsd.h
132 te-nbsd532.h
133 te-pc532mach.h
134 te-ppcnw.h
135 te-sco386.h
136 te-sun3.h
137 te-sysv32.h
138 vax-inst.h
139 vms-conf.h
140
141 Things-to-lose:
142
143 Do-last:
144
145 i960xl_files=tc-i960.c
146 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
147 if [ -n "${verbose}" ] ; then
148 echo Keeping i960xl stuff in $i960xl_files.
149 fi
150 else
151 if [ -n "${verbose}" ]; then
152 echo -n Cleaning i960xl in `pwd`:
153 fi
154 for f in $i960xl_files ; do
155 if [ -n "${verbose}" ] ; then
156 echo -n " " $f
157 fi
158 grep -v XL < $f > new
159 if [ -n "${safe}" ] ; then
160 mv $f .Recover
161 fi
162 mv new $f
163 done
164 fi
165
166 # End of file.
This page took 0.033966 seconds and 5 git commands to generate.