]> Git Repo - binutils.git/blame - gdb/config/.Sanitize
Add ../sim/common/libcommon.a
[binutils.git] / gdb / config / .Sanitize
CommitLineData
08df3284
SS
1# .Sanitize for devo/gdb/config.
2
3# Each directory to survive its way into a release will need a file
2d797c08
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
08df3284 14# done in this directory.
2d797c08
RP
15
16Do-first:
17
80a0c990
DE
18if ( echo $* | grep keep\-arc > /dev/null ) ; then
19 keep_these_too="arc ${keep_these_too}"
20else
21 lose_these_too="arc ${lose_these_too}"
22fi
23
188c635f
SG
24gm_files="tm-magic.h"
25
26if ( echo $* | grep keep\-gm > /dev/null ) ; then
27 keep_these_too="${gm_files} ${keep_these_too}"
28 if [ -n "${verbose}" ] ; then
29 echo Keeping ${gm_files}
30 fi
31else
32 lose_these_too="${gm_files} ${lose_these_too}"
33 if [ -n "${verbose}" ] ; then
34 echo Deleting ${gm_files}
35 fi
36fi
37
fbe695a3 38d10v_files="d10v"
947489e2
MH
39
40if ( echo $* | grep keep\-d10v > /dev/null ) ; then
41 keep_these_too="${d10v_files} ${keep_these_too}"
42 if [ -n "${verbose}" ] ; then
43 echo Keeping ${d10v_files}
44 fi
45else
46 lose_these_too="${d10v_files} ${lose_these_too}"
47 if [ -n "${verbose}" ] ; then
48 echo Deleting ${d10v_files}
49 fi
50fi
51
2652deb7
SG
52v850_files="v850"
53
54if ( echo $* | grep keep\-v850 > /dev/null ) ; then
55 keep_these_too="${v850_files} ${keep_these_too}"
56 if [ -n "${verbose}" ] ; then
57 echo Keeping ${v850_files}
58 fi
59else
60 lose_these_too="${v850_files} ${lose_these_too}"
61 if [ -n "${verbose}" ] ; then
62 echo Deleting ${v850_files}
63 fi
64fi
65
afb89dc3
MS
66m32r_files="m32r"
67
68if ( echo $* | grep keep\-m32r > /dev/null ) ; then
69 keep_these_too="${m32r_files} ${keep_these_too}"
70 if [ -n "${verbose}" ] ; then
71 echo Keeping ${m32r_files}
72 fi
73else
74 lose_these_too="${m32r_files} ${lose_these_too}"
75 if [ -n "${verbose}" ] ; then
76 echo Deleting ${m32r_files}
77 fi
78fi
79
2d797c08
RP
80# All files listed between the "Things-to-keep:" line and the
81# "Files-to-sed:" line will be kept. All other files will be removed.
82# Directories listed in this section will have their own Sanitize
83# called. Directories not listed will be removed in their entirety
84# with rm -rf.
85
86Things-to-keep:
87
034ac992 88a29k
3a91417c 89alpha
034ac992
FF
90arm
91convex
92gould
93h8300
94h8500
95i386
034ac992
FF
96i960
97m68k
98m88k
99mips
021b78fb 100mn10300
a6aa45a6 101nm-empty.h
ce0787ef 102nm-gnu.h
92d47a66 103nm-lynx.h
c2d751d5 104nm-m3.h
84f652b1 105nm-nbsd.h
034ac992 106nm-sysv4.h
034ac992
FF
107none
108ns32k
109pa
b28c019d 110powerpc
034ac992
FF
111pyr
112romp
113rs6000
9faacb92 114sh
034ac992
FF
115sparc
116tahoe
92d47a66 117tm-lynx.h
46cf56fa 118tm-nbsd.h
034ac992
FF
119tm-sunos.h
120tm-sysv4.h
121vax
e4ee6fb7 122xm-aix4.h
00bac334 123xm-lynx.h
276703d4 124xm-mpw.h
74d319e0 125xm-nbsd.h
034ac992 126xm-sysv4.h
d723ade7 127w65
034ac992
FF
128z8k
129
87756e15
RP
130Things-to-lose:
131
2d797c08
RP
132Do-last:
133
2d797c08 134# End of file.
This page took 0.513987 seconds and 4 git commands to generate.