aboutsummaryrefslogtreecommitdiff
path: root/opcodes/Makefile.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-13 01:37:20 +0000
committerDoug Evans <dje@google.com>1998-01-13 01:37:20 +0000
commitbfc10abe47d82b1c6d10070a69b5e6fc11f0d311 (patch)
tree3c00bb850781e23e6a169fe63e7be74d1fec4eec /opcodes/Makefile.in
parentc062b1036fc459e1b4fe66c61ef3c916756706c9 (diff)
downloadgdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.zip
gdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.tar.gz
gdb-bfc10abe47d82b1c6d10070a69b5e6fc11f0d311.tar.bz2
* Makefile.am: Add cgen support.
* Makefile.in: Regenerate. * configure.in: Add cgen support. * configure: Regenerate. * aclocal.m4: Regenerate. * cgen.sh, cgen-asm.in, cgen-dis.in: New files.
Diffstat (limited to 'opcodes/Makefile.in')
-rw-r--r--opcodes/Makefile.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index efe5b51..537d0b8 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -198,6 +198,29 @@ libopcodes_la_LIBADD = $(OFILES)
noinst_LIBRARIES = libopcodes.a
CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1
+# start-sanitize-cygnus
+CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r
+# end-sanitize-cygnus
+
+# start-sanitize-cygnus
+# CGEN support is sanitized out of FSF releases for now.
+# Sanitization must be split between assignments and rules because
+# automake splits them that way.
+
+SCHEME = @SCHEME@
+SCHEMEFLAGS = -s
+CGENDIR = $(srcdir)/../cgen
+CGENFLAGS = -v
+
+CGENFILES = $(CGENDIR)/object.scm $(CGENDIR)/utils.scm \
+ $(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.scm \
+ $(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \
+ $(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \
+ $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \
+ $(CGENDIR)/opcodes.scm $(CGENDIR)/cgen-opc.scm \
+ cgen-asm.in cgen-dis.in
+# The end marker is written this way to pass through automake unscathed.
+ENDSAN = end-sanitize-cygnus
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
@@ -495,6 +518,21 @@ stamp-lib: libopcodes.la
libopcodes.a: stamp-lib ; @true
+# start-sanitize-cygnus
+cgen:
+ $(SHELL) $(srcdir)/cgen.sh $(srcdir) $(CGENDIR) $(CGENFLAGS) $(SCHEME) $(SCHEMEFLAGS) $(arch)
+ touch stamp-${arch}
+
+.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
+ @true
+stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
+ $(MAKE) cgen arch=m32r prefix=m32r
+# end-sanitize-cygnus
+
# start-sanitize-tic80
tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
$(INCDIR)/opcode/tic80.h