Forgot this change in last checkin.
[deliverable/binutils-gdb.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 if ( echo $* | grep keep\-arc > /dev/null ) ; then
19 keep_these_too="arc ${keep_these_too}"
20 else
21 lose_these_too="arc ${lose_these_too}"
22 fi
23
24 gm_files="tm-magic.h"
25
26 if ( 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
31 else
32 lose_these_too="${gm_files} ${lose_these_too}"
33 if [ -n "${verbose}" ] ; then
34 echo Deleting ${gm_files}
35 fi
36 fi
37
38 v850_files="v850"
39
40 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
41 keep_these_too="${v850_files} ${keep_these_too}"
42 if [ -n "${verbose}" ] ; then
43 echo Keeping ${v850_files}
44 fi
45 else
46 lose_these_too="${v850_files} ${lose_these_too}"
47 if [ -n "${verbose}" ] ; then
48 echo Deleting ${v850_files}
49 fi
50 fi
51
52 m32r_files="m32r"
53
54 if ( echo $* | grep keep\-m32r > /dev/null ) ; then
55 keep_these_too="${m32r_files} ${keep_these_too}"
56 if [ -n "${verbose}" ] ; then
57 echo Keeping ${m32r_files}
58 fi
59 else
60 lose_these_too="${m32r_files} ${lose_these_too}"
61 if [ -n "${verbose}" ] ; then
62 echo Deleting ${m32r_files}
63 fi
64 fi
65
66 tic80_files="tic80"
67
68 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
69 keep_these_too="${tic80_files} ${keep_these_too}"
70 if [ -n "${verbose}" ] ; then
71 echo Keeping ${tic80_files}
72 fi
73 else
74 lose_these_too="${tic80_files} ${lose_these_too}"
75 if [ -n "${verbose}" ] ; then
76 echo Deleting ${tic80_files}
77 fi
78 fi
79
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
86 Things-to-keep:
87
88 a29k
89 alpha
90 arm
91 convex
92 d10v
93 gould
94 h8300
95 h8500
96 i386
97 i960
98 m68k
99 m88k
100 mips
101 mn10200
102 mn10300
103 nm-empty.h
104 nm-gnu.h
105 nm-lynx.h
106 nm-m3.h
107 nm-nbsd.h
108 nm-sysv4.h
109 none
110 ns32k
111 pa
112 powerpc
113 pyr
114 romp
115 rs6000
116 sh
117 sparc
118 tahoe
119 tm-lynx.h
120 tm-nbsd.h
121 tm-sunos.h
122 tm-sysv4.h
123 vax
124 xm-aix4.h
125 xm-lynx.h
126 xm-mpw.h
127 xm-nbsd.h
128 xm-sysv4.h
129 w65
130 z8k
131
132 Things-to-lose:
133
134 Do-last:
135
136 # End of file.
This page took 0.03203 seconds and 4 git commands to generate.