diff options
author | Doug Evans <dje@google.com> | 1998-02-25 15:15:09 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-02-25 15:15:09 +0000 |
commit | 6cd37f15638ba2742b672fa116c48c1c15187163 (patch) | |
tree | b91c1b2bece3e6481ec23b8c793b0eb5b2694de1 /sim/common/Make-common.in | |
parent | 390ffa8935d06e561daa5e45860ca0a05d9fee1d (diff) | |
download | gdb-6cd37f15638ba2742b672fa116c48c1c15187163.zip gdb-6cd37f15638ba2742b672fa116c48c1c15187163.tar.gz gdb-6cd37f15638ba2742b672fa116c48c1c15187163.tar.bz2 |
* Make-common.in (check): Run `make check' in testsuite dir.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r-- | sim/common/Make-common.in | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index a946423..e5c69a7 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -237,14 +237,14 @@ targ-map.o: targ-map.c targ-vals.h gentmap: Makefile $(srccom)/gentmap.c targ-vals.def $(CC_FOR_BUILD) $(srccom)/gentmap.c -o gentmap $(BUILD_CFLAGS) $(NL_TARGET) -targ-vals.h: gentmap - rm -f targ-vals.h - ./gentmap -h >targ-vals.h - -targ-map.c: gentmap - rm -f targ-map.c - ./gentmap -c >targ-map.c - +targ-vals.h targ-map.c: stamp-tvals +stamp-tvals: gentmap + rm -f tmp-tvals.h tmp-tmap.c + ./gentmap -h >tmp-tvals.h + $(srcroot)/move-if-change tmp-tvals.h targ-vals.h + ./gentmap -c >tmp-tmap.c + $(srcroot)/move-if-change tmp-tmap.c targ-map.c + touch stamp-tvals # # Rules for building sim-* components. Triggered by listing the corresponding @@ -431,6 +431,7 @@ installdirs: $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir) check: + cd ../testsuite && $(MAKE) check info: clean-info: @@ -447,7 +448,7 @@ TAGS: force clean: $(SIM_EXTRA_CLEAN) rm -f *.[oa] *~ core rm -f run libsim.a - rm -f gentmap targ-map.c targ-vals.h + rm -f gentmap targ-map.c targ-vals.h stamp-tvals if [ ! -f Make-common.in ] ; then \ rm -f $(BUILT_SRC_FROM_COMMON) ; \ fi @@ -482,23 +483,20 @@ stamp-h: config.in config.status # CGEN support SCHEME = @SCHEME@ -SCHEME = guile-ss -SCHEME = guile -#SCHEMEFLAGS = -b SCHEMEFLAGS = -s srccgen = $(srcroot)/cgen CGEN_VERBOSE = -v -CGEN_MAIN_SCM = $(srccgen)/object.scm \ - $(srccgen)/utils.scm $(srccgen)/utils-cgen.scm \ - $(srccgen)/mode.scm \ - $(srccgen)/cpu.scm $(srccgen)/mach.scm \ +CGEN_MAIN_SCM = $(srccgen)/object.scm $(srccgen)/utils.scm \ + $(srccgen)/attr.scm $(srccgen)/enum.scm $(srccgen)/types.scm \ + $(srccgen)/utils-cgen.scm $(srccgen)/cpu.scm \ + $(srccgen)/mode.scm $(srccgen)/mach.scm \ + $(srccgen)/model.scm $(srccgen)/hardware.scm \ $(srccgen)/ifield.scm $(srccgen)/iformat.scm \ $(srccgen)/operand.scm $(srccgen)/insn.scm \ - $(srccgen)/sim.scm -CGEN_CPU_SCM = $(srccgen)/sim-cpu.scm $(srccgen)/sim-model.scm \ - $(srccgen)/sem-ccode.scm -CGEN_DECODE_SCM = $(srccgen)/decode.scm + $(srccgen)/cdl-c.scm $(srccgen)/sim.scm +CGEN_CPU_SCM = $(srccgen)/sim-cpu.scm $(srccgen)/sim-model.scm +CGEN_DECODE_SCM = $(srccgen)/sim-decode.scm # Various choices for which cpu specific files to generate. CGEN_CPU_EXTR = -E tmp-ext.c1 |