minor formatting changes
[deliverable/binutils-gdb.git] / opcodes / Makefile.am
index b63f0113291cd6d0b68f8f0c1d121d61e9857867..60d17f636dffa8877240b109123e8b493b33deb5 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS = po
 
 INCDIR = $(srcdir)/../include
 BFDDIR = $(srcdir)/../bfd
-DEP = mkdep
+MKDEP = mkdep
 
 lib_LTLIBRARIES = libopcodes.la
 
@@ -16,7 +16,10 @@ BFD_H = ../bfd/bfd.h
 # Header files.
 HFILES = \
        arm-opc.h \
+       fr30-desc.h fr30-opc.h \
        h8500-opc.h \
+       m32r-desc.h m32r-opc.h \
+       mcore-opc.h \
        sh-opc.h \
        sysdep.h \
        w65-opc.h \
@@ -27,6 +30,8 @@ CFILES = \
        a29k-dis.c \
        alpha-dis.c \
        alpha-opc.c \
+       arc-dis.c \
+       arc-opc.c \
        arm-dis.c \
        cgen-asm.c \
        cgen-dis.c \
@@ -37,22 +42,26 @@ CFILES = \
        d30v-opc.c \
        dis-buf.c \
        disassemble.c \
-       $(start-sanitize-fr30) \
        fr30-asm.c \
+       fr30-desc.c \
        fr30-dis.c \
+       fr30-ibld.c \
        fr30-opc.c \
-       $(end-sanitize-fr30) \
        h8300-dis.c \
        h8500-dis.c \
        hppa-dis.c \
        i386-dis.c \
        i960-dis.c \
        m32r-asm.c \
+       m32r-desc.c \
        m32r-dis.c \
+       m32r-ibld.c \
        m32r-opc.c \
+       m32r-opinst.c \
        m68k-dis.c \
        m68k-opc.c \
        m88k-dis.c \
+       mcore-dis.c \
        mips-dis.c \
        mips-opc.c \
        mips16-opc.c \
@@ -61,12 +70,18 @@ CFILES = \
        m10300-dis.c \
        m10300-opc.c \
        ns32k-dis.c \
+       pj-dis.c \
+       pj-opc.c \
        ppc-dis.c \
        ppc-opc.c \
        sh-dis.c \
        sparc-dis.c \
        sparc-opc.c \
        tic30-dis.c \
+       tic80-dis.c \
+       tic80-opc.c \
+       v850-dis.c \
+       v850-opc.c \
        vax-dis.c \
        w65-dis.c \
        z8k-dis.c \
@@ -86,19 +101,22 @@ ALL_MACHINES = \
        d10v-opc.lo \
        d30v-dis.lo \
        d30v-opc.lo \
-       $(end-sanitize-fr30) \
        fr30-asm.lo \
+       fr30-desc.lo \
        fr30-dis.lo \
+       fr30-ibld.lo \
        fr30-opc.lo \
-       $(end-sanitize-fr30) \
        h8300-dis.lo \
        h8500-dis.lo \
        hppa-dis.lo \
        i386-dis.lo \
        i960-dis.lo \
        m32r-asm.lo \
+       m32r-desc.lo \
        m32r-dis.lo \
+       m32r-ibld.lo \
        m32r-opc.lo \
+       m32r-opinst.lo \
        m68k-dis.lo \
        m68k-opc.lo \
        m88k-dis.lo \
@@ -106,9 +124,12 @@ ALL_MACHINES = \
        m10200-opc.lo \
        m10300-dis.lo \
        m10300-opc.lo \
+       mcore-dis.lo \
        mips-dis.lo \
        mips-opc.lo \
        mips16-opc.lo \
+       pj-dis.lo \
+       pj-opc.lo \
        ppc-dis.lo \
        ppc-opc.lo \
        ns32k-dis.lo \
@@ -116,14 +137,8 @@ ALL_MACHINES = \
        sparc-dis.lo \
        sparc-opc.lo \
        tic30-dis.lo \
-       $(start-sanitize-tic80) \
        tic80-dis.lo \
        tic80-opc.lo \
