add m32rx sanitization to tconfig.in

This commit is contained in:
Doug Evans 1998-01-23 23:01:06 +00:00
parent ed6f14718b
commit 84af43e37d
1 changed files with 8 additions and 9 deletions

View File

@ -16,6 +16,13 @@
Do-first:
m32rx_files="cpux.h decodex.c decodex.h m32rx.c mloopx.in modelx.c readx.c semx.c"
if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
keep_these_too="${m32rx_files} ${keep_these_too}"
else
lose_these_too="${m32rx_files} ${lose_these_too}"
fi
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@ -35,23 +42,15 @@ configure
configure.in
cpu.h
cpuall.h
cpux.h
decode.c
decode.h
decodex.c
decodex.h
extract.c
m32r-sim.h
m32r.c
m32rx.c
mloop.in
mloopx.in
model.c
modelx.c
readx.c
sem-switch.c
sem.c
semx.c
sim-if.c
sim-main.h
tconfig.in
@ -88,7 +87,7 @@ else
done
fi
m32rx_files="ChangeLog Makefile.in sim-if.c sim-main.h arch.h arch.c cpuall.h"
m32rx_files="ChangeLog Makefile.in sim-if.c sim-main.h arch.h arch.c cpuall.h tconfig.in"
if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
for i in $m32rx_files ; do
if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then