2cda87d34f3d7663d934d4317d19843e4f3f930eTinderbox User# Copyright (C) 2000-2002, 2004, 2006-2009, 2012-2017 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.36 2009/12/05 23:31:40 each Exp $
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyersrcdir = @srcdir@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerVPATH = @srcdir@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyertop_srcdir = @top_srcdir@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan HuntVERSION=@BIND9_VERSION@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_MAKE_INCLUDES@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
dab4aac006fadcaf3c5a9ccd983188b37ead08eeMark AndrewsREADLINE_LIB = @READLINE_LIB@
dab4aac006fadcaf3c5a9ccd983188b37ead08eeMark Andrews
d1ca4caece46d1687e24ef4cdaf23d958f666da7Mark AndrewsDST_GSSAPI_INC = @DST_GSSAPI_INC@
d1ca4caece46d1687e24ef4cdaf23d958f666da7Mark Andrews
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold KrecickiCINCLUDES = ${LWRES_INCLUDES} ${DNS_INCLUDES} \
447dfe4f115b17274eabf1087f035634e1129bb9Mark Andrews ${BIND9_INCLUDES} ${ISC_INCLUDES} \
447dfe4f115b17274eabf1087f035634e1129bb9Mark Andrews ${ISCCFG_INCLUDES} ${DST_GSSAPI_INC} @DST_OPENSSL_INC@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold KrecickiCDEFINES = -DVERSION=\"${VERSION}\" @CRYPTO@ @USE_GSSAPI@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerCWARNINGS =
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
81dcbe87a7d6ae6fe3228bc183a8b726853dc87cBrian WellingtonLWRESLIBS = ../../lib/lwres/liblwres.@A@
0e40083fdd5445703bd30e46e5bfe7d047bced12Brian WellingtonDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
b493dfe8bce94b05efc0f161238d32f1234c5670Brian WellingtonBIND9LIBS = ../../lib/bind9/libbind9.@A@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerISCLIBS = ../../lib/isc/libisc.@A@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
3cac42f8db0eaf7c600424cca919e83740852f7eAndreas GustafssonISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
81dcbe87a7d6ae6fe3228bc183a8b726853dc87cBrian WellingtonLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerDNSDEPLIBS = ../../lib/dns/libdns.@A@
b493dfe8bce94b05efc0f161238d32f1234c5670Brian WellingtonBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerISCDEPLIBS = ../../lib/isc/libisc.@A@
3cac42f8db0eaf7c600424cca919e83740852f7eAndreas GustafssonISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntDEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS}
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntNOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceSUBDIRS =
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
f4cbe536b11da614fe05aeaeff41e324854cda7bMark AndrewsTARGETS = nsupdate@EXEEXT@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerOBJS = nsupdate.@O@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceUOBJS =
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael SawyerSRCS = nsupdate.c
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark AndrewsMANPAGES = nsupdate.1
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas GustafssonHTMLPAGES = nsupdate.html
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafsson
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas GustafssonMANOBJS = ${MANPAGES} ${HTMLPAGES}
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafsson
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer@BIND9_MAKE_RULES@
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
351b62535d4c4f89883bfdba025999dd32490266Evan Huntnsupdate.@O@: nsupdate.c
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
08f860f800d32007a0c9bf456f6c35fbb2ecbc81Evan Hunt -DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\" \
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt -c ${srcdir}/nsupdate.c
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
f4cbe536b11da614fe05aeaeff41e324854cda7bMark Andrewsnsupdate@EXEEXT@: nsupdate.@O@ ${UOBJS} ${DEPLIBS}
ef37222aafb9351570c35f89df926abe02cd7d81Evan Hunt export BASEOBJS="nsupdate.@O@ ${READLINE_LIB} ${UOBJS}"; \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${FINALBUILDCMD}
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafssondoc man:: ${MANOBJS}
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafsson
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafssondocclean manclean maintainer-clean::
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafsson rm -f ${MANOBJS}
803b50652fd6ad81d04d18fc04332c8a94f8fe9aAndreas Gustafsson
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyerclean distclean::
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer rm -f ${TARGETS}
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyerinstalldirs:
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafsson $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
51e09bf791b4d3a6fd76f752df3f47d05ef6becdMichael Sawyer
f4cbe536b11da614fe05aeaeff41e324854cda7bMark Andrewsinstall:: nsupdate@EXEEXT@ installdirs
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsupdate@EXEEXT@ ${DESTDIR}${bindir}
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews ${INSTALL_DATA} ${srcdir}/nsupdate.1 ${DESTDIR}${mandir}/man1
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt
8a5809527e6c85e39699901712a455d5480907c1Evan Huntuninstall::
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt rm -f ${DESTDIR}${mandir}/man1/nsupdate.1
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nsupdate@EXEEXT@