diff options
author | Doug Evans <dje@google.com> | 1998-01-13 01:37:20 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-01-13 01:37:20 +0000 |
commit | bfc10abe47d82b1c6d10070a69b5e6fc11f0d311 (patch) | |
tree | 3c00bb850781e23e6a169fe63e7be74d1fec4eec /opcodes/Makefile.am | |
parent | c062b1036fc459e1b4fe66c61ef3c916756706c9 (diff) | |
download | gdb-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.am')
-rw-r--r-- | opcodes/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 28ba82b..a4ae72f 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -138,6 +138,44 @@ stamp-lib: libopcodes.la libopcodes.a: stamp-lib ; @true 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 + +# 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 \ |