summaryrefslogtreecommitdiffstats
path: root/usr.bin/host/Makefile
blob: 596245499bfe0efb06cd5196670a2c5efb35e87d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

LDNSDIR=	${.CURDIR}/../../contrib/ldns
LDNSHOSTDIR=	${.CURDIR}/../../contrib/ldns-host

.PATH:		${LDNSHOSTDIR}

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

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

CFLAGS+=	-I${LDNSDIR}
DPADD+=		${LIBLDNS} ${LIBCRYPTO}
LDADD+=		-lldns -lcrypto
USEPRIVATELIB=	ldns

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud