* 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.
+start-sanitize-cygnus
+Fri May 1 13:47:42 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * 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.
+
+end-sanitize-cygnus
Tue Apr 28 14:12:12 1998 Nick Clifton <nickc@cygnus.com>
* cgen-asm.c: Internationalised.
+start-sanitize-cygnus
* cgen-asm.in: Internationalised.
* cgen-opc.in: Internationalised.
+end-sanitize-cygnus
* m32r-asm.c: Internationalised.
* m32r-dis.c: Internationalised.
* m32r-opc.c: Internationalised.
$(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
.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
$(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.
+@CGEN_MAINT_TRUE@M32R_DEPS = stamp-m32r
+@CGEN_MAINT_FALSE@M32R_DEPS =
# The end marker is written this way to pass through automake unscathed.
ENDSAN = end-sanitize-cygnus
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
.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