1998-05-03 05:14:04 +00:00
|
|
|
# $Id: Makefile,v 1.4 1997/02/22 16:08:18 peter Exp $
|
1996-08-29 21:46:46 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../named/Makefile.inc"
|
|
|
|
|
1998-05-03 05:14:04 +00:00
|
|
|
.PATH: ${BIND_DIR}/bin/ndc
|
|
|
|
.PATH: ${BIND_DIR}/doc/man
|
1996-08-29 21:46:46 +00:00
|
|
|
|
1998-05-03 05:14:04 +00:00
|
|
|
PROG= ndc
|
|
|
|
STRIP=
|
1996-08-29 21:46:46 +00:00
|
|
|
MAN8= ndc.8
|
1998-05-03 05:14:04 +00:00
|
|
|
|
1996-08-29 21:46:46 +00:00
|
|
|
CLEANFILES+= ndc
|
|
|
|
|
|
|
|
all: ndc
|
|
|
|
|
1998-05-03 05:14:04 +00:00
|
|
|
ndc: ndc.sh ndcedit.awk ${.CURDIR}/../../usr.sbin/named/Makefile.inc
|
|
|
|
sed -e "s|%PIDFILE%|${PIDDIR}/named.pid|" \
|
|
|
|
-e "s|%NAMED%|named|" \
|
1996-08-29 21:46:46 +00:00
|
|
|
-e "s|%PS%|${PS}|" \
|
1998-05-03 05:14:04 +00:00
|
|
|
< ${BIND_DIR}/bin/ndc/ndc.sh | awk -f ${.CURDIR}/ndcedit.awk > ndc
|
1996-08-29 21:46:46 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|