56b72efe82
Approved by: re (gjb)
22 lines
396 B
Makefile
22 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
LDNSDIR= ${.CURDIR}/../../contrib/ldns
|
|
LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host
|
|
|
|
.PATH: ${LDNSHOSTDIR}
|
|
|
|
PROG= host
|
|
SRCS= ldns-host.c
|
|
MAN= 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+= -lldns -lcrypto
|
|
USEPRIVATELIB= ldns
|
|
|
|
.include <bsd.prog.mk>
|