From 6c0a25e9f85e2407fea9e304957d624c62682e51 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 28 Nov 2002 18:08:26 +0000 Subject: [PATCH] 2002-11-28 Andrew Cagney * sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define. --- sim/mn10300/ChangeLog | 5 +++++ sim/mn10300/Makefile.in | 2 ++ sim/mn10300/sim-main.h | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index d4bec0b4a60..a53c8eb36fa 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,8 @@ +2002-11-28 Andrew Cagney + + * sim-main.h: Only include "idecode.h" once. + * Makefile.in (SIM_EXTRA_DEPS): Define. + 2002-06-16 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/mn10300/Makefile.in b/sim/mn10300/Makefile.in index 1f493ec467d..fc055529ba0 100644 --- a/sim/mn10300/Makefile.in +++ b/sim/mn10300/Makefile.in @@ -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 diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h index d0ff4e47325..c13619e8215 100644 --- a/sim/mn10300/sim-main.h +++ b/sim/mn10300/sim-main.h @@ -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 */ -- 2.30.2