-       $(end-sanitize-tic80) \
-       $(start-sanitize-sky) \
-       dvp-dis.lo \
-       dvp-opc.lo \
-       $(end-sanitize-sky) \
        v850-dis.lo \
        v850-opc.lo \
        vax-dis.lo \
@@ -168,105 +183,31 @@ po/POTFILES.in: @MAINT@ Makefile
 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
        $(SHELL) ./config.status --recheck
 
-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-fr30
-CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r stamp-fr30
-# end-sanitize-fr30
-
-# 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.
-
-CGENDIR = @cgendir@
-CGEN = @cgen@
-CGENFLAGS = -v
-
-CGENFILES = $(CGENDIR)/cos.scm $(CGENDIR)/utils.scm \
-       $(CGENDIR)/attr.scm $(CGENDIR)/enum.scm $(CGENDIR)/types.scm \
-       $(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.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)/minsn.scm \
-       $(CGENDIR)/opcodes.scm $(CGENDIR)/rtl.scm \
-       $(CGENDIR)/cgen-opc.scm cgen-opc.in cgen-asm.in cgen-dis.in
-# The CGEN_MAINT conditional is put here so it ends up in Makefile.in
-# properly sanitized.
-if CGEN_MAINT
-M32R_DEPS = stamp-m32r
-FR30_DEPS = stamp-fr30
-else
-M32R_DEPS =
-FR30_DEPS =
-endif
-# The end marker is written this way to pass through automake unscathed.
-ENDSAN = end-sanitize-cygnus
-
-# start-sanitize-cygnus
-run-cgen:
-       $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) $(CGENDIR) $(CGENFLAGS) $(arch) $(prefix)
-       touch stamp-${prefix}
-.PHONY: run-cgen
-
-# 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) run-cgen arch=m32r prefix=m32r
-# end-sanitize-cygnus
-# start-sanitize-fr30
-fr30-opc.h fr30-opc.c fr30-asm.c fr30-dis.c: $(FR30_DEPS)
-       @true
-stamp-fr30: $(CGENFILES) $(CGENDIR)/fr30.cpu $(CGENDIR)/fr30.opc
-       $(MAKE) run-cgen arch=fr30 prefix=fr30
-# end-sanitize-fr30
-
-# start-sanitize-tic80
-tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
-       $(INCDIR)/opcode/tic80.h
-tic80-opc.lo: tic80-opc.c $(INCDIR)/opcode/tic80.h
-# end-sanitize-tic80
-
-# start-sanitize-sky
-dvp-dis.lo: dvp-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
-       $(INCDIR)/opcode/dvp.h
-dvp-opc.lo: dvp-opc.c $(INCDIR)/opcode/dvp.h
-
-mips-dis.lo: mips-dis.c
-       $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/mips-dis.c
-# end-sanitize-sky
-
-# start-sanitize-fr30
-fr30-asm.lo: fr30-asm.c sysdep.h config.h $(BFD_H) \
-  $(INCDIR)/symcat.h fr30-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
-fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
-  $(BFD_H) $(INCDIR)/symcat.h fr30-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
-fr30-opc.lo: fr30-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
-  $(BFD_H) $(INCDIR)/symcat.h fr30-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
-# end-sanitize-fr30
+CLEANFILES = \
+       libopcodes.a stamp-lib dep.sed DEP DEP1
+
+
+
+# The start marker is written this way to pass through automake unscathed.
+
+
+
 
 # This dependency stuff is copied from BFD.
 
-.dep: dep.sed $(CFILES) $(HFILES) config.h
-       rm -f .dep1
-       $(MAKE) DEP=$(DEP) .dep1
-       sed -f dep.sed < .dep1 > .dep
+DEP: dep.sed $(CFILES) $(HFILES) config.h
+       rm -f DEP1
+       $(MAKE) MKDEP=$(MKDEP) DEP1
+       sed -f dep.sed < DEP1 > DEP
 
