]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.bin/host/Makefile
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / usr.bin / host / Makefile
1 # $FreeBSD$
2
3 LDNSDIR=        ${.CURDIR}/../../contrib/ldns
4 LDNSHOSTDIR=    ${.CURDIR}/../../contrib/ldns-host
5
6 .PATH:          ${LDNSHOSTDIR}
7
8 PROG=           host
9 SRCS=           ldns-host.c
10 MAN=            host.1
11
12 host.1: ldns-host.1
13         sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \
14                 (rm -rf ${.TARGET} ; false)
15
16 CFLAGS+=        -I${LDNSDIR}
17 DPADD+=         ${LIBLDNS} ${LIBCRYPTO}
18 LDADD+=         -lldns -lcrypto
19 USEPRIVATELIB=  ldns
20
21 .include <bsd.prog.mk>