1LDNSDIR= ${SRCTOP}/contrib/ldns 2LDNSHOSTDIR= ${SRCTOP}/contrib/ldns-host 3 4.PATH: ${LDNSHOSTDIR} 5 6PROG= host 7SRCS= ldns-host.c 8MAN= host.1 9CLEANFILES+= host.1 10 11host.1: ldns-host.1 12 sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \ 13 (rm -rf ${.TARGET} ; false) 14 15CFLAGS+= -I${LDNSDIR} 16LIBADD= ldns 17 18.include <bsd.prog.mk> 19