1# $FreeBSD$ 2 3LDNSDIR= ${SRCTOP}/contrib/ldns 4LDNSHOSTDIR= ${SRCTOP}/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} 18LIBADD= ldns 19 20.include <bsd.prog.mk> 21