aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/host/Makefile
blob: 0b532ae1bb42146ea8fd68e2c75f2c129710a08a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

LDNSDIR=	${SRCTOP}/contrib/ldns
LDNSHOSTDIR=	${SRCTOP}/contrib/ldns-host

.PATH:		${LDNSHOSTDIR}

PROG=		host
SRCS=		ldns-host.c
MAN=		host.1
CLEANFILES+=	host.1

host.1: ldns-host.1
	sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \
		(rm -rf ${.TARGET} ; false)

CFLAGS+=	-I${LDNSDIR}
LIBADD=		ldns

.include <bsd.prog.mk>