* cgen-sim.h (cgen_state): New member opcode_table.
[deliverable/binutils-gdb.git] / sim / common / .Sanitize
1 # .Sanitize for devo/sim/common.
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 cygnus_files="cgen.sh"
19 if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
20 keep_these_too="${cygnus_files} ${keep_these_too}"
21 else
22 lose_these_too="${cygnus_files} ${lose_these_too}"
23 fi
24
25 # All files listed between the "Things-to-keep:" line and the
26 # "Files-to-sed:" line will be kept. All other files will be removed.
27 # Directories listed in this section will have their own Sanitize
28 # called. Directories not listed will be removed in their entirety
29 # with rm -rf.
30
31 Things-to-keep:
32
33 ChangeLog
34 Make-common.in
35 Makefile.in
36 acconfig.h
37 aclocal.m4
38 callback.c
39 cgen-mem.h
40 cgen-ops.h
41 cgen-scache.c
42 cgen-sim.h
43 cgen-trace.c
44 cgen-trace.h
45 cgen-types.h
46 cgen-utils.c
47 config.in
48 configure.in
49 configure
50 dv-core.c
51 dv-glue.c
52 dv-pal.c
53 dv-sockser.c
54 dv-sockser.h
55 gdbinit.in
56 genmloop.sh
57 gennltvals.sh
58 gentmap.c
59 gentvals.sh
60 hw-alloc.c
61 hw-alloc.h
62 hw-base.c
63 hw-base.h
64 hw-device.c
65 hw-device.h
66 hw-events.c
67 hw-events.h
68 hw-handles.c
69 hw-handles.h
70 hw-instances.c
71 hw-instances.h
72 hw-main.h
73 hw-ports.c
74 hw-ports.h
75 hw-properties.c
76 hw-properties.h
77 hw-tree.c
78 hw-tree.h
79 nltvals.def
80 nrun.c
81 run.c
82 run.1
83 sim-abort.c
84 sim-alu.h
85 sim-assert.h
86 sim-base.h
87 sim-basics.h
88 sim-bits.c
89 sim-bits.h
90 sim-break.c
91 sim-break.h
92 sim-config.c
93 sim-config.h
94 sim-core.c
95 sim-core.h
96 sim-cpu.c
97 sim-cpu.h
98 sim-endian.c
99 sim-endian.h
100 sim-engine.c
101 sim-engine.h
102 sim-events.c
103 sim-events.h
104 sim-fpu.c
105 sim-fpu.h
106 sim-hload.c
107 sim-hrw.c
108 sim-hw.c
109 sim-hw.h
110 sim-info.c
111 sim-inline.c
112 sim-inline.h
113 sim-io.c
114 sim-io.h
115 sim-load.c
116 sim-memopt.c
117 sim-memopt.h
118 sim-model.c
119 sim-model.h
120 sim-module.c
121 sim-module.h
122 sim-n-bits.h
123 sim-n-core.h
124 sim-n-endian.h
125 sim-options.c
126 sim-options.h
127 sim-profile.c
128 sim-profile.h
129 sim-reason.c
130 sim-resume.c
131 sim-run.c
132 sim-signal.c
133 sim-signal.h
134 sim-stop.c
135 sim-trace.c
136 sim-trace.h
137 sim-types.h
138 sim-utils.c
139 sim-utils.h
140 sim-watch.c
141 sim-watch.h
142 syscall.c
143 tconfig.in
144
145 Things-to-lose:
146
147 Do-last:
148
149 cygnus_files="ChangeLog Make-common.in"
150 if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
151 for i in $cygnus_files ; do
152 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
153 if [ -n "${verbose}" ] ; then
154 echo Keeping cygnus stuff in $i
155 fi
156 fi
157 done
158 else
159 for i in $cygnus_files ; do
160 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
161 if [ -n "${verbose}" ] ; then
162 echo Removing traces of \"cygnus\" from $i...
163 fi
164 cp $i new
165 sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
166 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
167 if [ -n "${verbose}" ] ; then
168 echo Caching $i in .Recover...
169 fi
170 mv $i .Recover
171 fi
172 mv new $i
173 fi
174 done
175 fi
176
177 # End of file.
This page took 0.033313 seconds and 4 git commands to generate.