Makefile.in revision 56b9fb463c797703dcb10752729c620d0b92aa50
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
7d98a1783f222964bcde7d56dab77b822706204dBob Halley# Copyright (C) 1998-2002 Internet Software Consortium.
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley#
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# Permission to use, copy, modify, and/or distribute this software for any
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# purpose with or without fee is hereby granted, provided that the above
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# copyright notice and this permission notice appear in all copies.
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley#
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# PERFORMANCE OF THIS SOFTWARE.
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley# $Id: Makefile.in,v 1.110 2010/06/20 07:17:02 marka Exp $
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halleysrcdir = @srcdir@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyVPATH = @srcdir@
9ee5efde7df57cbe70fb9b32c9d898e8ef7eca1eBob Halleytop_srcdir = @top_srcdir@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley@BIND9_VERSION@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley@BIND9_CONFIGARGS@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley@BIND9_MAKE_INCLUDES@
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley
2aa67e804d85f4d88153368ce65ce4df7b5390e6Bob Halley#
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley# Add database drivers here.
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley#
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceDBDRIVER_OBJS =
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDBDRIVER_SRCS =
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDBDRIVER_INCLUDES =
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDBDRIVER_LIBS =
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9ee5efde7df57cbe70fb9b32c9d898e8ef7eca1eBob HalleyDLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers
9ee5efde7df57cbe70fb9b32c9d898e8ef7eca1eBob Halley
9ee5efde7df57cbe70fb9b32c9d898e8ef7eca1eBob HalleyDLZDRIVER_OBJS = @DLZ_DRIVER_OBJS@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyDLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
9ee5efde7df57cbe70fb9b32c9d898e8ef7eca1eBob HalleyDLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob HalleyCINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley
077daa21229ffaedda79588fa70fbaeae19ae998Bob HalleyCDEFINES = @USE_DLZ@ @USE_PKCS11@
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley
077daa21229ffaedda79588fa70fbaeae19ae998Bob HalleyCWARNINGS =
077daa21229ffaedda79588fa70fbaeae19ae998Bob Halley
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyISCCCLIBS = ../../lib/isccc/libisccc.@A@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyISCLIBS = ../../lib/isc/libisc.@A@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyLWRESLIBS = ../../lib/lwres/liblwres.@A@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyBIND9LIBS = ../../lib/bind9/libbind9.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDNSDEPLIBS = ../../lib/dns/libdns.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyISCDEPLIBS = ../../lib/isc/libisc.@A@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob HalleyLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyDEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyNOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleySUBDIRS = unix
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
9b2267b5ba9d0640512a41e139a4a36caa43730dBob HalleyTARGETS = named@EXEEXT@ lwresd@EXEEXT@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob HalleyOBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley controlconf.@O@ interfacemgr.@O@ \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley listenlist.@O@ log.@O@ logconf.@O@ main.@O@ notify.@O@ \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley query.@O@ server.@O@ sortlist.@O@ statschannel.@O@ \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley zoneconf.@O@ \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob HalleyUOBJS = unix/os.@O@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleySYMOBJS = symtbl.@O@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleySRCS = builtin.c client.c config.c control.c \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley controlconf.c interfacemgr.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley listenlist.c log.c logconf.c main.c notify.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley query.c server.c sortlist.c statschannel.c symtbl.c symtbl-empty.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley tkeyconf.c tsigconf.c update.c xfrout.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley zoneconf.c \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyMANPAGES = named.8 lwresd.8 named.conf.5
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyHTMLPAGES = named.html lwresd.html named.conf.html
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob HalleyMANOBJS = ${MANPAGES} ${HTMLPAGES}
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley@BIND9_MAKE_RULES@
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleymain.@O@: main.c
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley -DVERSION=\"${VERSION}\" \
5e4b7294d88ab58371d8c98e05ea80086dcb67cdBob Halley -DCONFIGARGS="\"${CONFIGARGS}\"" \
5e4b7294d88ab58371d8c98e05ea80086dcb67cdBob Halley -DNS_LOCALSTATEDIR=\"${localstatedir}\" \
5e4b7294d88ab58371d8c98e05ea80086dcb67cdBob Halley -DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
5e4b7294d88ab58371d8c98e05ea80086dcb67cdBob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleybind.keys.h: ${top_srcdir}/bind.keys ${srcdir}/bindkeys.pl
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley ${PERL} ${srcdir}/bindkeys.pl < ${top_srcdir}/bind.keys > $@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halleyconfig.@O@: config.c bind.keys.h
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley -DVERSION=\"${VERSION}\" \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley -DNS_LOCALSTATEDIR=\"${localstatedir}\" \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley -DNS_SYSCONFDIR=\"${sysconfdir}\" \
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley -c ${srcdir}/config.c
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
5e4b7294d88ab58371d8c98e05ea80086dcb67cdBob Halleynamed@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley export MAKE_SYMTABLE="yes"; \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley export BASEOBJS="${OBJS} ${UOBJS}"; \
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley ${FINALBUILDCMD}
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halleylwresd@EXEEXT@: named@EXEEXT@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley rm -f lwresd@EXEEXT@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley @LN@ named@EXEEXT@ lwresd@EXEEXT@
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halleydoc man:: ${MANOBJS}
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halleydocclean manclean maintainer-clean::
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley rm -f ${MANOBJS}
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleyclean distclean maintainer-clean::
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley rm -f ${TARGETS} ${OBJS} bind.keys.h
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleybind9.xsl.h: bind9.xsl ${srcdir}/convertxsl.pl
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley ${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleydepend: bind9.xsl.h
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleystatschannel.@O@: bind9.xsl.h
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleyinstalldirs:
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halleyinstall:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
2dfd6bca9aa6d9279b4278d6fa18ea5f63ba0ec9Bob Halley (cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
9b2267b5ba9d0640512a41e139a4a36caa43730dBob Halley ${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley ${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley ${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley@DLZ_DRIVER_RULES@
1fc4929aa610263a2362afed516d7dc8e689397dBob Halley