freebsd-nq/usr.sbin/named/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

1999-08-28 01:35:59 +00:00
# $FreeBSD$
1994-09-22 20:45:34 +00:00
1998-06-11 09:17:58 +00:00
USE_LIBBIND= true
.include "${.CURDIR}/Makefile.inc"
1998-05-03 05:09:13 +00:00
.PATH: ${BIND_DIR}/bin/named
.PATH: ${BIND_DIR}/doc/man
1994-09-22 20:45:34 +00:00
PROG= named
SRCS= tmp_version.c pathnames.h \
1998-05-03 05:09:13 +00:00
db_dump.c db_load.c db_lookup.c db_save.c db_update.c \
db_glue.c db_ixfr.c db_sec.c db_tsig.c \
ns_parser.y ns_lexer.c ns_parseutil.c ns_ctl.c \
1998-05-03 05:09:13 +00:00
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 ns_ixfr.c ns_signal.c \
ns_sort.c ns_notify.c
.if exists(${.OBJDIR}/../../lib/libisc)
LIBISCDIR:= ${.OBJDIR}/../../lib/libisc
.else
LIBISCDIR!= cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
.endif
LIBISC:= ${LIBISCDIR}/libisc.a
DPADD+= ${LIBISC}
LDADD+= ${LIBISC}
MAN= named.conf.5 named.8 named-bootconf.8 nsupdate.8
DOCDIR= /usr/share/doc/bind
HTMLS= acl.html address_list.html comments.html config.html controls.html \
docdef.html example.html include.html index.html key.html \
logging.html master.html options.html server.html trusted-keys.html \
zone.html
FILES= DynamicUpdate FAQ.1of2 FAQ.2of2 style.txt
beforeinstall:
.for file in ${HTMLS}
cd ${BIND_DIR}/doc/html ; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
${DESTDIR}${DOCDIR}/html
.endfor
.for file in ${FILES}
cd ${BIND_DIR}/doc/misc ; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
${DESTDIR}${DOCDIR}/misc
.endfor
1994-09-22 20:45:34 +00:00
.include <bsd.prog.mk>