diff options
author | Ron Unrau <runrau@cygnus> | 1998-03-01 14:41:38 +0000 |
---|---|---|
committer | Ron Unrau <runrau@cygnus> | 1998-03-01 14:41:38 +0000 |
commit | aaab4e578d6b6ebdfdf63ec25e012ffde264d800 (patch) | |
tree | 21061d1842265a7b627ea3f74079e11a6fe643d6 | |
parent | 626d6b2e55cfa7c8b1d3103bde971101dedf7ca5 (diff) | |
download | gdb-aaab4e578d6b6ebdfdf63ec25e012ffde264d800.zip gdb-aaab4e578d6b6ebdfdf63ec25e012ffde264d800.tar.gz gdb-aaab4e578d6b6ebdfdf63ec25e012ffde264d800.tar.bz2 |
sky-gdb.c: new file - temporary demo version of the sim interface
sky-hardware.c: add sim commands
Makefile.in: build sky-gdb.c
-rw-r--r-- | sim/mips/Makefile.in | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in index 51b7896..157cee4 100644 --- a/sim/mips/Makefile.in +++ b/sim/mips/Makefile.in @@ -18,7 +18,8 @@ SIM_SKY_OBJS = \ sky-libvpe.o \ sky-pke.o \ sky-vu0.o \ - sky-vu1.o + sky-vu1.o \ + sky-gdb.o # end-sanitize-sky SIM_IGEN_OBJ = \ @@ -72,7 +73,7 @@ SIM_EXTRA_CFLAGS = \ -I$(srcdir)/../../newlib/libc/sys/idt \ $(SIM_@sim_gen@_CFLAGS) -SIM_EXTRA_CLEAN = clean-igen clean-m16 clean-extra +SIM_EXTRA_CLEAN = clean-extra SIM_EXTRA_ALL = $(SIM_@sim_gen@_ALL) @@ -141,18 +142,21 @@ BUILT_SRC_FROM_IGEN = \ model.c \ support.h \ support.c \ - itable.h \ - itable.c \ engine.h \ engine.c \ - irun.c + irun.c \ -$(BUILT_SRC_FROM_IGEN): tmp-igen +# NB: Since these can be built by either tmp-igen or tmp-m16 +# they are explicitly marked as being dependant on the +# dependant on the selected generator. +BUILT_SRC_FROM_GEN = \ + itable.h \ + itable.c \ -.PHONY: clean-igen -clean-igen: - rm -f $(BUILT_SRC_FROM_IGEN) - rm -f tmp-igen +$(BUILT_SRC_FROM_GEN): $(SIM_@sim_gen@_ALL) + + +$(BUILT_SRC_FROM_IGEN): tmp-igen tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) cd ../igen && $(MAKE) @@ -233,17 +237,9 @@ BUILT_SRC_FROM_M16 = \ m32_model.c \ m32_support.h \ m32_support.c \ - \ - itable.h \ - itable.c \ $(BUILT_SRC_FROM_M16): tmp-m16 -.PHONY: clean-m16 -clean-m16: - rm -f $(BUILT_SRC_FROM_M16) - rm -f tmp-m16 - tmp-m16: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) cd ../igen && $(MAKE) ../igen/igen \ @@ -336,3 +332,8 @@ tmp-m16: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) clean-extra: rm -f gencode oengine.c tmp.igen + rm -f $(BUILT_SRC_FROM_GEN) + rm -f $(BUILT_SRC_FROM_IGEN) + rm -f $(BUILT_SRC_FROM_M16) + rm -f tmp-igen + rm -f tmp-m16 |