aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-14 07:27:31 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-14 07:27:31 +0000
commit18c64df6134433d28c6cfffc7d78afeacc79c69e (patch)
tree3fa431975ea4240ad6d717653c860d33ad7210a1 /sim/mips/Makefile.in
parent6a587c4aae49f0831ff5523efdbf457fdf4afa39 (diff)
downloadgdb-18c64df6134433d28c6cfffc7d78afeacc79c69e.zip
gdb-18c64df6134433d28c6cfffc7d78afeacc79c69e.tar.gz
gdb-18c64df6134433d28c6cfffc7d78afeacc79c69e.tar.bz2
o Add support for configuring wordsize, fp hardware and target
endianness. Provide defaults for some tier-1 mips targets. o Parameterize all functions with SIM_DESC.
Diffstat (limited to 'sim/mips/Makefile.in')
-rw-r--r--sim/mips/Makefile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in
index af5128e..445b995 100644
--- a/sim/mips/Makefile.in
+++ b/sim/mips/Makefile.in
@@ -35,6 +35,8 @@ SIM_EXTRA_CFLAGS = \
SIM_EXTRA_CLEAN = clean-extra
+SIM_EXTRA_ALL = tmp.igen
+
# List of main object files for `run'.
SIM_RUN_OBJS = nrun.o
@@ -42,20 +44,25 @@ SIM_RUN_OBJS = nrun.o
## COMMON_POST_CONFIG_FRAG
-interp.o: $(srcdir)/interp.c engine.c $(srcdir)/support.h config.h
+interp.o: $(srcdir)/interp.c engine.c config.h
engine.c: gencode
- ./gencode @SIMCONF@ > $@
+ ./gencode @SIMCONF@ > tmp-engine
+ mv tmp-engine engine.c
+tmp.igen: gencode
+ ./gencode --igen @SIMCONF@ > tmp-igen
+ mv tmp-igen tmp.igen
gencode: gencode.o getopt.o getopt1.o
$(CC_FOR_BUILD) -o $@ gencode.o getopt.o getopt1.o
gencode.o: $(srcdir)/gencode.c
$(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/gencode.c
+
getopt.o: $(srcdir)/../../libiberty/getopt.c
$(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/../../libiberty/getopt.c
getopt1.o: $(srcdir)/../../libiberty/getopt1.c
$(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/../../libiberty/getopt1.c
clean-extra:
- rm -f gencode engine.c
+ rm -f gencode engine.c tmp.igen