bind9/bin/nsupdate/Makefile.in

98 lines
2.6 KiB
Makefile
Raw Normal View History

# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2012-06-28 21:39:47 -04:00
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
2004-03-05 00:14:21 -05:00
2000-06-09 20:50:36 -04:00
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
VERSION=@BIND9_VERSION@
2000-06-09 20:50:36 -04:00
@BIND9_MAKE_INCLUDES@
2000-06-09 20:50:36 -04:00
READLINE_LIB = @READLINE_LIB@
2014-01-16 08:50:30 -05:00
DST_GSSAPI_INC = @DST_GSSAPI_INC@
CINCLUDES = ${DNS_INCLUDES} ${BIND9_INCLUDES} ${ISC_INCLUDES} \
${ISCCFG_INCLUDES} ${IRS_INCLUDES} ${DST_GSSAPI_INC} \
@DST_OPENSSL_INC@
2000-06-09 20:50:36 -04:00
CDEFINES = -DVERSION=\"${VERSION}\" @CRYPTO@ @USE_GSSAPI@
2000-06-09 20:50:36 -04:00
CWARNINGS =
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
BIND9LIBS = ../../lib/bind9/libbind9.@A@
ISCLIBS = ../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @ISC_OPENSSL_LIBS@
2001-11-20 21:19:02 -05:00
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
IRSLIBS = ../../lib/irs/libirs.@A@
2000-06-09 20:50:36 -04:00
DNSDEPLIBS = ../../lib/dns/libdns.@A@
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
2000-06-09 20:50:36 -04:00
ISCDEPLIBS = ../../lib/isc/libisc.@A@
2001-11-20 21:19:02 -05:00
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
IRSDEPLIBS = ../../lib/irs/libirs.@A@
2000-06-09 20:50:36 -04:00
DEPLIBS = ${DNSDEPLIBS} ${IRSDEPLIBS} ${BIND9DEPLIBS} \
${ISCDEPLIBS} ${ISCCFGDEPLIBS}
2000-06-09 20:50:36 -04:00
LIBS = ${DNSLIBS} ${IRSLIBS} ${BIND9LIBS} \
${ISCCFGLIBS} ${ISCLIBS} @LIBS@
2000-06-09 20:50:36 -04:00
NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${BIND9LIBS} \
${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
SUBDIRS =
2000-06-09 20:50:36 -04:00
2002-12-26 22:29:37 -05:00
TARGETS = nsupdate@EXEEXT@
2000-06-09 20:50:36 -04:00
OBJS = nsupdate.@O@
UOBJS =
2000-06-09 20:50:36 -04:00
SRCS = nsupdate.c
MANPAGES = nsupdate.1
2001-03-30 21:23:18 -05:00
HTMLPAGES = nsupdate.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
2000-06-09 20:50:36 -04:00
@BIND9_MAKE_RULES@
nsupdate.@O@: nsupdate.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\" \
-c ${srcdir}/nsupdate.c
2002-12-26 22:29:37 -05:00
nsupdate@EXEEXT@: nsupdate.@O@ ${UOBJS} ${DEPLIBS}
export BASEOBJS="nsupdate.@O@ ${READLINE_LIB} ${UOBJS}"; \
export LIBS0="${DNSLIBS} ${IRSLIBS}"; \
${FINALBUILDCMD}
2000-06-09 20:50:36 -04:00
2001-03-30 21:23:18 -05:00
doc man:: ${MANOBJS}
docclean manclean maintainer-clean::
rm -f ${MANOBJS}
2000-06-09 20:50:36 -04:00
clean distclean::
rm -f ${TARGETS}
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
2000-06-09 20:50:36 -04:00
2002-12-26 22:29:37 -05:00
install:: nsupdate@EXEEXT@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsupdate@EXEEXT@ ${DESTDIR}${bindir}
${INSTALL_DATA} ${srcdir}/nsupdate.1 ${DESTDIR}${mandir}/man1
uninstall::
rm -f ${DESTDIR}${mandir}/man1/nsupdate.1
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nsupdate@EXEEXT@