From 9ce07032d0328f48482ad7516061f55f295c5c6e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 20 Dec 2002 01:40:08 +0000 Subject: * Makefile.am (CGEN_CPUS): New variable. (run-cgen-all): New rule. * Makefile.in: Regenerate. --- opcodes/ChangeLog | 6 ++++++ opcodes/Makefile.am | 10 ++++++++++ opcodes/Makefile.in | 46 +++++++++++++++++++++++++++++++--------------- 3 files changed, 47 insertions(+), 15 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9b6cc95c4d1..66221d8ed25 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2002-12-19 Doug Evans + + * Makefile.am (CGEN_CPUS): New variable. + (run-cgen-all): New rule. + * Makefile.in: Regenerate. + 2002-12-18 Chris Demetriou * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 6bdfa36ca1c..ba0072681c3 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -342,6 +342,8 @@ CGENDEPS = \ $(CGENDIR)/opc-opinst.scm \ cgen-asm.in cgen-dis.in cgen-ibld.in +CGEN_CPUS = fr30 frv ip2k m32r openrisc xstormy16 + if CGEN_MAINT IP2K_DEPS = stamp-ip2k M32R_DEPS = stamp-m32r @@ -365,6 +367,14 @@ run-cgen: touch stamp-${prefix} .PHONY: run-cgen +# Maintainer utility rule to regenerate all cgen files. +run-cgen-all: + for c in $(CGEN_CPUS) ; \ + do \ + $(MAKE) stamp-$$c || exit 1 ; \ + done +.PHONY: run-cgen-all + # For now, require developers to configure with --enable-cgen-maint. $(srcdir)/ip2k-desc.h $(srcdir)/ip2k-desc.c $(srcdir)/ip2k-opc.h $(srcdir)/ip2k-opc.c $(srcdir)/ip2k-ibld.c $(srcdir)/ip2k-asm.c $(srcdir)/ip2k-dis.c: $(IP2K_DEPS) @true diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 6d118021693..680b7f154dc 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -1,6 +1,6 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4 from Makefile.am -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -409,18 +409,26 @@ CGENDEPS = \ $(CGENDIR)/opc-opinst.scm \ cgen-asm.in cgen-dis.in cgen-ibld.in -@CGEN_MAINT_TRUE@IP2K_DEPS = @CGEN_MAINT_TRUE@stamp-ip2k -@CGEN_MAINT_FALSE@IP2K_DEPS = -@CGEN_MAINT_TRUE@M32R_DEPS = @CGEN_MAINT_TRUE@stamp-m32r -@CGEN_MAINT_FALSE@M32R_DEPS = -@CGEN_MAINT_TRUE@FR30_DEPS = @CGEN_MAINT_TRUE@stamp-fr30 -@CGEN_MAINT_FALSE@FR30_DEPS = -@CGEN_MAINT_TRUE@FRV_DEPS = @CGEN_MAINT_TRUE@stamp-frv -@CGEN_MAINT_FALSE@FRV_DEPS = -@CGEN_MAINT_TRUE@OPENRISC_DEPS = @CGEN_MAINT_TRUE@stamp-openrisc -@CGEN_MAINT_FALSE@OPENRISC_DEPS = -@CGEN_MAINT_TRUE@XSTORMY16_DEPS = @CGEN_MAINT_TRUE@stamp-xstormy16 -@CGEN_MAINT_FALSE@XSTORMY16_DEPS = + +CGEN_CPUS = fr30 frv ip2k m32r openrisc xstormy16 +@CGEN_MAINT_TRUE@IP2K_DEPS = \ +@CGEN_MAINT_TRUE@stamp-ip2k +@CGEN_MAINT_FALSE@IP2K_DEPS = \ +@CGEN_MAINT_TRUE@M32R_DEPS = \ +@CGEN_MAINT_TRUE@stamp-m32r +@CGEN_MAINT_FALSE@M32R_DEPS = \ +@CGEN_MAINT_TRUE@FR30_DEPS = \ +@CGEN_MAINT_TRUE@stamp-fr30 +@CGEN_MAINT_FALSE@FR30_DEPS = \ +@CGEN_MAINT_TRUE@FRV_DEPS = \ +@CGEN_MAINT_TRUE@stamp-frv +@CGEN_MAINT_FALSE@FRV_DEPS = \ +@CGEN_MAINT_TRUE@OPENRISC_DEPS = \ +@CGEN_MAINT_TRUE@stamp-openrisc +@CGEN_MAINT_FALSE@OPENRISC_DEPS = \ +@CGEN_MAINT_TRUE@XSTORMY16_DEPS = \ +@CGEN_MAINT_TRUE@stamp-xstormy16 +@CGEN_MAINT_FALSE@XSTORMY16_DEPS = \ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_HEADER = config.h @@ -598,7 +606,7 @@ maintainer-clean-recursive: dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ - test "$$subdir" != "." || dot_seen=yes; \ + test "$$subdir" = "." && dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ @@ -861,6 +869,14 @@ run-cgen: touch stamp-${prefix} .PHONY: run-cgen +# Maintainer utility rule to regenerate all cgen files. +run-cgen-all: + for c in $(CGEN_CPUS) ; \ + do \ + $(MAKE) stamp-$$c || exit 1 ; \ + done +.PHONY: run-cgen-all + # For now, require developers to configure with --enable-cgen-maint. $(srcdir)/ip2k-desc.h $(srcdir)/ip2k-desc.c $(srcdir)/ip2k-opc.h $(srcdir)/ip2k-opc.c $(srcdir)/ip2k-ibld.c $(srcdir)/ip2k-asm.c $(srcdir)/ip2k-dis.c: $(IP2K_DEPS) @true -- cgit v1.2.1