freebsd-nq/usr.sbin/ndc/Makefile
1999-08-28 01:35:59 +00:00

23 lines
436 B
Makefile

# $FreeBSD$
.include "${.CURDIR}/../named/Makefile.inc"
.PATH: ${BIND_DIR}/bin/ndc
.PATH: ${BIND_DIR}/doc/man
PROG= ndc
STRIP=
MAN8= ndc.8
CLEANFILES+= ndc
all: ndc
ndc: ndc.sh ndcedit.awk ${.CURDIR}/../../usr.sbin/named/Makefile.inc
sed -e "s|%PIDFILE%|${PIDDIR}/named.pid|" \
-e "s|%NAMED%|named|" \
-e "s|%PS%|${PS}|" \
< ${BIND_DIR}/bin/ndc/ndc.sh | awk -f ${.CURDIR}/ndcedit.awk > ndc
.include <bsd.prog.mk>