add confgen programs

This commit is contained in:
christos 2012-05-09 21:59:10 +00:00
parent b15b1c08b5
commit 85b637054a
7 changed files with 39 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.12 2011/06/20 07:43:57 mrg Exp $
# $NetBSD: Makefile.inc,v 1.13 2012/05/09 21:59:10 christos Exp $
.if !defined(BIND9_MAKEFILE_INC)
BIND9_MAKEFILE_INC=yes
@ -108,7 +108,7 @@ CPPFLAGS+=-DISC_PLATFORM_USETHREADS -I${IDIST}/lib/isc/pthreads/include
CPPFLAGS+=-I${IDIST}/lib/isc/nothreads/include
.endif
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.if exists(${.PARSEDIR}/../Makefile.inc)
.include "${.PARSEDIR}/../Makefile.inc"
.endif
.endif

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2011/09/11 18:55:24 christos Exp $
# $NetBSD: Makefile,v 1.4 2012/05/09 21:59:10 christos Exp $
SUBDIR= html dig host named nslookup nsupdate rndc dnssec check tools
SUBDIR= html dig host named nslookup nsupdate rndc dnssec check tools confgen
.include "Makefile.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 2009/04/12 03:46:04 christos Exp $
# $NetBSD: Makefile.inc,v 1.2 2012/05/09 21:59:10 christos Exp $
.include "../Makefile.inc"
.include "${.PARSEDIR}/../Makefile.inc"
WARNS?= 2

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
SUBDIR= rndc-confgen ddns-confgen
.include <bsd.subdir.mk>

View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile.inc,v 1.1 2012/05/09 21:59:10 christos Exp $
PROG= ${.CURDIR:T}
SRCS= ${PROG}.c keygen.c util.c os.c
MAN= ${PROG}.8
BINDIR= /usr/sbin
.include "${.PARSEDIR}/../Makefile.inc"
DIST=${IDIST}/bin/confgen
CPPFLAGS+= -I${DIST}/include \
-DRNDC_CONFFILE=\"${SYSCONFDIR}/rndc.conf\" \
-DRNDC_KEYFILE=\"${SYSCONFDIR}/rndc.key\" \
.PATH: ${DIST} ${DIST}/unix

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
.include "${.PARSEDIR}/../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
.include "${.PARSEDIR}/../Makefile.inc"
.include <bsd.prog.mk>