diff options
author | Doug Evans <dje@google.com> | 1998-05-01 20:59:29 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-05-01 20:59:29 +0000 |
commit | fbe293a6dd820e40b51a0acde1641ff576d7ec29 (patch) | |
tree | 2fe88d8e72e81968862fe7f04cac369d9fcc2ab3 /opcodes/Makefile.am | |
parent | aee522050a43137b1ec8a8152741119ab30d3f7f (diff) | |
download | gdb-fbe293a6dd820e40b51a0acde1641ff576d7ec29.zip gdb-fbe293a6dd820e40b51a0acde1641ff576d7ec29.tar.gz gdb-fbe293a6dd820e40b51a0acde1641ff576d7ec29.tar.bz2 |
* configure.in: Add support for --enable-cgen-maint.
* Makefile.am (M32R_DEPS): New variable.
(m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c): Update dependencies.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
* Makefile.am (CGENFILES): Add minsn.scm.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r-- | opcodes/Makefile.am | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 230f99d..88d1a28 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -172,9 +172,16 @@ CGENFILES = $(CGENDIR)/object.scm $(CGENDIR)/utils.scm \ $(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \ $(CGENDIR)/model.scm $(CGENDIR)/hardware.scm \ $(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \ - $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \ + $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm $(CGENDIR)/minsn.scm \ $(CGENDIR)/opcodes.scm $(CGENDIR)/cdl-c.scm \ $(CGENDIR)/cgen-opc.scm cgen-opc.in cgen-asm.in cgen-dis.in +# The CGEN_MAINT conditional is put here so it end up in Makefile.in +# properly sanitized. +if CGEN_MAINT +M32R_DEPS = stamp-m32r +else +M32R_DEPS = +endif # The end marker is written this way to pass through automake unscathed. ENDSAN = end-sanitize-cygnus @@ -185,9 +192,8 @@ cgen: .PHONY: cgen -# For now, require developers to configure with --enable-maintainer-mode. -# ??? Do we need to use a different option? -m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: @MAINT@ stamp-m32r +# For now, require developers to configure with --enable-cgen-maint. +m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: $(M32R_DEPS) @true stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc $(MAKE) cgen arch=m32r prefix=m32r |