a35f04fba2
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)
21 lines
338 B
Makefile
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>
|