aboutsummaryrefslogtreecommitdiff
path: root/opcodes/Makefile.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2002-12-20 01:40:08 +0000
committerDoug Evans <dje@google.com>2002-12-20 01:40:08 +0000
commit4714fbc0d384596819a3a995a6c4bbcb2a6e676f (patch)
treee21b852c6f05f5520d69edd66bcd78e0cab730ab /opcodes/Makefile.in
parent4ee79850e0be403d5ce348b156c7af9b8df05220 (diff)
downloadfsf-binutils-gdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.zip
fsf-binutils-gdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.tar.gz
fsf-binutils-gdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.tar.bz2
* Makefile.am (CGEN_CPUS): New variable.
(run-cgen-all): New rule. * Makefile.in: Regenerate.
Diffstat (limited to 'opcodes/Makefile.in')
-rw-r--r--opcodes/Makefile.in46
1 files changed, 31 insertions, 15 deletions
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 6d11802..680b7f1 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