# $Id: Makefile,v 1.17 1997/02/22 16:07:57 peter Exp $

.include "${.CURDIR}/Makefile.inc"

.PATH:	${BIND_DIR}/bin/named
.PATH:	${BIND_DIR}/doc/man

PROG=	named
SRCS=	tmp_version.c pathnames.h ns_parser.h \
	db_dump.c db_load.c db_lookup.c db_save.c db_update.c \
	db_glue.c \
	ns_parser.c ns_lexer.c ns_parseutil.c \
	ns_forw.c ns_init.c ns_main.c ns_maint.c ns_req.c \
	ns_resp.c ns_stats.c ns_ncache.c ns_xfr.c ns_glue.c \
	ns_udp.c ns_config.c ns_update.c
MAN8=	named.8

CLEANFILES+= ns_parser.c ns_parser.h y.tab.c t.tab.h

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${BIND_DIR}/bin/named/named-bootconf.pl \
		${DESTDIR}${DESTETC}/named-bootconf.pl

.include <bsd.prog.mk>

# $Id: Makefile,v 1.18 1998/05/03 05:09:11 peter Exp $

.include "${.CURDIR}/Makefile.inc"

.PATH:	${BIND_DIR}/bin/named
.PATH:	${BIND_DIR}/doc/man

PROG=	named
SRCS=	tmp_version.c pathnames.h ns_parser.h \
	db_dump.c db_load.c db_lookup.c db_save.c db_update.c \
	db_glue.c \
	ns_parser.c ns_lexer.c ns_parseutil.c \
	ns_forw.c ns_init.c ns_main.c ns_maint.c ns_req.c \
	ns_resp.c ns_stats.c ns_ncache.c ns_xfr.c ns_glue.c \
	ns_udp.c ns_config.c ns_update.c
MAN8=	named.8

CLEANFILES+= ns_parser.c ns_parser.h y.tab.c t.tab.h

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${BIND_DIR}/bin/named/named-bootconf.pl \
		${DESTDIR}${DESTSBIN}/named-bootconf

.include <bsd.prog.mk>

Put named-bootconf (the script to convert named.boot to named.conf) in /usr/sbin rather than in /etc/namedb (make install isn't supposed to touch /etc)
Put named-bootconf (the script to convert named.boot to named.conf) in
/usr/sbin rather than in /etc/namedb (make install isn't supposed to touch
/etc)
