summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/readelf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-13 09:47:31 +0000
committerobrien <obrien@FreeBSD.org>2000-11-13 09:47:31 +0000
commit3b748c2f8b9ee227ca7aad3397ce3561b56c1ec1 (patch)
treef8856eb5105401132b5f154b5e5aea7fc209a73c /gnu/usr.bin/binutils/readelf
parent498d8c7c6af26f2740fbcad9364fdd1df6e05bc7 (diff)
downloadFreeBSD-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/usr.bin/binutils/readelf')
-rw-r--r--gnu/usr.bin/binutils/readelf/Makefile20
1 files changed, 20 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud