Attach bind-9.2.4rc4 to the base system. Rip out bind-8 binaries and add
[dragonfly.git] / usr.sbin / named / Makefile
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.4 2004/05/27 18:15:42 dillon Exp $
3
4 USE_LIBBIND=    true
5 .include "${.CURDIR}/Makefile.inc"
6
7 .PATH: ${BIND_DIR}/bin/named
8 .PATH: ${BIND_DIR}/bin/nsupdate
9 .PATH: ${BIND_DIR}/doc/man
10
11 PROG=   named
12 # named.conf.5 named-bootconf.8
13 MAN=    named.8 nsupdate.8
14 SRCS=   aclconf.c client.c config.c control.c controlconf.c interfacemgr.c \
15         listenlist.c log.c logconf.c main.c notify.c \
16         query.c server.c sortlist.c \
17         tkeyconf.c tsigconf.c update.c xfrout.c \
18         zoneconf.c \
19         lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
20         lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
21
22 .PATH: ${BIND_DIR}/bin/named/unix
23 SRCS+=  os.c
24
25 CFLAGS+= -I${BIND_DIR}/bin/named/include
26
27 .if exists(${.OBJDIR}/../../lib/libisc)
28 LIBISCDIR:=    ${.OBJDIR}/../../lib/libisc
29 .else
30 LIBISCDIR!=    cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
31 .endif
32 LIBISC:=       ${LIBISCDIR}/libisc.a
33
34 DPADD+=         ${LIBISC}
35 LDADD+=         ${LIBISC}
36
37 #HTMLS= acl.html address_list.html comments.html config.html controls.html \
38 #       docdef.html example.html include.html index.html key.html \
39 #       logging.html master.html options.html server.html trusted-keys.html \
40 #       zone.html
41 HTMLS=
42 #MISCS= DynamicUpdate FAQ.1of2 FAQ.2of2 rfc2317-notes.txt style.txt
43 MISCS=
44 FILES=  ${HTMLS} ${MISCS}
45 .PATH: ${BIND_DIR}/doc/html ${BIND_DIR}/doc/misc
46
47 .for file in ${HTMLS}
48 FILESDIR_${file}=       ${DOCDIR}/bind/html
49 .endfor
50 .for file in ${MISCS}
51 FILESDIR_${file}=       ${DOCDIR}/bind/misc
52 .endfor
53
54 .include <bsd.prog.mk>