* configure.in: Change "idt" config to a generic "embed" config
[deliverable/binutils-gdb.git] / gdb / config / mips / .Sanitize
CommitLineData
a6aa45a6
SS
1# .Sanitize for devo/gdb/config/mips.
2
3# Each directory to survive its way into a release will need a file
b0cb2d91
FF
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
a6aa45a6 14# done in this directory.
b0cb2d91
FF
15
16Do-first:
17
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
25
b0cb2d91 26bigmips.mt
662f3b3f 27bigmips64.mt
b0cb2d91
FF
28decstation.mh
29decstation.mt
7bb5e831
RS
30embed.mt
31embed64.mt
32embedl.mt
33embedl64.mt
b0cb2d91
FF
34irix3.mh
35irix3.mt
36irix4.mh
a2f1e2e5
ILT
37irix5.mh
38irix5.mt
b0cb2d91
FF
39littlemips.mh
40littlemips.mt
662f3b3f 41mipsel64.mt
c2d751d5
JK
42mipsm3.mh
43mipsm3.mt
376f8f68
PS
44mipsv4.mh
45mipsv4.mt
89e04499 46news-mips.mh
b0cb2d91
FF
47nm-irix3.h
48nm-irix4.h
a2f1e2e5 49nm-irix5.h
a6aa45a6 50nm-m3.h
b0cb2d91 51nm-mips.h
89e04499 52nm-news-mips.h
7f6175b4 53nm-riscos.h
a6aa45a6 54nm-sysv4.h
7f6175b4 55riscos.mh
b0cb2d91 56tm-bigmips.h
662f3b3f 57tm-bigmips64.h
7bb5e831
RS
58tm-embed.h
59tm-embed64.h
60tm-embedl.h
61tm-embedl64.h
b0cb2d91 62tm-irix3.h
a2f1e2e5 63tm-irix5.h
b0cb2d91 64tm-mips.h
662f3b3f 65tm-mips64.h
c2d751d5 66tm-mipsm3.h
376f8f68 67tm-mipsv4.h
180fd370
JSC
68tm-vr4300.h
69tm-vr4300el.h
70vr4300.mt
a4bba3e6 71vr4300el.mt
b0cb2d91
FF
72xm-irix3.h
73xm-irix4.h
a2f1e2e5 74xm-irix5.h
b0cb2d91 75xm-mips.h
c2d751d5 76xm-mipsm3.h
376f8f68 77xm-mipsv4.h
89e04499 78xm-news-mips.h
7f6175b4 79xm-riscos.h
b0cb2d91 80
87756e15
RP
81Things-to-lose:
82
775d4a40 83
b0cb2d91
FF
84Do-last:
85
188c635f
SG
86if ( echo $* | grep keep\-gm > /dev/null ) ; then
87 for i in * ; do
88 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
89 if [ -n "${verbose}" ] ; then
90 echo Keeping gm stuff in $i
91 fi
92 fi
93 done
94else
95 for i in * ; do
96 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
97 if [ -n "${verbose}" ] ; then
98 echo Removing traces of \"gm\" from $i...
99 fi
100 cp $i new
101 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
102 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
103 if [ -n "${verbose}" ] ; then
104 echo Caching $i in .Recover...
105 fi
106 mv $i .Recover
107 fi
108 mv new $i
109 fi
110 done
111fi
112
b0cb2d91 113# End of file.
This page took 0.151581 seconds and 4 git commands to generate.