update for new files
[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 e-mipsecoff.c
49 e-mipself.c
50 i386coff.mt
51 m68kcoff.mt
52 m88k-opcode.h
53 m88kcoff.mt
54 mips-big.mt
55 mips-lit.mt
56 obj-aout.c
57 obj-aout.h
58 obj-bout.c
59 obj-bout.h
60 obj-coff.c
61 obj-coff.h
62 obj-ecoff.c
63 obj-ecoff.h
64 obj-elf.c
65 obj-elf.h
66 obj-generic.c
67 obj-generic.h
68 obj-hp300.c
69 obj-hp300.h
70 obj-ieee.c
71 obj-ieee.h
72 obj-multi.c
73 obj-multi.h
74 obj-som.c
75 obj-som.h
76 obj-vms.c
77 obj-vms.h
78 ppc-big.mt
79 ppc-lit.mt
80 tc-a29k.c
81 tc-a29k.h
82 tc-alpha.c
83 tc-alpha.h
84 tc-arm.c
85 tc-arm.h
86 tc-generic.c
87 tc-generic.h
88 tc-h8300.c
89 tc-h8300.h
90 tc-h8500.c
91 tc-h8500.h
92 tc-hppa.c
93 tc-hppa.h
94 tc-i386.c
95 tc-i386.h
96 tc-i860.c
97 tc-i860.h
98 tc-i960.c
99 tc-i960.h
100 tc-m68851.h
101 tc-m68k.c
102 tc-m68k.h
103 tc-m88k.c
104 tc-m88k.h
105 tc-mips.c
106 tc-mips.h
107 tc-ns32k.c
108 tc-ns32k.h
109 tc-ppc.c
110 tc-ppc.h
111 tc-sh.c
112 tc-sh.h
113 tc-sparc.c
114 tc-sparc.h
115 tc-tahoe.c
116 tc-tahoe.h
117 tc-vax.c
118 tc-vax.h
119 tc-w65.c
120 tc-w65.h
121 tc-z8k.c
122 tc-z8k.h
123 te-386bsd.h
124 te-delta.h
125 te-dpx2.h
126 te-generic.h
127 te-go32.h
128 te-hp300.h
129 te-hppa.h
130 te-i386aix.h
131 te-ic960.h
132 te-linux.h
133 te-lynx.h
134 te-mach.h
135 te-multi.h
136 te-nbsd.h
137 te-nbsd532.h
138 te-pc532mach.h
139 te-ppcnw.h
140 te-sco386.h
141 te-sun3.h
142 te-sysv32.h
143 vax-inst.h
144 vms-conf.h
145
146 Things-to-lose:
147
148 Do-last:
149
150 i960xl_files=tc-i960.c
151 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
152 if [ -n "${verbose}" ] ; then
153 echo Keeping i960xl stuff in $i960xl_files.
154 fi
155 else
156 if [ -n "${verbose}" ]; then
157 echo -n Cleaning i960xl in `pwd`:
158 fi
159 for f in $i960xl_files ; do
160 if [ -n "${verbose}" ] ; then
161 echo -n " " $f
162 fi
163 grep -v XL < $f > new
164 if [ -n "${safe}" ] ; then
165 mv $f .Recover
166 fi
167 mv new $f
168 done
169 fi
170
171 # End of file.
This page took 0.038663 seconds and 5 git commands to generate.