2001-07-05 Ben Elliston <bje@redhat.com>
authorBen Elliston <bje@au.ibm.com>
Thu, 5 Jul 2001 13:51:26 +0000 (13:51 +0000)
committerBen Elliston <bje@au.ibm.com>
Thu, 5 Jul 2001 13:51:26 +0000 (13:51 +0000)
* Make-common.in (srccgen): Remove.
(CGEN_CPU_DIR): Define.
(CGEN_READ_SCM): Redefine without $(srccgen).
(CGEN_ARCH_SCM): Ditto.
(CGEN_CPU_SCM): Ditto.
(CGEN_DECODE_SCM): Ditto.
(CGEN_DESC_SCM): Ditto.

* $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.

sim/common/ChangeLog
sim/common/Make-common.in
sim/fr30/ChangeLog
sim/fr30/Makefile.in
sim/i960/ChangeLog
sim/i960/Makefile.in
sim/m32r/ChangeLog
sim/m32r/Makefile.in

index 11173073a0969b1fdbebd61c95180a9a09354c53..0b941770dcf1824c78a59545dfea3fc7d2358e55 100644 (file)
@@ -1,3 +1,13 @@
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Make-common.in (srccgen): Remove.
+       (CGEN_CPU_DIR): Define.
+       (CGEN_READ_SCM): Redefine without $(srccgen).
+       (CGEN_ARCH_SCM): Ditto.
+       (CGEN_CPU_SCM): Ditto.
+       (CGEN_DECODE_SCM): Ditto.
+       (CGEN_DESC_SCM): Ditto.
+
 2001-04-25  Frank Ch. Eigler  <fche@redhat.com>
 
        * sim-load.c (sim_load_file): Put it back: external now.
index f37d03f506f1934fcd407851e82e345f1f7ad9be..519b213da739cb90d8df2d0f67ee359e02119cb0 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile fragment for common parts of all simulators.
-# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 # Contributed by Cygnus Support.
 
 # This program is free software; you can redistribute it and/or modify
@@ -659,13 +659,13 @@ stamp-h: config.in config.status
 CGENDIR = @cgendir@
 CGEN = `if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi`
 CGENFLAGS = -v
-srccgen = $(CGENDIR)
+CGEN_CPU_DIR = $(CGENDIR)/cpu
 
-CGEN_READ_SCM = ../../cgen/stamp-cgen $(srccgen)/sim.scm
-CGEN_ARCH_SCM = $(srccgen)/sim-arch.scm
-CGEN_CPU_SCM = $(srccgen)/sim-cpu.scm $(srccgen)/sim-model.scm
-CGEN_DECODE_SCM = $(srccgen)/sim-decode.scm
-CGEN_DESC_SCM = $(srccgen)/desc.scm $(srccgen)/desc-cpu.scm
+CGEN_READ_SCM = ../../cgen/stamp-cgen $(CGENDIR)/sim.scm
+CGEN_ARCH_SCM = $(CGENDIR)/sim-arch.scm
+CGEN_CPU_SCM = $(CGENDIR)/sim-cpu.scm $(CGENDIR)/sim-model.scm
+CGEN_DECODE_SCM = $(CGENDIR)/sim-decode.scm
+CGEN_DESC_SCM = $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm
 
 # Various choices for which cpu specific files to generate.
 CGEN_CPU_EXTR = -E tmp-ext.c1
index a8ea840820509b1d88509d848000ed11221614bd..ed8f8af10d52d869459a60ce3a55864489e04ecc 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+
 2001-03-05  Dave Brolley  <brolley@redhat.com>
 
        * arch.c: Regenerate.
index 102cb0c1155bdee0bbc7230c69e4cba37991a93e..2a0ac83e01fbdc9bda7d6a9b7fb2283fad2a6682 100644 (file)
@@ -94,13 +94,13 @@ CGEN_MAINT = ; @true
 # The following line is commented in or out depending upon --enable-cgen-maint.
 @CGEN_MAINT@CGEN_MAINT =
 
-stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(srccgen)/fr30.cpu
+stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CGEN_CPU_DIR)/fr30.cpu
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
          FLAGS="with-scache with-profile=fn"
        touch stamp-arch
 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
 
-stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/fr30.cpu
+stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/fr30.cpu
        $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
          cpu=fr30bf mach=fr30 SUFFIX= FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
        touch stamp-cpu
index 9b73dfa6ffbe6b8c353c08c313d879fc71553f9b..8cd8512de9be697c2c26800baa2edae357f3fbca 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+       (stamp-desc): Likewise.
+
 2001-02-06  DJ Delorie  <dj@redhat.com>
 
        * i960-desc.c: Update all the A macro definitions to the new
index 0059e23d5a7ed6ed48cd4647006c269a58df0131..b1e0abeff0e28d7d85879e712107ee207fcbbb7c 100644 (file)
@@ -105,20 +105,20 @@ CGEN_MAINT = ; @true
 # The following line is commented in or out depending upon --enable-cgen-maint.
 @CGEN_MAINT@CGEN_MAINT =
 
-stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(srccgen)/i960.cpu
+stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CGEN_CPU_DIR)/i960.cpu
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
          FLAGS="with-scache with-profile=fn"
        touch stamp-arch
 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
 
-stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/i960.cpu
+stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/i960.cpu
        $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
          cpu=i960base mach=i960:ka_sa,i960:ca SUFFIX= FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
        touch stamp-cpu
 cpu.h sem.c sem-switch.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu
 
 stamp-desc: $(CGEN_READ_SCM) $(CGEN_DESC_SCM) \
-               $(srccgen)/sparc.cpu $(srccgen)/sparccom.cpu $(srccgen)/i960.cpu $(srccgen)/i960.cpu
+               $(CGEN_CPU_DIR)/sparc.cpu $(CGEN_CPU_DIR)/sparccom.cpu $(CGEN_CPU_DIR)/i960.cpu $(CGEN_CPU_DIR)/i960.cpu
        $(MAKE) cgen-desc $(CGEN_FLAGS_TO_PASS) \
                cpu=i960 mach=all
        touch stamp-desc
index ed2cb340129325a12f41182c4f1f4a3abc147bcf..3fe36f56bf16aca52e86ff8846192df8217019f5 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+       (stamp-xcpu): Likewise.
+
 2001-03-05  Dave Brolley  <brolley@redhat.com>
 
        arch.c: Regenerate.
index 0c2bf6fc928ad2c38c4af2155f01c51bd4a36d71..7f40a85d718a15ae9dcb31affc744c1ffebcf3d7 100644 (file)
@@ -124,13 +124,13 @@ CGEN_MAINT = ; @true
 # The following line is commented in or out depending upon --enable-cgen-maint.
 @CGEN_MAINT@CGEN_MAINT =
 
-stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(srccgen)/m32r.cpu
+stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CGEN_CPU_DIR)/m32r.cpu
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
          FLAGS="with-scache with-profile=fn"
        touch stamp-arch
 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
 
-stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/m32r.cpu
+stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/m32r.cpu
        $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
          cpu=m32rbf mach=m32r SUFFIX= \
          FLAGS="with-scache with-profile=fn" \
@@ -138,7 +138,7 @@ stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/m32r.c
        touch stamp-cpu
 cpu.h sem.c sem-switch.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu
 
-stamp-xcpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/m32r.cpu
+stamp-xcpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/m32r.cpu
        $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
          cpu=m32rxf mach=m32rx SUFFIX=x FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEMSW)"
        touch stamp-xcpu