1# $FreeBSD$ 2 3LDNSDIR= ${.CURDIR}/../../contrib/ldns 4LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host 5 6.PATH: ${LDNSHOSTDIR} 7 8PROG= host 9SRCS= ldns-host.c 10MAN= host.1 11 12host.1: ldns-host.1 13 sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \ 14 (rm -rf ${.TARGET} ; false) 15 16CFLAGS+= -I${LDNSDIR} 17DPADD+= ${LIBLDNS} ${LIBCRYPTO} 18LDADD+= -lldns -lcrypto 19USEPRIVATELIB= ldns 20 21.include <bsd.prog.mk> 22