Fix chdir/fchdir for setuid/setgid binaries
[dragonfly.git] / usr.sbin / rndc / Makefile
bloba854df74594a24ba695d23a4bfb96ec05709025d
2 # $DragonFly: src/usr.sbin/rndc/Makefile,v 1.3 2006/09/20 21:48:39 victor Exp $
4 USE_LIBBIND= yes
5 USE_LIBBIND9= yes
6 USE_LIBISC= yes
7 .include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
9 .PATH: ${BIND_DIR}/bin/rndc
10 .PATH: ${BIND_DIR}/bin/rndc/unix
12 PROG= rndc
13 SRCS= rndc.c os.c util.c
14 MAN= rndc.8
15 WARNS?= 2
17 CFLAGS+= -I${.CURDIR}/../../usr.sbin/named \
18 -I${.CURDIR}/../../usr.sbin/named/include \
19 -I${BIND_DIR}/bin/rndc/include \
20 -I${BIND_DIR}/lib/bind9/include \
21 -DRNDC_CONFFILE=\"${DESTETC}/rndc.conf\" \
22 -DRNDC_KEYFILE=\"${DESTETC}/rndc.key\"
24 .include <bsd.prog.mk>