librt: Use WARNS in Makefile instead of tweaking CFLAGS.
[dragonfly.git] / usr.sbin / rndc-confgen / Makefile
blob77abe71f1365067e5f3e74e7ef6bb158d402f7ce
2 # $DragonFly: src/usr.sbin/rndc-confgen/Makefile,v 1.2 2004/06/26 17:06:36 dillon Exp $
4 USE_LIBBIND= yes
5 USE_LIBISC= yes
6 .include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
8 .PATH: ${BIND_DIR}/bin/rndc
9 .PATH: ${BIND_DIR}/bin/rndc/unix
11 PROG= rndc-confgen
12 SRCS= rndc-confgen.c os.c util.c
13 MAN= rndc-confgen.8
14 WARNS?= 3
16 CFLAGS+= -I${.CURDIR}/../../usr.sbin/named \
17 -I${.CURDIR}/../../usr.sbin/named/include \
18 -I${BIND_DIR}/bin/rndc/include \
19 -DRNDC_CONFFILE=\"${DESTETC}/rndc.conf\" \
20 -DRNDC_KEYFILE=\"${DESTETC}/rndc.key\"
22 .include <bsd.prog.mk>