mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
c7927a3c0e
* Makefile.am (ALL_MACHINES): Add cpu-rx.lo. (ALL_MACHINES_CFILES): Add cpu-rx.c. (BFD32_BACKENDS): Add elf32-rx.lo. (BFD32_BACKENDS_CFILES): Add elf32-rx.c. * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx. Export bfd_rx_arch. (bfd_archures_list): Add bfd_rx_arch. * config.bfd: Add entry for rx-*-elf. * configure.in: Add entries for bfd_elf32_rx_le_vec and bfd_elf32_rx_be_vec. * reloc.c: Add RX relocations. * targets.c: Add RX target vectors. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. * cpu-rx.c: New file. * elf32-rx.c: New file. binutils * readelf.c: Add support for RX target. * MAINTAINERS: Add DJ and NickC as maintainers for RX. gas * Makefile.am: Add RX target. * configure.in: Likewise. * configure.tgt: Likewise. * read.c (do_repeat_with_expander): New function. * read.h: Provide a prototype for do_repeat_with_expander. * doc/Makefile.am: Add RX target documentation. * doc/all.texi: Likewise. * doc/as.texinfo: Likewise. * Makefile.in: Regenerate. * NEWS: Mention support for RX architecture. * configure: Regenerate. * doc/Makefile.in: Regenerate. * config/rx-defs.h: New file. * config/rx-parse.y: New file. * config/tc-rx.h: New file. * config/tc-rx.c: New file. * doc/c-rx.texi: New file. gas/testsuite * gas/rx: New directory. * gas/rx/*: New set of test cases. * gas/elf/section2.e-rx: New expected output file. * gas/all/gas.exp: Add support for RX target. * gas/elf/elf.exp: Likewise. * gas/lns/lns.exp: Likewise. * gas/macros/macros.exp: Likewise. include * dis-asm.h: Add prototype for print_insn_rx. include/elf * rx.h: New file. include/opcode * rx.h: New file. ld * Makefile.am: Add rules to build RX emulation. * configure.tgt: Likewise. * NEWS: Mention support for RX architecture. * Makefile.in: Regenerate. * emulparams/elf32rx.sh: New file. * emultempl/rxelf.em: New file. opcodes * Makefile.am: Add RX files. * configure.in: Add support for RX target. * disassemble.c: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * opc2c.c: New file. * rx-decode.c: New file. * rx-decode.opc: New file. * rx-dis.c: New file.
114 lines
2.6 KiB
Makefile
114 lines
2.6 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = 1.8 cygnus
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
CONFIG=all
|
|
|
|
# Options to extract the man page from as.texinfo
|
|
MANCONF = -Dman
|
|
|
|
TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
|
|
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
--release="binutils-$(VERSION)" --section=1
|
|
|
|
man_MANS = as.1
|
|
|
|
info_TEXINFOS = as.texinfo
|
|
as_TEXINFOS = asconfig.texi $(CPU_DOCS)
|
|
|
|
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
|
|
asconfig.texi: $(CONFIG).texi
|
|
rm -f asconfig.texi
|
|
cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
|
|
chmod u+w ./asconfig.texi
|
|
|
|
CPU_DOCS = \
|
|
c-alpha.texi \
|
|
c-arc.texi \
|
|
c-arm.texi \
|
|
c-avr.texi \
|
|
c-bfin.texi \
|
|
c-cr16.texi \
|
|
c-d10v.texi \
|
|
c-cris.texi \
|
|
c-h8300.texi \
|
|
c-hppa.texi \
|
|
c-i370.texi \
|
|
c-i386.texi \
|
|
c-i860.texi \
|
|
c-i960.texi \
|
|
c-ip2k.texi \
|
|
c-lm32.texi \
|
|
c-m32c.texi \
|
|
c-m32r.texi \
|
|
c-m68hc11.texi \
|
|
c-m68k.texi \
|
|
c-microblaze.texi \
|
|
c-mips.texi \
|
|
c-mmix.texi \
|
|
c-mt.texi \
|
|
c-msp430.texi \
|
|
c-ns32k.texi \
|
|
c-pdp11.texi \
|
|
c-pj.texi \
|
|
c-ppc.texi \
|
|
c-rx.texi \
|
|
c-s390.texi \
|
|
c-score.texi \
|
|
c-sh.texi \
|
|
c-sh64.texi \
|
|
c-sparc.texi \
|
|
c-tic54x.texi \
|
|
c-vax.texi \
|
|
c-v850.texi \
|
|
c-xtensa.texi \
|
|
c-z80.texi \
|
|
c-z8k.texi
|
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
# cygnus option.
|
|
install-data-local: install-info
|
|
|
|
# This one isn't ready for prime time yet. Not even a little bit.
|
|
|
|
noinst_TEXINFOS = internals.texi
|
|
|
|
MAINTAINERCLEANFILES = asconfig.texi
|
|
|
|
BASEDIR = $(srcdir)/../..
|
|
BFDDIR = $(BASEDIR)/bfd
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
|
|
|
|
# Maintenance
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
info-local: $(MANS)
|
|
|
|
# Build the man page from the texinfo file
|
|
# The sed command removes the no-adjust Nroff command so that
|
|
# the man output looks standard.
|
|
as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
|
-($(POD2MAN) as.pod | \
|
|
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || \
|
|
(rm -f $@.T$$$$ && exit 1)
|
|
rm -f as.pod
|
|
|
|
MAINTAINERCLEANFILES += as.info
|
|
|
|
# Automake 1.9 will only build info files in the objdir if they are
|
|
# mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
|
|
# though, so we use a bogus condition.
|
|
if GENINSRC_NEVER
|
|
DISTCLEANFILES = as.info
|
|
endif
|