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 11CLEANFILES+= host.1 12 13host.1: ldns-host.1 14 sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \ 15 (rm -rf ${.TARGET} ; false) 16 17CFLAGS+= -I${LDNSDIR} 18DPADD+= ${LIBLDNS} ${LIBCRYPTO} 19LDADD+= ${LDLDNS} -lcrypto 20USEPRIVATELIB= ldns 21 22.include <bsd.prog.mk> 23