MFC r1.7 (HEAD):
[dragonfly.git] / usr.sbin / named / Makefile
blobb253882fe213115f1e155710ac7c141997d1909f
1 # $FreeBSD: src/usr.sbin/named/Makefile,v 1.25.2.5 2002/07/07 08:17:07 dougb Exp $
2 # $DragonFly: src/usr.sbin/named/Makefile,v 1.5 2006/09/20 21:48:39 victor Exp $
4 USE_LIBBIND= true
5 USE_LIBBIND9= true
6 .include "${.CURDIR}/Makefile.inc"
8 .PATH: ${BIND_DIR}/bin/named
9 .PATH: ${BIND_DIR}/bin/nsupdate
10 .PATH: ${BIND_DIR}/doc/man
12 PROG= named
13 # named.conf.5 named-bootconf.8
14 MAN= named.conf.5 named.8 nsupdate.8
15 SRCS= aclconf.c builtin.c client.c config.c control.c \
16 controlconf.c interfacemgr.c \
17 listenlist.c log.c logconf.c main.c notify.c \
18 query.c server.c sortlist.c \
19 tkeyconf.c tsigconf.c update.c xfrout.c \
20 zoneconf.c \
21 lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
22 lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
24 .PATH: ${BIND_DIR}/bin/named/unix
25 SRCS+= os.c
27 CFLAGS+= -I${BIND_DIR}/bin/named/include \
28 -I${BIND_DIR}/lib/bind9/include
30 .if exists(${.OBJDIR}/../../lib/libisc)
31 LIBISCDIR:= ${.OBJDIR}/../../lib/libisc
32 .else
33 LIBISCDIR!= cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
34 .endif
35 LIBISC:= ${LIBISCDIR}/libisc.a
37 DPADD+= ${LIBISC}
38 LDADD+= ${LIBISC}
40 #HTMLS= acl.html address_list.html comments.html config.html controls.html \
41 # docdef.html example.html include.html index.html key.html \
42 # logging.html master.html options.html server.html trusted-keys.html \
43 # zone.html
44 HTMLS=
45 #MISCS= DynamicUpdate FAQ.1of2 FAQ.2of2 rfc2317-notes.txt style.txt
46 MISCS=
47 FILES= ${HTMLS} ${MISCS}
48 .PATH: ${BIND_DIR}/doc/html ${BIND_DIR}/doc/misc
50 .for file in ${HTMLS}
51 FILESDIR_${file}= ${DOCDIR}/bind/html
52 .endfor
53 .for file in ${MISCS}
54 FILESDIR_${file}= ${DOCDIR}/bind/misc
55 .endfor
57 .include <bsd.prog.mk>