Line 39... |
Line 39... |
BUILD_LIBS = @BUILD_LIBS@
|
BUILD_LIBS = @BUILD_LIBS@
|
BUILD_LIB_DEPS = @BUILD_LIB_DEPS@
|
BUILD_LIB_DEPS = @BUILD_LIB_DEPS@
|
|
|
# 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 93... |
Line 94... |
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 186... |
Line 192... |
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 310... |
Line 318... |
po/POTFILES.in: @MAINT@ Makefile
|
po/POTFILES.in: @MAINT@ Makefile
|
for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
|
for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
|
&& mv tmp $(srcdir)/po/POTFILES.in
|
&& mv tmp $(srcdir)/po/POTFILES.in
|
|
|
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
|
|
|
|
|
Line 328... |
Line 336... |
$(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
|
|
|
if CGEN_MAINT
|
if CGEN_MAINT
|
|
EPIPHANY_DEPS = stamp-epiphany
|
FR30_DEPS = stamp-fr30
|
FR30_DEPS = stamp-fr30
|
FRV_DEPS = stamp-frv
|
FRV_DEPS = stamp-frv
|
IP2K_DEPS = stamp-ip2k
|
IP2K_DEPS = stamp-ip2k
|
IQ2000_DEPS = stamp-iq2000
|
IQ2000_DEPS = stamp-iq2000
|
LM32_DEPS = stamp-lm32
|
LM32_DEPS = stamp-lm32
|
Line 344... |
Line 353... |
MT_DEPS = stamp-mt
|
MT_DEPS = stamp-mt
|
OPENRISC_DEPS = stamp-openrisc
|
OPENRISC_DEPS = stamp-openrisc
|
XC16X_DEPS = stamp-xc16x
|
XC16X_DEPS = stamp-xc16x
|
XSTORMY16_DEPS = stamp-xstormy16
|
XSTORMY16_DEPS = stamp-xstormy16
|
else
|
else
|
|
EPIPHANY_DEPS =
|
FR30_DEPS =
|
FR30_DEPS =
|
FRV_DEPS =
|
FRV_DEPS =
|
IP2K_DEPS =
|
IP2K_DEPS =
|
IQ2000_DEPS =
|
IQ2000_DEPS =
|
LM32_DEPS =
|
LM32_DEPS =
|
Line 375... |
Line 385... |
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 463... |
Line 483... |
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
|
|
|
i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIB_DEPS)
|
i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIB_DEPS)
|
$(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBS)
|
$(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBS)
|
|
|
Line 501... |
Line 522... |
$(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)
|