-.dep1: $(CFILES)
-       rm -f .dep2 .dep2a
-       echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
-       echo > .dep2a
-       $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $?
-       sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
-       rm -f .dep2a
-       $(srcdir)/../move-if-change .dep2 .dep1
+DEP1: $(CFILES)
+       rm -f DEP2 DEP2a
+       echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
+       echo > DEP2a
+       $(MKDEP) -f DEP2a $(INCLUDES) $(CFLAGS) $?
+       sed -e '/DO NOT DELETE/d' -e '/^$$/d' < DEP2a >> DEP2
+       rm -f DEP2a
+       $(srcdir)/../move-if-change DEP2 DEP1
 
 dep.sed: dep-in.sed config.status
        sed <$(srcdir)/dep-in.sed >dep.sed      \
@@ -275,19 +216,19 @@ dep.sed: dep-in.sed config.status
                -e 's!@BFDDIR@!$(BFDDIR)!'      \
                -e 's!@SRCDIR@!$(srcdir)!'
 
-dep: .dep
+dep: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
-       cat .dep >> tmp-Makefile
+       cat DEP >> tmp-Makefile
        $(srcdir)/../move-if-change tmp-Makefile Makefile
 
-dep-in: .dep
+dep-in: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
-       cat .dep >> tmp-Makefile.in
+       cat DEP >> tmp-Makefile.in
        $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
 
-dep-am: .dep
+dep-am: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
-       cat .dep >> tmp-Makefile.am
+       cat DEP >> tmp-Makefile.am
        $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
 
 .PHONY: dep dep-in dep-am
@@ -302,10 +243,18 @@ alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
   config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
 alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
   $(BFD_H) opintl.h
+arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
+  $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
+  opintl.h
+arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \
+  opintl.h
 arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \
   $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h
 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
   $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
   opintl.h
@@ -323,6 +272,21 @@ dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
   $(BFD_H) opintl.h
 disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
   $(INCDIR)/dis-asm.h $(BFD_H)
+fr30-asm.lo: fr30-asm.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
+  fr30-opc.h opintl.h
+fr30-desc.lo: fr30-desc.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
+  fr30-opc.h opintl.h
+fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
+  $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
+  fr30-opc.h opintl.h
+fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
+  $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
+  fr30-opc.h opintl.h
+fr30-opc.lo: fr30-opc.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
+  fr30-opc.h
 h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
 h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
@@ -334,20 +298,31 @@ i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
 i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h
 m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
-  $(INCDIR)/symcat.h m32r-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
+  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h opintl.h
+m32r-desc.lo: m32r-desc.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h opintl.h
 m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
-  $(BFD_H) $(INCDIR)/symcat.h m32r-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
-m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
-  $(BFD_H) $(INCDIR)/symcat.h m32r-opc.h $(INCDIR)/opcode/cgen.h \
-  opintl.h
+  $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h opintl.h
+m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
+  $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h opintl.h
+m32r-opc.lo: m32r-opc.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h
+m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(BFD_H) \
+  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
+  m32r-opc.h
 m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h opintl.h \
   $(INCDIR)/opcode/m68k.h
 m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
 m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h opintl.h
+mcore-dis.lo: mcore-dis.c mcore-opc.h $(INCDIR)/ansidecl.h \
+  $(INCDIR)/dis-asm.h $(BFD_H)
 mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
   $(BFD_H) $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
@@ -363,6 +338,9 @@ m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
 ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
   sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h \
   opintl.h
+pj-dis.lo: pj-dis.c $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h \
+  $(BFD_H) $(INCDIR)/ansidecl.h
+pj-opc.lo: pj-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/pj.h
 ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
   config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
 ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h \
@@ -373,8 +351,15 @@ sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
   config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
   $(BFD_H) $(INCDIR)/libiberty.h opintl.h
 sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
-tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
-  $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h
+tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
+  $(BFD_H) $(INCDIR)/opcode/tic30.h
+tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \
+  $(INCDIR)/dis-asm.h $(BFD_H)
+tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h
+v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
+  $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
+v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
+  opintl.h
 vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \
   $(BFD_H) $(INCDIR)/ansidecl.h
 w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
This page took 0.027047 seconds and 4 git commands to generate.