mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-31 04:45:39 +01:00
r315170 (by imp):
Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.
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>
|