From c79688eb6e1d342125275f68cc695902510b5f39 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 5 Dec 2000 00:56:44 +0000 Subject: [PATCH] 2000-12-05 Ben Elliston * Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES). --- sim/common/ChangeLog | 3 +++ sim/common/Make-common.in | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index e9aad81c4c..d2248279b3 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,8 @@ 2000-12-05 Ben Elliston + * Make-common.in (cgen-defs): New target. + (cgen-decode): Pass $(EXTRAFILES). + * genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and -outfile-suffix options. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 98e663b768..eb65825ff2 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -1,5 +1,5 @@ # Makefile fragment for common parts of all simulators. -# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. # Contributed by Cygnus Support. # This program is free software; you can redistribute it and/or modify @@ -691,10 +691,15 @@ cgen-cpu: force $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \ $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)" +cgen-defs: force + $(SHELL) $(srccom)/cgen.sh defs $(srcdir) \ + $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \ + $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored + cgen-decode: force $(SHELL) $(srccom)/cgen.sh decode $(srcdir) \ $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \ - $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored + $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)" cgen-cpu-decode: force $(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \ -- 2.34.1