mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
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>
|