summaryrefslogtreecommitdiff
path: root/external/mpl/bind/bin/rndc/Makefile
blob: 8fa57adb3d1c4c24755c5d92a94701644297a10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: Makefile,v 1.2 2020/08/03 17:23:36 christos Exp $

.include <bsd.init.mk>

PROG=	rndc
SRCS=	rndc.c util.c
MAN=	rndc.8 rndc.conf.5
BINDIR=	/usr/sbin

DIST=${IDIST}/bin/rndc
CPPFLAGS+= -I${DIST}/include \
        -DRNDC_CONFFILE=\"${SYSCONFDIR}/rndc.conf\" \
	-DRNDC_KEYFILE=\"${SYSCONFDIR}/rndc.key\" \

rndc.o: ${VERSIONFILE}

.PATH: ${DIST} ${IDIST}/doc/man

.include <bsd.prog.mk>