Build and install the useful `readelf' util that is new with Binutils 2.10.0.
This commit is contained in:
parent
e1ffd53830
commit
a7bf21bf6c
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
SUBDIR= libiberty libbfd libopcodes libbinutils \
|
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
|
size strings strip doc
|
||||||
|
|
||||||
.if !defined(NO_GDB)
|
.if !defined(NO_GDB)
|
||||||
|
20
gnu/usr.bin/binutils/readelf/Makefile
Normal file
20
gnu/usr.bin/binutils/readelf/Makefile
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user