mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
3e11bd9e2a
Reduce overlinking
21 lines
352 B
Makefile
21 lines
352 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}
|
|
LIBADD= ldns
|
|
|
|
.include <bsd.prog.mk>
|