New {load/store}_{byte/half/word} macros for simulator built with
[deliverable/binutils-gdb.git] / include / .Sanitize
CommitLineData
2323d13b 1# .Sanitize for devo/include.
0fd8d5d9 2
2323d13b 3# Each directory to survive its way into a release will need a file
0fd8d5d9
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
2323d13b 14# done in this directory.
0fd8d5d9
RP
15
16Do-first:
17
2323d13b 18
0fd8d5d9
RP
19# All files listed between the "Things-to-keep:" line and the
20# "Files-to-sed:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
8e71e6e3 27COPYING
49d6a0e6 28ChangeLog
0fd8d5d9 29ansidecl.h
11eab90c 30aout
9a0418eb 31bfdlink.h
0fd8d5d9 32bout.h
9d10b92d 33callback.h
11eab90c 34coff
c9725927 35demangle.h
d7e1be46 36dis-asm.h
11eab90c 37elf
8b1d1557 38floatformat.h
fa8e5931 39fnmatch.h
201258d5
JW
40fopen-bin.h
41fopen-same.h
a570d4b2 42fopen-vms.h
0fd8d5d9
RP
43gdbm.h
44getopt.h
8ee0532b 45hp-symtab.h
0fd8d5d9 46ieee.h
e51437f1 47libiberty.h
01c32fc4 48mpw
f7da7289 49nlm
0fd8d5d9 50oasys.h
bc68afb2 51objalloc.h
0fd8d5d9 52obstack.h
02400c00 53os9k.h
11eab90c 54opcode
d4d4c53c 55progress.h
71d51207 56regs
05e4e44f 57remote-sim.h
2acf55ff 58symcat.h
0fd8d5d9
RP
59wait.h
60
87756e15
RP
61Things-to-lose:
62
775d4a40 63
0fd8d5d9
RP
64Do-last:
65
33aeaf00
FF
66tic80_files="ChangeLog dis-asm.h"
67if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
68 for i in $tic80_files ; do
69 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
70 if [ -n "${verbose}" ] ; then
71 echo Keeping tic80 stuff in $i
72 fi
73 fi
74 done
75else
76 for i in $tic80_files ; do
77 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
78 if [ -n "${verbose}" ] ; then
79 echo Removing traces of \"tic80\" from $i...
80 fi
81 cp $i new
82 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
83 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
84 if [ -n "${verbose}" ] ; then
85 echo Caching $i in .Recover...
86 fi
87 mv $i .Recover
88 fi
89 mv new $i
90 fi
91 done
92fi
93
713495a9
MH
94d30v_files="ChangeLog dis-asm.h"
95if ( echo $* | grep keep\-d30v > /dev/null ) ; then
96 for i in $d30v_files ; do
97 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
98 if [ -n "${verbose}" ] ; then
99 echo Keeping d30v stuff in $i
100 fi
101 fi
102 done
103else
104 for i in $d30v_files ; do
105 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
106 if [ -n "${verbose}" ] ; then
107 echo Removing traces of \"d30v\" from $i...
108 fi
109 cp $i new
110 sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
111 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
112 if [ -n "${verbose}" ] ; then
113 echo Caching $i in .Recover...
114 fi
115 mv $i .Recover
116 fi
117 mv new $i
118 fi
119 done
120fi
121
1eb4e377
DE
122sky_files="ChangeLog dis-asm.h"
123if ( echo $* | grep keep\-sky > /dev/null ) ; then
124 for i in $sky_files ; do
125 if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
126 if [ -n "${verbose}" ] ; then
127 echo Keeping sky stuff in $i
128 fi
129 fi
130 done
131else
132 for i in $sky_files ; do
133 if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
134 if [ -n "${verbose}" ] ; then
135 echo Removing traces of \"sky\" from $i...
136 fi
137 cp $i new
138 sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new
139 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
140 if [ -n "${verbose}" ] ; then
141 echo Caching $i in .Recover...
142 fi
143 mv $i .Recover
144 fi
145 mv new $i
146 fi
147 done
148fi
149
dc997928
DE
150for i in * ; do
151 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
152 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
153 fi
154done
155
0fd8d5d9 156# End of file.
This page took 0.212495 seconds and 4 git commands to generate.