add m32rx sanitization to tconfig.in
authorDoug Evans <dje@google.com>
Fri, 23 Jan 1998 23:01:06 +0000 (23:01 +0000)
committerDoug Evans <dje@google.com>
Fri, 23 Jan 1998 23:01:06 +0000 (23:01 +0000)
sim/m32r/.Sanitize

index 490563a379af91b4667b87d3c0a364c104cebd66..c927d0f31fef67fefa8ee44c4953858d3c2584f6 100644 (file)
 
 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