No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / bin / named / Makefile.in
blob89d1b04105f07fa88e755bac80924f0a6d6c5c93
1 # Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1998-2002 Internet Software Consortium.
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 # PERFORMANCE OF THIS SOFTWARE.
16 # Id: Makefile.in,v 1.109 2009/12/05 23:31:40 each Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @BIND9_CONFIGARGS@
26 @BIND9_MAKE_INCLUDES@
29 # Add database drivers here.
31 DBDRIVER_OBJS =
32 DBDRIVER_SRCS =
33 DBDRIVER_INCLUDES =
34 DBDRIVER_LIBS =
36 DLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers
38 DLZDRIVER_OBJS = @DLZ_DRIVER_OBJS@
39 DLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
40 DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
41 DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
43 CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
44 ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
45 ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
46 ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
48 CDEFINES = @USE_DLZ@ @USE_PKCS11@
50 CWARNINGS =
52 DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
53 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
54 ISCCCLIBS = ../../lib/isccc/libisccc.@A@
55 ISCLIBS = ../../lib/isc/libisc.@A@
56 ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
57 LWRESLIBS = ../../lib/lwres/liblwres.@A@
58 BIND9LIBS = ../../lib/bind9/libbind9.@A@
60 DNSDEPLIBS = ../../lib/dns/libdns.@A@
61 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
62 ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
63 ISCDEPLIBS = ../../lib/isc/libisc.@A@
64 LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
65 BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
67 DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
68 ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
70 LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
71 ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
72 ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
74 NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
75 ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \
76 ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
78 SUBDIRS = unix
80 TARGETS = named@EXEEXT@ lwresd@EXEEXT@
82 OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
83 controlconf.@O@ interfacemgr.@O@ \
84 listenlist.@O@ log.@O@ logconf.@O@ main.@O@ notify.@O@ \
85 query.@O@ server.@O@ sortlist.@O@ statschannel.@O@ \
86 tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
87 zoneconf.@O@ \
88 lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
89 lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
90 ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
92 UOBJS = unix/os.@O@
94 SYMOBJS = symtbl.@O@
96 SRCS = builtin.c client.c config.c control.c \
97 controlconf.c interfacemgr.c \
98 listenlist.c log.c logconf.c main.c notify.c \
99 query.c server.c sortlist.c statschannel.c symtbl.c symtbl-empty.c \
100 tkeyconf.c tsigconf.c update.c xfrout.c \
101 zoneconf.c \
102 lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
103 lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
104 ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
106 MANPAGES = named.8 lwresd.8 named.conf.5
108 HTMLPAGES = named.html lwresd.html named.conf.html
110 MANOBJS = ${MANPAGES} ${HTMLPAGES}
112 @BIND9_MAKE_RULES@
114 main.@O@: main.c
115 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
116 -DVERSION=\"${VERSION}\" \
117 -DCONFIGARGS="\"${CONFIGARGS}\"" \
118 -DNS_LOCALSTATEDIR=\"${localstatedir}\" \
119 -DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
121 bind.keys.h: ${top_srcdir}/bind.keys
122 ${PERL} ${srcdir}/bindkeys.pl < ${top_srcdir}/bind.keys > $@
124 config.@O@: config.c bind.keys.h
125 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
126 -DVERSION=\"${VERSION}\" \
127 -DNS_LOCALSTATEDIR=\"${localstatedir}\" \
128 -DNS_SYSCONFDIR=\"${sysconfdir}\" \
129 -c ${srcdir}/config.c
131 named@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
132 export MAKE_SYMTABLE="yes"; \
133 export BASEOBJS="${OBJS} ${UOBJS}"; \
134 ${FINALBUILDCMD}
136 lwresd@EXEEXT@: named@EXEEXT@
137 rm -f lwresd@EXEEXT@
138 @LN@ named@EXEEXT@ lwresd@EXEEXT@
140 doc man:: ${MANOBJS}
142 docclean manclean maintainer-clean::
143 rm -f ${MANOBJS}
145 clean distclean maintainer-clean::
146 rm -f ${TARGETS} ${OBJS} bind.keys.h
148 bind9.xsl.h: bind9.xsl ${srcdir}/convertxsl.pl
149 ${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
151 depend: bind9.xsl.h
152 statschannel.@O@: bind9.xsl.h
154 installdirs:
155 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
156 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
157 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
159 install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
160 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
161 (cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
162 ${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
163 ${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
164 ${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
166 @DLZ_DRIVER_RULES@