Makefile.in revision 12178c86525332bb0ab66155feb61fbf32eca6ac
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
ca41b452ede6feaa9d8739ec3cae19389a7b0d03Bob Halley# Copyright (C) 2000-2003 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# Permission to use, copy, modify, and/or distribute this software for any
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# purpose with or without fee is hereby granted, provided that the above
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
15a44745412679c30a6d022733925af70a38b715David Lawrence# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15a44745412679c30a6d022733925af70a38b715David Lawrence# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
15a44745412679c30a6d022733925af70a38b715David Lawrence# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15a44745412679c30a6d022733925af70a38b715David Lawrence# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15a44745412679c30a6d022733925af70a38b715David Lawrence# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15a44745412679c30a6d022733925af70a38b715David Lawrence# PERFORMANCE OF THIS SOFTWARE.
15a44745412679c30a6d022733925af70a38b715David Lawrence
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# $Id: Makefile.in,v 1.36 2009/12/05 23:31:40 each Exp $
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrencesrcdir = @srcdir@
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid LawrenceVPATH = @srcdir@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleytop_srcdir = @top_srcdir@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley@BIND9_VERSION@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley@BIND9_MAKE_INCLUDES@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyCINCLUDES = ${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISCCFG_INCLUDES} \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${ISC_INCLUDES}
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyCDEFINES = -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\"
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas GustafssonCWARNINGS =
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyISCLIBS = ../../lib/isc/libisc.@A@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyBIND9LIBS = ../../lib/bind9/libbind9.@A@
558ab0f6a8046499bfe3e39ea4789036313b72b3Michael Graff
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyDNSDEPLIBS = ../../lib/dns/libdns.@A@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceISCDEPLIBS = ../../lib/isc/libisc.@A@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyLIBS = ${ISCLIBS} @LIBS@
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas GustafssonNOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleySUBDIRS =
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley# Alphabetically
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyTARGETS = named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
6af51ff1a30dd977c4fc6c342a0661bb4f6501a5Bob Halley# Alphabetically
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleySRCS = named-checkconf.c named-checkzone.c check-tool.c
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyMANPAGES = named-checkconf.8 named-checkzone.8
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyHTMLPAGES = named-checkconf.html named-checkzone.html
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob HalleyMANOBJS = ${MANPAGES} ${HTMLPAGES}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley@BIND9_MAKE_RULES@
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleynamed-checkconf.@O@: named-checkconf.c
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
6af51ff1a30dd977c4fc6c342a0661bb4f6501a5Bob Halley -DVERSION=\"${VERSION}\" \
c90f5e8d1edbd5c277f2ee320167a12a30ba7c7bMichael Graff -c ${srcdir}/named-checkconf.c
6af51ff1a30dd977c4fc6c342a0661bb4f6501a5Bob Halley
c90f5e8d1edbd5c277f2ee320167a12a30ba7c7bMichael Graffnamed-checkzone.@O@: named-checkzone.c
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley -DVERSION=\"${VERSION}\" \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley -c ${srcdir}/named-checkzone.c
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleynamed-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley export BASEOBJS="named-checkconf.@O@ check-tool.@O@"; \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${FINALBUILDCMD}
6af51ff1a30dd977c4fc6c342a0661bb4f6501a5Bob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleynamed-checkzone@EXEEXT@: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley export BASEOBJS="named-checkzone.@O@ check-tool.@O@"; \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley export LIBS0="${ISCCFGLIBS} ${DNSLIBS}"; \
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${FINALBUILDCMD}
6af51ff1a30dd977c4fc6c342a0661bb4f6501a5Bob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleydoc man:: ${MANOBJS}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleydocclean manclean maintainer-clean::
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley rm -f ${MANOBJS}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleyinstalldirs:
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleyinstall:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@ ${DESTDIR}${sbindir}
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas Gustafsson ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@ ${DESTDIR}${sbindir}
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas Gustafsson (cd ${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@)
315879710704bbcf66df301664cd90df8ad31265David Lawrence for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas Gustafsson (cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8)
bfa633fc0e5dea8f65676c5393993ba7053a9899Andreas Gustafsson
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halleyclean distclean::
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley rm -f ${TARGETS} r1.htm
99a9539ccde4a3769fd890bdae5bcce3a3492fbaBob Halley