aboutsummaryrefslogblamecommitdiff
path: root/usr.sbin/ndc/Makefile
blob: cd4a54df7dcc6eb0a5eb1343b1b1943e9233448a (plain) (tree)
1
2
3
4
5
6
7
8
9
           


                                           

                           
 

           
             
 



                


                                                                       
                                
                                                                              

                      
# $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>