1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Build and install the useful `readelf' util that is new with Binutils 2.10.0.

This commit is contained in:
David E. O'Brien 2000-11-13 09:47:31 +00:00
parent e1ffd53830
commit a7bf21bf6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68675
2 changed files with 21 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#
SUBDIR= libiberty libbfd libopcodes libbinutils \
addr2line ar as gasp ld nm objcopy objdump ranlib \
addr2line ar as gasp ld nm objcopy objdump ranlib readelf \
size strings strip doc
.if !defined(NO_GDB)

View File

@ -0,0 +1,20 @@
# $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/binutils
# No a.out vs. ELF version so don't install in /usr/libexec/elf
BINDIR=/usr/bin
PROG= readelf
NOMAN= yes
SRCS= ${PROG}.c
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
LDADD= ${DPADD}
.include <bsd.prog.mk>