aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-25 09:58:04 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-25 09:58:04 +0000
commita6a5d3492796f75b03b92f86226b2741ee468f0d (patch)
treea75024976954a22cab17ddffdfe0b6b8e86947ae /sim/v850/Makefile.in
parent9ff152f7f560389f2e5a8e645c389f3317dadae0 (diff)
downloadgdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.zip
gdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.tar.gz
gdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.tar.bz2
Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in: Include targ-vals.h instead of syscall.h. Replace SYS_* with TARGET_SYS_*. Add dependency. z8k/support.c: Include <errno.h> v850/simops.c: Replace long with portable signed32. mips/interp.c: Make sim_monitor global - needed by sky.
Diffstat (limited to 'sim/v850/Makefile.in')
-rw-r--r--sim/v850/Makefile.in32
1 files changed, 6 insertions, 26 deletions
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in
index 043aa2a..ba28238 100644
--- a/sim/v850/Makefile.in
+++ b/sim/v850/Makefile.in
@@ -19,28 +19,16 @@
## COMMON_PRE_CONFIG_FRAG
SIM_OBJS = \
+ $(SIM_NEW_COMMON_OBJS) \
simops.o interp.o \
itable.o semantics.o idecode.o icache.o engine.o irun.o support.o \
- sim-bits.o \
- sim-config.o \
- sim-core.o \
sim-engine.o \
- sim-endian.o \
- sim-events.o \
sim-hload.o \
sim-hrw.o \
- sim-io.o \
- sim-load.o \
- sim-memopt.o \
- sim-module.o \
- sim-options.o \
- sim-profile.o \
sim-resume.o \
sim-reason.o \
- sim-stop.o \
- sim-trace.o \
- sim-watch.o \
- sim-utils.o
+ sim-stop.o
+
SIM_RUN_OBJS = nrun.o
# List of extra dependencies.
@@ -48,20 +36,12 @@ SIM_RUN_OBJS = nrun.o
SIM_EXTRA_DEPS = v850_sim.h sim-main.h simops.h itable.h
# List of flags to always pass to $(CC)
-SIM_WARNINGS=@sim_warnings@
-SIM_ENDIAN=@sim_endian@
-SIM_HOSTENDIAN=@sim_hostendian@
-SIM_RESERVED_BITS=@sim_reserved_bits@
SIM_EXTRA_CFLAGS = \
-DDEBUG \
- -I$(srcdir)/../../newlib/libc/sys/sysnecv850 \
- $(SIM_WARNINGS) \
- $(SIM_ENDIAN) \
- $(SIM_HOSTENDIAN) \
- $(SIM_RESERVED_BITS)
+ -I$(srcdir)/../../newlib/libc/sys/sysnecv850
SIM_EXTRA_CLEAN = clean-extra
-INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS)
+INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS)
## COMMON_POST_CONFIG_FRAG
@@ -155,6 +135,6 @@ clean-extra: clean-igen
rm -f table.c simops.h gencode
#interp.o: interp.c table.c $(INCLUDE)
-simops.o: simops.c $(INCLUDE)
+simops.o: simops.c $(INCLUDE) targ-vals.h
#table.o: table.c
semantics.o: $(INCLUDE)