From 18c64df6134433d28c6cfffc7d78afeacc79c69e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 14 Oct 1997 07:27:31 +0000 Subject: 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. --- sim/mips/Makefile.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'sim/mips/Makefile.in') 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 -- cgit v1.1