* Makefile.in (install): Remove "@" which follows a backslash. In
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
CommitLineData
4f5d16c7 1# .Sanitize for devo/gas/config
0fd8d5d9 2
4f5d16c7 3# Each directory to survive its way into a release will need a file
0fd8d5d9
RP
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
16Do-first:
17
4f5d16c7
SS
18if ( echo $* | grep keep\-mpw > /dev/null ) ; then
19 keep_these_too="ho-mpw.h"
20fi
4a1bbbe7 21
0fd8d5d9
RP
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
28Things-to-keep:
29
3e6e09c0 30aout_gnu.h
0fd8d5d9 31atof-ieee.c
e219aa78 32atof-ns32k.c
b41390d2 33atof-tahoe.c
0fd8d5d9 34atof-vax.c
3e6e09c0 35coff_gnu.h
0fd8d5d9 36cplus-dem.c
cd625bf3
DHW
37ebmon29k.mt
38h8300.mt
033400ec 39h8500.mt
cd625bf3 40h8300hds.mt
0fd8d5d9 41ho-ansi.h
30d17c7e 42ho-decstatn.h
0fd8d5d9 43ho-generic.h
abca39c1 44ho-go32.h
31fb7d23 45ho-hppabsd.h
28409e91 46ho-hppaosf.h
0fd8d5d9
RP
47ho-hpux.h
48ho-i386.h
cd625bf3 49ho-i386aix.h
ed364bb6 50ho-irix.h
a4099f78 51ho-mipsbsd.h
0fd8d5d9
RP
52ho-rs6000.h
53ho-sun3.h
54ho-sun386.h
55ho-sun4.h
56ho-sunos.h
57ho-sysv.h
58ho-vax.h
fce98d63 59ho-vsta.h
b41390d2 60ho-vms.h
6066ebad 61i386coff.mt
cd625bf3 62m68k.mt
3ad9ec6a 63m68kcoff.mt
cd625bf3 64m88k-opcode.h
77a401e2 65m88kcoff.mt
e99f6f9c
ILT
66mips-big.mt
67mips-lit.mt
0fd8d5d9
RP
68obj-aout.c
69obj-aout.h
0fd8d5d9
RP
70obj-bout.c
71obj-bout.h
72obj-coff.c
73obj-coff.h
29a86403
SC
74obj-coffbfd.c
75obj-coffbfd.h
e99f6f9c
ILT
76obj-ecoff.c
77obj-ecoff.h
a4099f78
KR
78obj-elf.c
79obj-elf.h
0fd8d5d9
RP
80obj-generic.c
81obj-generic.h
daae8c92
KR
82obj-hp300.c
83obj-hp300.h
fd345c9c
SC
84obj-ieee.c
85obj-ieee.h
0fa747c4
JL
86obj-som.c
87obj-som.h
b41390d2
KR
88obj-vms.c
89obj-vms.h
4a1bbbe7 90sh.mt
01aec199 91sparc.mt
0fd8d5d9
RP
92tc-a29k.c
93tc-a29k.h
94tc-generic.c
95tc-generic.h
fd345c9c
SC
96tc-h8300.c
97tc-h8300.h
033400ec
SC
98tc-h8500.c
99tc-h8500.h
daae8c92
KR
100tc-hppa.c
101tc-hppa.h
0fd8d5d9
RP
102tc-i386.c
103tc-i386.h
104tc-i860.c
105tc-i860.h
106tc-i960.c
107tc-i960.h
108tc-m68851.h
109tc-m68k.c
110tc-m68k.h
cd625bf3
DHW
111tc-m88k.c
112tc-m88k.h
fd345c9c
SC
113tc-mips.c
114tc-mips.h
0fd8d5d9
RP
115tc-ns32k.c
116tc-ns32k.h
4a1bbbe7
SC
117tc-sh.c
118tc-sh.h
6690d829 119tc-sparc.c
920babce 120tc-sparc.h
d4ac2d09
KR
121tc-sparc64.c
122tc-sparc64.h
af3b5ad2
KR
123tc-tahoe.c
124tc-tahoe.h
0fd8d5d9
RP
125tc-vax.c
126tc-vax.h
163107a1
SC
127tc-z8k.c
128tc-z8k.h
daae8c92 129te-386bsd.h
0fd8d5d9
RP
130te-dpx2.h
131te-generic.h
daae8c92
KR
132te-hp300.h
133te-hppa.h
cd625bf3 134te-i386aix.h
0fd8d5d9 135te-ic960.h
d5bc3215 136te-irix.h
daae8c92 137te-linux.h
d0c25cae 138te-lynx.h
34e4120b 139te-netbsd.h
0fd8d5d9 140te-sco386.h
0fd8d5d9 141te-sun3.h
920babce 142te-sysv32.h
0fd8d5d9 143vax-inst.h
163107a1 144z8k.mt
0fd8d5d9 145
87756e15
RP
146Things-to-lose:
147
0fd8d5d9
RP
148Do-last:
149
150if ( echo $* | grep keep\-v9 > /dev/null ) ; then
535721d5 151 echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h.
0fd8d5d9 152else
535721d5 153 echo Cleaning `pwd`/tc-sparc.c...
0fd8d5d9 154 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
3116e6cf
RP
155 if [ -n "${safe}" ] ; then
156 cp tc-sparc.c .Recover
157 fi
0fd8d5d9 158 mv new tc-sparc.c
535721d5 159 echo Cleaning `pwd`/obj-elf.h...
dee576a0
KR
160 grep -v v9 < obj-elf.h > new
161 if [ -n "${safe}" ] ; then
162 cp obj-elf.h .Recover
163 fi
164 mv new obj-elf.h
535721d5
KR
165 echo Deleting tc-sparc64 files in `pwd`.
166 if [ -n "${safe}" ] ; then
167 mv -f tc-sparc64.c tc-sparc64.h .Recover
168 else
169 rm -f tc-sparc64.c tc-sparc64.h
170 fi
0fd8d5d9
RP
171fi
172
0fd8d5d9 173# End of file.
This page took 0.11179 seconds and 4 git commands to generate.