21 lines
421 B
Makefile
21 lines
421 B
Makefile
|
# $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>
|