1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.bin/host/Makefile
Glen Barber 5605ea9fc1 Add host.1 to CLEANFILES.
MFC after:	3 days
X-MFC-To:	stable/10 only
Sponsored by:	The FreeBSD Foundation
2014-08-26 19:36:47 +00:00

23 lines
419 B
Makefile

# $FreeBSD$
LDNSDIR= ${.CURDIR}/../../contrib/ldns
LDNSHOSTDIR= ${.CURDIR}/../../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}
DPADD+= ${LIBLDNS} ${LIBCRYPTO}
LDADD+= ${LDLDNS} -lcrypto
USEPRIVATELIB= ldns
.include <bsd.prog.mk>