* configure.in: Move termcap determination a later in the file to catch
[deliverable/binutils-gdb.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
46c755d4
FF
18tic80_files="tic80"
19
20if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
21 keep_these_too="${tic80_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${tic80_files}
24 fi
25else
26 lose_these_too="${tic80_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${tic80_files}
29 fi
30fi
31
287026b7
AC
32carp_files="carp"
33
34if ( echo $* | grep keep\-carp > /dev/null ) ; then
35 keep_these_too="${carp_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${carp_files}
38 fi
39else
40 lose_these_too="${carp_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${carp_files}
43 fi
44fi
45
2d797c08
RP
46# All files listed between the "Things-to-keep:" line and the
47# "Files-to-sed:" line will be kept. All other files will be removed.
48# Directories listed in this section will have their own Sanitize
49# called. Directories not listed will be removed in their entirety
50# with rm -rf.
51
52Things-to-keep:
53
034ac992 54a29k
3a91417c 55alpha
c58dbe95 56arc
034ac992
FF
57arm
58convex
a3c5b9a4 59d10v
2c9fd4b1 60d30v
c4efea12 61fr30
034ac992
FF
62gould
63h8300
64h8500
65i386
034ac992 66i960
038e48cf 67m32r
034ac992
FF
68m68k
69m88k
70mips
e385d6e0 71mn10200
021b78fb 72mn10300
a6aa45a6 73nm-empty.h
ce0787ef 74nm-gnu.h
92d47a66 75nm-lynx.h
c2d751d5 76nm-m3.h
84f652b1 77nm-nbsd.h
034ac992 78nm-sysv4.h
034ac992
FF
79none
80ns32k
81pa
b28c019d 82powerpc
034ac992
FF
83pyr
84romp
85rs6000
9faacb92 86sh
034ac992
FF
87sparc
88tahoe
92d47a66 89tm-lynx.h
46cf56fa 90tm-nbsd.h
034ac992
FF
91tm-sunos.h
92tm-sysv4.h
93vax
47819b72 94v850
e4ee6fb7 95xm-aix4.h
00bac334 96xm-lynx.h
276703d4 97xm-mpw.h
74d319e0 98xm-nbsd.h
034ac992 99xm-sysv4.h
d723ade7 100w65
034ac992
FF
101z8k
102
87756e15
RP
103Things-to-lose:
104
2d797c08
RP
105Do-last:
106
2d797c08 107# End of file.
This page took 0.30664 seconds and 4 git commands to generate.