2002-11-28 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 28 Nov 2002 18:08:26 +0000 (18:08 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 28 Nov 2002 18:08:26 +0000 (18:08 +0000)
* sim-main.h: Only include "idecode.h" once.
* Makefile.in (SIM_EXTRA_DEPS): Define.

sim/mn10300/ChangeLog
sim/mn10300/Makefile.in
sim/mn10300/sim-main.h

index d4bec0b..a53c8eb 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-28  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-main.h: Only include "idecode.h" once.
+       * Makefile.in (SIM_EXTRA_DEPS): Define.
+
 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
 
        * configure: Regenerated to track ../common/aclocal.m4 changes.
index 1f493ec..fc05552 100644 (file)
@@ -44,6 +44,8 @@ WITH_COMMON_RUN_OBJS = nrun.o
 SIM_RUN_OBJS = $(@mn10300_common@_COMMON_RUN_OBJS)
 
 SIM_EXTRA_CLEAN = clean-extra
+# Extra dependencies for "sim-main.h"
+SIM_EXTRA_DEPS = mn10300_sim.h itable.h idecode.h
 
 # Select mn10300 support in nltvals.def.
 NL_TARGET = -DNL_TARGET_mn10300
index d0ff4e4..c13619e 100644 (file)
@@ -42,7 +42,6 @@
 /* These are generated files.  */
 #include "itable.h"
 #include "idecode.h"
-#include "idecode.h"
 
 typedef instruction_address sim_cia;
 static const sim_cia null_cia = {0}; /* Dummy */