0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright (C) 2000-2002, 2004, 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/.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt# $Id: Makefile.in,v 1.49 2009/12/05 23:31:40 each Exp $
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrencesrcdir = @srcdir@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceVPATH = @srcdir@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrencetop_srcdir = @top_srcdir@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan HuntVERSION=@BIND9_VERSION@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_MAKE_INCLUDES@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
dfe3edd7cd2cf9d22abfc8985bc25551583b3d46Andreas GustafssonCINCLUDES = -I${srcdir}/include ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt ${ISCCFG_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES}
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
12178c86525332bb0ab66155feb61fbf32eca6acEvan HuntCDEFINES =
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceCWARNINGS =
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
8f66dad9393ae0724f758c4a51e06ff55c2d1219Brian WellingtonISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian WellingtonISCCCLIBS = ../../lib/isccc/libisccc.@A@
08a768e82ad64ede97f640c88e02984b59122753Michael GraffISCLIBS = ../../lib/isc/libisc.@A@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
0e40083fdd5445703bd30e46e5bfe7d047bced12Brian WellingtonDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
b493dfe8bce94b05efc0f161238d32f1234c5670Brian WellingtonBIND9LIBS = ../../lib/bind9/libbind9.@A@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian WellingtonISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian WellingtonISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
08a768e82ad64ede97f640c88e02984b59122753Michael GraffISCDEPLIBS = ../../lib/isc/libisc.@A@
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceDNSDEPLIBS = ../../lib/dns/libdns.@A@
b493dfe8bce94b05efc0f161238d32f1234c5670Brian WellingtonBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
08a768e82ad64ede97f640c88e02984b59122753Michael Graff
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntLIBS = ${ISCLIBS} @LIBS@
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntNOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntRNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
09f3e7461fd22076c01999b40435648de8c9da73Brian WellingtonCONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
351b62535d4c4f89883bfdba025999dd32490266Evan HuntSRCS= rndc.c
19aca386f1c75dd3f982e917cdaedb40ccafafc9Mark Andrews
351b62535d4c4f89883bfdba025999dd32490266Evan HuntTARGETS = rndc@EXEEXT@
326bcfa0e2a6b924cb829a0bcc3bf9590ce21ad6Mark Andrews
351b62535d4c4f89883bfdba025999dd32490266Evan HuntMANPAGES = rndc.8 rndc.conf.5
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
351b62535d4c4f89883bfdba025999dd32490266Evan HuntHTMLPAGES = rndc.html rndc.conf.html
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halley
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob HalleyMANOBJS = ${MANPAGES} ${HTMLPAGES}
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence@BIND9_MAKE_RULES@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence
42833075debe1b1d4c4d39e94cb8f66e3fba2a0fBrian Wellingtonrndc.@O@: rndc.c
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence -DVERSION=\"${VERSION}\" \
5da31b1ebedaedf1aa83d7ef853e1db843027f61Andreas Gustafsson -DRNDC_CONFFILE=\"${sysconfdir}/rndc.conf\" \
326bcfa0e2a6b924cb829a0bcc3bf9590ce21ad6Mark Andrews -DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
1ecd9d30a037218f01f8e15817d00ee431be0160Andreas Gustafsson -c ${srcdir}/rndc.c
87983da955bf63128de85d180359bdc418516c3cDavid Lawrence
f4cbe536b11da614fe05aeaeff41e324854cda7bMark Andrewsrndc@EXEEXT@: rndc.@O@ util.@O@ ${RNDCDEPLIBS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 export BASEOBJS="rndc.@O@ util.@O@"; \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 export LIBS0="${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS}"; \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${FINALBUILDCMD}
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halleydoc man:: ${MANOBJS}
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halley
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halleydocclean manclean maintainer-clean::
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halley rm -f ${MANOBJS}
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halley
c229b778b82c40f2186bfd6afcad2ee34c657216David Lawrenceinstalldirs:
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafsson $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
c229b778b82c40f2186bfd6afcad2ee34c657216David Lawrence
351b62535d4c4f89883bfdba025999dd32490266Evan Huntinstall:: rndc@EXEEXT@ installdirs
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} rndc@EXEEXT@ ${DESTDIR}${sbindir}
53aba5065d2ee3c103912ecfe865418bad6fa576Brian Wellington ${INSTALL_DATA} ${srcdir}/rndc.8 ${DESTDIR}${mandir}/man8
53aba5065d2ee3c103912ecfe865418bad6fa576Brian Wellington ${INSTALL_DATA} ${srcdir}/rndc.conf.5 ${DESTDIR}${mandir}/man5
c229b778b82c40f2186bfd6afcad2ee34c657216David Lawrence
8a5809527e6c85e39699901712a455d5480907c1Evan Huntuninstall::
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt rm -f ${DESTDIR}${mandir}/man5/rndc.conf.5
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt rm -f ${DESTDIR}${mandir}/man8/rndc.8
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/rndc@EXEEXT@
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt
4610465ed9408cbe434dbfb8be8ea53f48969c91Bob Halleyclean distclean maintainer-clean::
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence rm -f ${TARGETS}