5605ea9fc1
MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation
23 lines
419 B
Makefile
23 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
LDNSDIR= ${.CURDIR}/../../contrib/ldns
|
|
LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host
|
|
|
|
.PATH: ${LDNSHOSTDIR}
|
|
|
|
PROG= host
|
|
SRCS= ldns-host.c
|
|
MAN= host.1
|
|
CLEANFILES+= host.1
|
|
|
|
host.1: ldns-host.1
|
|
sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \
|
|
(rm -rf ${.TARGET} ; false)
|
|
|
|
CFLAGS+= -I${LDNSDIR}
|
|
DPADD+= ${LIBLDNS} ${LIBCRYPTO}
|
|
LDADD+= ${LDLDNS} -lcrypto
|
|
USEPRIVATELIB= ldns
|
|
|
|
.include <bsd.prog.mk>
|