6ba56c0f88d741b896716f65b28557ccd838d4be
[platform/upstream/binutils.git] / gdb / config / .Sanitize
1 # .Sanitize for devo/gdb/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 directory.
15
16 Do-first:
17
18 gm_files="tm-magic.h"
19
20 if ( echo $* | grep keep\-gm > /dev/null ) ; then
21         keep_these_too="${gm_files} ${keep_these_too}"
22         if [ -n "${verbose}" ] ; then
23                 echo Keeping ${gm_files}
24         fi
25 else
26         lose_these_too="${gm_files} ${lose_these_too}"
27         if [ -n "${verbose}" ] ; then
28                 echo Deleting ${gm_files}
29         fi
30 fi
31
32 tic80_files="tic80"
33
34 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
35         keep_these_too="${tic80_files} ${keep_these_too}"
36         if [ -n "${verbose}" ] ; then
37                 echo Keeping ${tic80_files}
38         fi
39 else
40         lose_these_too="${tic80_files} ${lose_these_too}"
41         if [ -n "${verbose}" ] ; then
42                 echo Deleting ${tic80_files}
43         fi
44 fi
45
46 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
47         keep_these_too="v850 ${keep_these_too}"
48 else
49         lose_these_too="v850 ${lose_these_too}"
50 fi
51
52 d30v_files="d30v"
53
54 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
55         keep_these_too="${d30v_files} ${keep_these_too}"
56         if [ -n "${verbose}" ] ; then
57                 echo Keeping ${d30v_files}
58         fi
59 else
60         lose_these_too="${d30v_files} ${lose_these_too}"
61         if [ -n "${verbose}" ] ; then
62                 echo Deleting ${d30v_files}
63         fi
64 fi
65
66 # All files listed between the "Things-to-keep:" line and the
67 # "Files-to-sed:" line will be kept.  All other files will be removed.
68 # Directories listed in this section will have their own Sanitize
69 # called.  Directories not listed will be removed in their entirety
70 # with rm -rf.
71
72 Things-to-keep:
73
74 a29k
75 alpha
76 arc
77 arm
78 convex
79 d10v
80 gould
81 h8300
82 h8500
83 i386
84 i960
85 m32r
86 m68k
87 m88k
88 mips
89 mn10200
90 mn10300
91 nm-empty.h
92 nm-gnu.h
93 nm-lynx.h
94 nm-m3.h
95 nm-nbsd.h
96 nm-sysv4.h
97 none
98 ns32k
99 pa
100 powerpc
101 pyr
102 romp
103 rs6000
104 sh
105 sparc
106 tahoe
107 tm-lynx.h
108 tm-nbsd.h
109 tm-sunos.h
110 tm-sysv4.h
111 vax
112 xm-aix4.h
113 xm-lynx.h
114 xm-mpw.h
115 xm-nbsd.h
116 xm-sysv4.h
117 w65
118 z8k
119
120 Things-to-lose:
121
122 Do-last:
123
124 # End of file.