99c513f6ac
* configure.ac (rl78-*-*) New case. * configure: Regenerate. [bfd] * Makefile.am (ALL_MACHINES): Add cpu-rl78.lo. (ALL_MACHINES_CFILES): Add cpu-rl78.c. (BFD32_BACKENDS): Add elf32-rl78.lo. (BFD32_BACKENDS_CFILES): Add elf32-rl78.c. (Makefile.in): Regenerate. * archures.c (bfd_architecture): Define bfd_arch_rl78. (bfd_archures_list): Add bfd_rl78_arch. * config.bfd: Add rl78-*-elf. * configure.in: Add bfd_elf32_rl78_vec. * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations. * targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. * cpu-rl78.c: New file. * elf32-rl78.c: New file. [binutils] * readelf.c: Include elf/rl78.h (guess_is_rela): Handle EM_RL78. (dump_relocations): Likewise. (get_machine_name): Likewise. (is_32bit_abs_reloc): Likewise. * NEWS: Mention addition of RL78 support. * MAINTAINERS: Add myself as RL78 port maintainer. [gas] * Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c. (TARGET_CPU_HFILES): Add rc-rl78.h. (EXTRA_DIST): Add rl78-parse.c and rl78-parse.y. (rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules. * Makefile.in: Regenerate. * configure.in: Add rl78 case. * configure: Regenerate. * configure.tgt: Add rl78 case. * config/rl78-defs.h: New file. * config/rl78-parse.y: New file. * config/tc-rl78.c: New file. * config/tc-rl78.h: New file. * NEWS: Add Renesas RL78. * doc/Makefile.am (c-rl78.texi): New. * doc/Makefile.in: Likewise. * doc/all.texi: Enable it. * doc/as.texi: Add it. [include] * dis-asm.h (print_insn_rl78): Declare. [include/elf] * common.h (EM_RL78, EM_78K0R): New. * rl78.h: New. [include/opcode] * rl78.h: New file. [ld] * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c. (+eelf32rl78.c): New rule. * Makefile.in: Regenerate. * configure.tgt: Add rl78-*-* case. * emulparams/elf32rl78.sh: New file. * NEWS: Mention addition of Renesas RL78 support. [opcodes] * Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and rl78-dis.c. (MAINTAINERCLEANFILES): Add rl78-decode.c. (rl78-decode.c): New rule, built from rl78-decode.opc and opc2c. * Makefile.in: Regenerate. * configure.in: Add bfd_rl78_arch case. * configure: Regenerate. * disassemble.c: Define ARCH_rl78. (disassembler): Add ARCH_rl78 case. * rl78-decode.c: New file. * rl78-decode.opc: New file. * rl78-dis.c: New file.
120 lines
2.7 KiB
Makefile
120 lines
2.7 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-cris.texi \
|
|
c-d10v.texi \
|
|
c-epiphany.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-rl78.texi \
|
|
c-rx.texi \
|
|
c-s390.texi \
|
|
c-score.texi \
|
|
c-sh.texi \
|
|
c-sh64.texi \
|
|
c-sparc.texi \
|
|
c-tic54x.texi \
|
|
c-tic6x.texi \
|
|
c-tilegx.texi \
|
|
c-tilepro.texi \
|
|
c-vax.texi \
|
|
c-v850.texi \
|
|
c-xstormy16.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
|