Line 308... |
Line 308... |
# This is where bfd.h lives.
|
# This is where bfd.h lives.
|
BFD_H = ../bfd/bfd.h
|
BFD_H = ../bfd/bfd.h
|
|
|
# Header files.
|
# Header files.
|
HFILES = \
|
HFILES = \
|
|
epiphany-desc.h epiphany-opc.h \
|
fr30-desc.h fr30-opc.h \
|
fr30-desc.h fr30-opc.h \
|
frv-desc.h frv-opc.h \
|
frv-desc.h frv-opc.h \
|
h8500-opc.h \
|
h8500-opc.h \
|
i386-init.h \
|
i386-init.h \
|
i386-opc.h \
|
i386-opc.h \
|
Line 363... |
Line 364... |
d10v-dis.c \
|
d10v-dis.c \
|
d10v-opc.c \
|
d10v-opc.c \
|
d30v-dis.c \
|
d30v-dis.c \
|
d30v-opc.c \
|
d30v-opc.c \
|
dlx-dis.c \
|
dlx-dis.c \
|
|
epiphany-asm.c \
|
|
epiphany-desc.c \
|
|
epiphany-dis.c \
|
|
epiphany-ibld.c \
|
|
epiphany-opc.c \
|
fr30-asm.c \
|
fr30-asm.c \
|
fr30-desc.c \
|
fr30-desc.c \
|
fr30-dis.c \
|
fr30-dis.c \
|
fr30-ibld.c \
|
fr30-ibld.c \
|
fr30-opc.c \
|
fr30-opc.c \
|
Line 456... |
Line 462... |
pdp11-opc.c \
|
pdp11-opc.c \
|
pj-dis.c \
|
pj-dis.c \
|
pj-opc.c \
|
pj-opc.c \
|
ppc-dis.c \
|
ppc-dis.c \
|
ppc-opc.c \
|
ppc-opc.c \
|
|
rl78-decode.c \
|
|
rl78-dis.c \
|
rx-decode.c \
|
rx-decode.c \
|
rx-dis.c \
|
rx-dis.c \
|
s390-dis.c \
|
s390-dis.c \
|
s390-opc.c \
|
s390-opc.c \
|
score-dis.c \
|
score-dis.c \
|
Line 549... |
Line 557... |
# should be removed if everything else starts using libtool. FIXME.
|
# should be removed if everything else starts using libtool. FIXME.
|
noinst_LIBRARIES = libopcodes.a
|
noinst_LIBRARIES = libopcodes.a
|
libopcodes_a_SOURCES =
|
libopcodes_a_SOURCES =
|
POTFILES = $(HFILES) $(CFILES)
|
POTFILES = $(HFILES) $(CFILES)
|
CLEANFILES = \
|
CLEANFILES = \
|
stamp-fr30 stamp-frv stamp-ip2k stamp-iq2000 stamp-lm32 \
|
stamp-epiphany stamp-fr30 stamp-frv stamp-ip2k stamp-iq2000 stamp-lm32 \
|
stamp-m32c stamp-m32r stamp-mep stamp-mt \
|
stamp-m32c stamp-m32r stamp-mep stamp-mt \
|
stamp-openrisc stamp-xc16x stamp-xstormy16 \
|
stamp-openrisc stamp-xc16x stamp-xstormy16 \
|
libopcodes.a stamp-lib
|
libopcodes.a stamp-lib
|
|
|
CGENDIR = @cgendir@
|
CGENDIR = @cgendir@
|
Line 565... |
Line 573... |
$(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
|
$(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
|
$(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
|
$(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
|
$(CGENDIR)/opc-opinst.scm \
|
$(CGENDIR)/opc-opinst.scm \
|
cgen-asm.in cgen-dis.in cgen-ibld.in
|
cgen-asm.in cgen-dis.in cgen-ibld.in
|
|
|
CGEN_CPUS = fr30 frv ip2k iq2000 lm32 m32c m32r mep mt openrisc xc16x xstormy16
|
CGEN_CPUS = epiphany fr30 frv ip2k iq2000 lm32 m32c m32r mep mt openrisc xc16x xstormy16
|
|
@CGEN_MAINT_FALSE@EPIPHANY_DEPS =
|
|
@CGEN_MAINT_TRUE@EPIPHANY_DEPS = stamp-epiphany
|
@CGEN_MAINT_FALSE@FR30_DEPS =
|
@CGEN_MAINT_FALSE@FR30_DEPS =
|
@CGEN_MAINT_TRUE@FR30_DEPS = stamp-fr30
|
@CGEN_MAINT_TRUE@FR30_DEPS = stamp-fr30
|
@CGEN_MAINT_FALSE@FRV_DEPS =
|
@CGEN_MAINT_FALSE@FRV_DEPS =
|
@CGEN_MAINT_TRUE@FRV_DEPS = stamp-frv
|
@CGEN_MAINT_TRUE@FRV_DEPS = stamp-frv
|
@CGEN_MAINT_FALSE@IP2K_DEPS =
|
@CGEN_MAINT_FALSE@IP2K_DEPS =
|
Line 596... |
Line 606... |
s390-mkopc$(EXEEXT_FOR_BUILD) s390-opc.tab z8kgen$(EXEEXT_FOR_BUILD) \
|
s390-mkopc$(EXEEXT_FOR_BUILD) s390-opc.tab z8kgen$(EXEEXT_FOR_BUILD) \
|
opc2c$(EXEEXT_FOR_BUILD)
|
opc2c$(EXEEXT_FOR_BUILD)
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/i386-tbl.h $(srcdir)/i386-init.h \
|
MAINTAINERCLEANFILES = $(srcdir)/i386-tbl.h $(srcdir)/i386-init.h \
|
$(srcdir)/ia64-asmtab.c $(srcdir)/z8k-opc.h \
|
$(srcdir)/ia64-asmtab.c $(srcdir)/z8k-opc.h \
|
|
$(srcdir)/rl78-decode.c \
|
$(srcdir)/rx-decode.c
|
$(srcdir)/rx-decode.c
|
|
|
|
|
# Use a helper variable for the dependencies to avoid 'make' issues
|
# Use a helper variable for the dependencies to avoid 'make' issues
|
# with continuations in comments, as @MAINT@ can be expanded to '#'.
|
# with continuations in comments, as @MAINT@ can be expanded to '#'.
|
Line 740... |
Line 751... |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/d30v-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/d30v-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-buf.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-buf.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-init.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dis-init.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/disassemble.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/disassemble.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlx-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlx-dis.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epiphany-asm.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epiphany-desc.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epiphany-dis.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epiphany-ibld.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epiphany-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-asm.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-asm.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-desc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-desc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-ibld.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-ibld.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fr30-opc.Plo@am__quote@
|
Line 833... |
Line 849... |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pdp11-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pdp11-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pj-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pj-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pj-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pj-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppc-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppc-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppc-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppc-opc.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rl78-decode.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rl78-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rx-decode.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rx-decode.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rx-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rx-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390-opc.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/score-dis.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/score-dis.Plo@am__quote@
|
Line 1229... |
Line 1247... |
done
|
done
|
.PHONY: run-cgen-all
|
.PHONY: run-cgen-all
|
|
|
# For now, require developers to configure with --enable-cgen-maint.
|
# For now, require developers to configure with --enable-cgen-maint.
|
|
|
|
$(srcdir)/epiphany-desc.h $(srcdir)/epiphany-desc.c $(srcdir)/epiphany-opc.h \
|
|
$(srcdir)/epiphany-opc.c $(srcdir)/epiphany-ibld.c \
|
|
$(srcdir)/epiphany-opinst.c $(srcdir)/epiphany-asm.c \
|
|
$(srcdir)/epiphany-dis.c: $(EPIPHANY_DEPS)
|
|
@true
|
|
|
|
stamp-epiphany: $(CGENDEPS) $(CPUDIR)/epiphany.cpu $(CPUDIR)/epiphany.opc
|
|
$(MAKE) run-cgen arch=epiphany prefix=epiphany options= \
|
|
archfile=$(CPUDIR)/epiphany.cpu opcfile=$(CPUDIR)/epiphany.opc extrafiles=
|
|
|
$(srcdir)/fr30-desc.h $(srcdir)/fr30-desc.c $(srcdir)/fr30-opc.h $(srcdir)/fr30-opc.c $(srcdir)/fr30-ibld.c $(srcdir)/fr30-asm.c $(srcdir)/fr30-dis.c: $(FR30_DEPS)
|
$(srcdir)/fr30-desc.h $(srcdir)/fr30-desc.c $(srcdir)/fr30-opc.h $(srcdir)/fr30-opc.c $(srcdir)/fr30-ibld.c $(srcdir)/fr30-asm.c $(srcdir)/fr30-dis.c: $(FR30_DEPS)
|
@true
|
@true
|
stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.cpu $(CPUDIR)/fr30.opc
|
stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.cpu $(CPUDIR)/fr30.opc
|
$(MAKE) run-cgen arch=fr30 prefix=fr30 options= \
|
$(MAKE) run-cgen arch=fr30 prefix=fr30 options= \
|
archfile=$(CPUDIR)/fr30.cpu opcfile=$(CPUDIR)/fr30.opc extrafiles=
|
archfile=$(CPUDIR)/fr30.cpu opcfile=$(CPUDIR)/fr30.opc extrafiles=
|
Line 1342... |
Line 1370... |
$(srcdir)/ia64-asmtab.c: @MAINT@ $(ia64_asmtab_deps)
|
$(srcdir)/ia64-asmtab.c: @MAINT@ $(ia64_asmtab_deps)
|
./ia64-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir) > $@
|
./ia64-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir) > $@
|
|
|
ia64-opc.lo: $(srcdir)/ia64-asmtab.c
|
ia64-opc.lo: $(srcdir)/ia64-asmtab.c
|
|
|
|
$(srcdir)/rl78-decode.c: @MAINT@ $(srcdir)/rl78-decode.opc opc2c$(EXEEXT_FOR_BUILD)
|
|
./opc2c$(EXEEXT_FOR_BUILD) $(srcdir)/rl78-decode.opc > $(srcdir)/rl78-decode.c
|
|
|
$(srcdir)/rx-decode.c: @MAINT@ $(srcdir)/rx-decode.opc opc2c$(EXEEXT_FOR_BUILD)
|
$(srcdir)/rx-decode.c: @MAINT@ $(srcdir)/rx-decode.opc opc2c$(EXEEXT_FOR_BUILD)
|
./opc2c$(EXEEXT_FOR_BUILD) $(srcdir)/rx-decode.opc > $(srcdir)/rx-decode.c
|
./opc2c$(EXEEXT_FOR_BUILD) $(srcdir)/rx-decode.opc > $(srcdir)/rx-decode.c
|
|
|
opc2c$(EXEEXT_FOR_BUILD): opc2c.o $(BUILD_LIBS_DEPS)
|
opc2c$(EXEEXT_FOR_BUILD): opc2c.o $(BUILD_LIBS_DEPS)
|
$(LINK_FOR_BUILD) opc2c.o $(BUILD_LIBS)
|
$(LINK_FOR_BUILD) opc2c.o $(BUILD_LIBS)
|