1 2LDNSDIR= ${SRCTOP}/contrib/ldns 3LDNSHOSTDIR= ${SRCTOP}/contrib/ldns-host 4 5.PATH: ${LDNSHOSTDIR} 6 7PROG= host 8SRCS= ldns-host.c 9MAN= host.1 10CLEANFILES+= 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} 17LIBADD= ldns 18 19.include <bsd.prog.mk> 20