Makefile.in revision eea8cd8d1a9b2762480fab793972d1cefbc7cf90
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Copyright (C) 1998-2002 Internet Software Consortium.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Permission to use, copy, modify, and distribute this software for any
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# purpose with or without fee is hereby granted, provided that the above
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# copyright notice and this permission notice appear in all copies.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# PERFORMANCE OF THIS SOFTWARE.
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# $Id: Makefile.in,v 1.94 2007/05/18 06:12:51 marka Exp $
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntsrcdir = @srcdir@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntVPATH = @srcdir@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttop_srcdir = @top_srcdir@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt@BIND9_VERSION@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt@BIND9_MAKE_INCLUDES@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Add database drivers here.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDBDRIVER_OBJS =
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDBDRIVER_SRCS =
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDBDRIVER_INCLUDES =
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDBDRIVER_LIBS =
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDLZDRIVER_OBJS = @DLZ_DRIVER_OBJS@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark AndrewsCINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark Andrews ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan HuntCDEFINES = @USE_DLZ@
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark Andrews
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCWARNINGS =
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
b4d8192d210290112e07b0e22b491c45c50ba696Evan HuntISCCCLIBS = ../../lib/isccc/libisccc.@A@
b4d8192d210290112e07b0e22b491c45c50ba696Evan HuntISCLIBS = ../../lib/isc/libisc.@A@
b4d8192d210290112e07b0e22b491c45c50ba696Evan HuntLWRESLIBS = ../../lib/lwres/liblwres.@A@
b4d8192d210290112e07b0e22b491c45c50ba696Evan HuntBIND9LIBS = ../../lib/bind9/libbind9.@A@
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt
b4d8192d210290112e07b0e22b491c45c50ba696Evan HuntDNSDEPLIBS = ../../lib/dns/libdns.@A@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntISCDEPLIBS = ../../lib/isc/libisc.@A@
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
215ef83bbed20727813a52ddcdbcd1455856638bMark AndrewsBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
215ef83bbed20727813a52ddcdbcd1455856638bMark Andrews
215ef83bbed20727813a52ddcdbcd1455856638bMark AndrewsDEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
215ef83bbed20727813a52ddcdbcd1455856638bMark Andrews ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan HuntLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan Hunt ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan Hunt ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan Hunt
9c03f13e18c1b0c32f62391a17300378605bbc7bEvan HuntSUBDIRS = unix
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsTARGETS = named@EXEEXT@ lwresd@EXEEXT@
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark AndrewsOBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
a69070d8fab55dbc63ba9f96c9d3e34f0ea9119aMark Andrews controlconf.@O@ interfacemgr.@O@ \
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan Hunt listenlist.@O@ log.@O@ logconf.@O@ main.@O@ notify.@O@ \
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan Hunt query.@O@ server.@O@ sortlist.@O@ \
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan Hunt tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan Hunt zoneconf.@O@ \
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan Hunt lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan HuntUOBJS = unix/os.@O@
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark AndrewsGENERATED = bind9.xsl.h
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark Andrews
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark AndrewsSRCS = builtin.c client.c config.c control.c \
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark Andrews controlconf.c interfacemgr.c \
de52784e45e3a7a92c0d8ad843eb4db313bbfd97Mark Andrews listenlist.c log.c logconf.c main.c notify.c \
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews query.c server.c sortlist.c \
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews tkeyconf.c tsigconf.c update.c xfrout.c \
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews zoneconf.c \
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan HuntMANPAGES = named.8 lwresd.8 named.conf.5
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan HuntHTMLPAGES = named.html lwresd.html named.conf.html
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan HuntMANOBJS = ${MANPAGES} ${HTMLPAGES}
5a75f61dd413720c16d229b24ebba6bd6ecdb738Evan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt@BIND9_MAKE_RULES@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
99cbc3d3a4dcbd203146f62e37478aee1c8ee673Evan Huntmain.@O@: main.c
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt -DVERSION=\"${VERSION}\" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
config.@O@: config.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-c ${srcdir}/config.c
named@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
${OBJS} ${UOBJS} ${LIBS}
lwresd@EXEEXT@: named@EXEEXT@
rm -f lwresd@EXEEXT@
@LN@ named@EXEEXT@ lwresd@EXEEXT@
doc man:: ${MANOBJS}
docclean manclean maintainer-clean::
rm -f ${MANOBJS}
clean distclean maintainer-clean::
rm -f ${TARGETS} ${OBJS} ${GENERATED}
bind9.xsl.h: bind9.xsl convertxsl.pl
${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
depend: bind9.xsl.h
server.@O@: bind9.xsl.h
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
(cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
@DLZ_DRIVER_RULES@