Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>
[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
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
2652deb7
SG
38v850_files="v850"
39
40if ( 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
45else
46 lose_these_too="${v850_files} ${lose_these_too}"
47 if [ -n "${verbose}" ] ; then
48 echo Deleting ${v850_files}
49 fi
50fi
51
46c755d4
FF
52tic80_files="tic80"
53
54if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
55 keep_these_too="${tic80_files} ${keep_these_too}"
56 if [ -n "${verbose}" ] ; then
57 echo Keeping ${tic80_files}
58 fi
59else
60 lose_these_too="${tic80_files} ${lose_these_too}"
61 if [ -n "${verbose}" ] ; then
62 echo Deleting ${tic80_files}
63 fi
64fi
65
2d797c08
RP
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
72Things-to-keep:
73
034ac992 74a29k
3a91417c 75alpha
034ac992
FF
76arm
77convex
a3c5b9a4 78d10v
034ac992
FF
79gould
80h8300
81h8500
82i386
034ac992 83i960
038e48cf 84m32r
034ac992
FF
85m68k
86m88k
87mips
e385d6e0 88mn10200
021b78fb 89mn10300
a6aa45a6 90nm-empty.h
ce0787ef 91nm-gnu.h
92d47a66 92nm-lynx.h
c2d751d5 93nm-m3.h
84f652b1 94nm-nbsd.h
034ac992 95nm-sysv4.h
034ac992
FF
96none
97ns32k
98pa
b28c019d 99powerpc
034ac992
FF
100pyr
101romp
102rs6000
9faacb92 103sh
034ac992
FF
104sparc
105tahoe
92d47a66 106tm-lynx.h
46cf56fa 107tm-nbsd.h
034ac992
FF
108tm-sunos.h
109tm-sysv4.h
110vax
e4ee6fb7 111xm-aix4.h
00bac334 112xm-lynx.h
276703d4 113xm-mpw.h
74d319e0 114xm-nbsd.h
034ac992 115xm-sysv4.h
d723ade7 116w65
034ac992
FF
117z8k
118
87756e15
RP
119Things-to-lose:
120
2d797c08
RP
121Do-last:
122
2d797c08 123# End of file.
This page took 0.246808 seconds and 4 git commands to generate.