aboutsummaryrefslogtreecommitdiff
path: root/opcodes/Makefile.am
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.am
parent4ee79850e0be403d5ce348b156c7af9b8df05220 (diff)
downloadgdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.zip
gdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.tar.gz
gdb-4714fbc0d384596819a3a995a6c4bbcb2a6e676f.tar.bz2
* Makefile.am (CGEN_CPUS): New variable.
(run-cgen-all): New rule. * Makefile.in: Regenerate.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r--opcodes/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 6bdfa36..ba00726 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