]> Git Repo - binutils.git/blame - gdb/config/.Sanitize
Thu Sep 19 16:19:01 1996 Martin M. Hunt <[email protected]>
[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
2d797c08
RP
52# All files listed between the "Things-to-keep:" line and the
53# "Files-to-sed:" line will be kept. All other files will be removed.
54# Directories listed in this section will have their own Sanitize
55# called. Directories not listed will be removed in their entirety
56# with rm -rf.
57
58Things-to-keep:
59
034ac992 60a29k
3a91417c 61alpha
034ac992
FF
62arm
63convex
64gould
65h8300
66h8500
67i386
034ac992
FF
68i960
69m68k
70m88k
71mips
a6aa45a6 72nm-empty.h
ce0787ef 73nm-gnu.h
92d47a66 74nm-lynx.h
c2d751d5 75nm-m3.h
84f652b1 76nm-nbsd.h
034ac992 77nm-sysv4.h
034ac992
FF
78none
79ns32k
80pa
b28c019d 81powerpc
034ac992
FF
82pyr
83romp
84rs6000
9faacb92 85sh
034ac992
FF
86sparc
87tahoe
92d47a66 88tm-lynx.h
46cf56fa 89tm-nbsd.h
034ac992
FF
90tm-sunos.h
91tm-sysv4.h
92vax
e4ee6fb7 93xm-aix4.h
00bac334 94xm-lynx.h
276703d4 95xm-mpw.h
74d319e0 96xm-nbsd.h
034ac992 97xm-sysv4.h
d723ade7 98w65
034ac992
FF
99z8k
100
87756e15
RP
101Things-to-lose:
102
2d797c08
RP
103Do-last:
104
2d797c08 105# End of file.
This page took 0.501545 seconds and 4 git commands to generate.