freebsd-skq/usr.bin/host/Makefile
Warner Losh a35f04fba2 Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.

Differential Revision:	https://reviews.freebsd.org/D9932
Sponsored by:		Netflix
Silence on:		arch@ (twice)
2017-03-12 18:58:44 +00:00

21 lines
338 B
Makefile

# $FreeBSD$
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>