0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright (C) 2000-2007, 2009, 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt# $Id: Makefile.in,v 1.36 2009/12/05 23:31:40 each Exp $
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrewssrcdir = @srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsVPATH = @srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrewstop_srcdir = @top_srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan HuntVERSION=@BIND9_VERSION@
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_MAKE_INCLUDES@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsCINCLUDES = ${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISCCFG_INCLUDES} \
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold Krecicki ${ISC_INCLUDES} @DST_OPENSSL_INC@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold KrecickiCDEFINES = @CRYPTO@ -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\"
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsCWARNINGS =
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
0e40083fdd5445703bd30e46e5bfe7d047bced12Brian WellingtonDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
8d0ee7a153381d98f6c1e6e9bfe6b73659433666Brian WellingtonISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsISCLIBS = ../../lib/isc/libisc.@A@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsBIND9LIBS = ../../lib/bind9/libbind9.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsDNSDEPLIBS = ../../lib/dns/libdns.@A@
8d0ee7a153381d98f6c1e6e9bfe6b73659433666Brian WellingtonISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsISCDEPLIBS = ../../lib/isc/libisc.@A@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉LIBS = ${ISCLIBS} @LIBS@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
e99691e566c10f8901b3f66a6b6629705cf78c52Mark AndrewsSUBDIRS =
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# Alphabetically
f4cbe536b11da614fe05aeaeff41e324854cda7bMark AndrewsTARGETS = named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# Alphabetically
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas GustafssonSRCS = named-checkconf.c named-checkzone.c check-tool.c
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian WellingtonMANPAGES = named-checkconf.8 named-checkzone.8
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonHTMLPAGES = named-checkconf.html named-checkzone.html
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMANOBJS = ${MANPAGES} ${HTMLPAGES}
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews@BIND9_MAKE_RULES@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafssonnamed-checkconf.@O@: named-checkconf.c
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews -DVERSION=\"${VERSION}\" \
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson -c ${srcdir}/named-checkconf.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafssonnamed-checkzone.@O@: named-checkzone.c
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews -DVERSION=\"${VERSION}\" \
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson -c ${srcdir}/named-checkzone.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
fcb54ce0a4f7377486df5bec83b3aa4711bf4131Mark Andrewsnamed-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt ${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 export BASEOBJS="named-checkconf.@O@ check-tool.@O@"; \
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${FINALBUILDCMD}
e99691e566c10f8901b3f66a6b6629705cf78c52Mark Andrews
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Huntnamed-checkzone@EXEEXT@: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 export BASEOBJS="named-checkzone.@O@ check-tool.@O@"; \
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt export LIBS0="${ISCCFGLIBS} ${DNSLIBS}"; \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${FINALBUILDCMD}
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtondoc man:: ${MANOBJS}
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtondocclean manclean maintainer-clean::
c40265eba0c99708887d68e67901924065ba2514Brian Wellington rm -f ${MANOBJS}
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafssoninstalldirs:
4137fd1295f3c6242a1c641352c8811378912820Andreas Gustafsson $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
f4cbe536b11da614fe05aeaeff41e324854cda7bMark Andrewsinstall:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@ ${DESTDIR}${sbindir}
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@ ${DESTDIR}${sbindir}
47c2e9924ef9f9c20287642e4f0a13a5f2cb2574Mark Andrews (cd ${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@)
53aba5065d2ee3c103912ecfe865418bad6fa576Brian Wellington for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
47c2e9924ef9f9c20287642e4f0a13a5f2cb2574Mark Andrews (cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8)
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
8a5809527e6c85e39699901712a455d5480907c1Evan Huntuninstall::
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt rm -f ${DESTDIR}${mandir}/man8/named-compilezone.8
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt rm -f ${DESTDIR}${sbindir}/named-compilezone@EXEEXT@
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkconf@EXEEXT@
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkzone@EXEEXT@
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtonclean distclean::
d03d2dbfe9cebf4dbbd2c8807afe5703862cc721Mark Andrews rm -f ${TARGETS} r1.htm