diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-13 09:47:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-13 09:47:31 +0000 |
commit | 3b748c2f8b9ee227ca7aad3397ce3561b56c1ec1 (patch) | |
tree | f8856eb5105401132b5f154b5e5aea7fc209a73c /gnu | |
parent | 498d8c7c6af26f2740fbcad9364fdd1df6e05bc7 (diff) | |
download | FreeBSD-src-3b748c2f8b9ee227ca7aad3397ce3561b56c1ec1.zip FreeBSD-src-3b748c2f8b9ee227ca7aad3397ce3561b56c1ec1.tar.gz |
Build and install the useful `readelf' util that is new with Binutils 2.10.0.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/readelf/Makefile | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile index c6a69be..c20cf6c 100644 --- a/gnu/usr.bin/binutils/Makefile +++ b/gnu/usr.bin/binutils/Makefile @@ -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) diff --git a/gnu/usr.bin/binutils/readelf/Makefile b/gnu/usr.bin/binutils/readelf/Makefile new file mode 100644 index 0000000..450e604 --- /dev/null +++ b/gnu/usr.bin/binutils/readelf/Makefile @@ -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> |