|
Packit |
5ce601 |
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
Packit |
5ce601 |
#
|
|
Packit |
5ce601 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
5ce601 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit Service |
704ed8 |
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
Packit |
5ce601 |
#
|
|
Packit |
5ce601 |
# See the COPYRIGHT file distributed with this work for additional
|
|
Packit |
5ce601 |
# information regarding copyright ownership.
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
srcdir = @srcdir@
|
|
Packit |
5ce601 |
VPATH = @srcdir@
|
|
Packit |
5ce601 |
top_srcdir = @top_srcdir@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
VERSION=@BIND9_VERSION@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
@BIND9_MAKE_INCLUDES@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
READLINE_LIB = @READLINE_LIB@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
CINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} \
|
|
Packit |
5ce601 |
${BIND9_INCLUDES} ${ISC_INCLUDES} \
|
|
Packit |
5ce601 |
${LWRES_INCLUDES} ${ISCCFG_INCLUDES} @LIBIDN2_CFLAGS@ @DST_OPENSSL_INC@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
CDEFINES = -DVERSION=\"${VERSION}\" @CRYPTO@
|
|
Packit |
5ce601 |
CWARNINGS =
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Packit |
5ce601 |
DNSLIBS = ../../lib/dns/libdns.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
|
|
Packit |
5ce601 |
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
Packit |
5ce601 |
ISCLIBS = ../../lib/isc/libisc.@A@
|
|
Packit |
5ce601 |
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
|
|
Packit |
5ce601 |
LWRESLIBS = ../../lib/lwres/liblwres.@A@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
Packit |
5ce601 |
DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
Packit |
5ce601 |
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
Packit |
5ce601 |
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
Packit |
5ce601 |
LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
DEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} \
|
|
Packit |
5ce601 |
${ISCCFGDEPLIBS} ${LWRESDEPLIBS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
LIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
|
|
Packit |
5ce601 |
${ISCLIBS} @IDNKIT_LIBS@ @LIBIDN2_LIBS@ @LIBS@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
NOSYMLIBS = ${LWRESLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
|
|
Packit |
5ce601 |
${ISCNOSYMLIBS} @IDNKIT_LIBS@ @LIBIDN2_LIBS@ @LIBS@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
SUBDIRS =
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
TARGETS = dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
OBJS = dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
UOBJS =
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
SRCS = dig.c dighost.c host.c nslookup.c
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
MANPAGES = dig.1 host.1 nslookup.1
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
HTMLPAGES = dig.html host.html nslookup.html
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
@BIND9_MAKE_RULES@
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
|
Packit |
5ce601 |
export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
|
|
Packit |
5ce601 |
export LIBS0="${DNSLIBS}"; \
|
|
Packit |
5ce601 |
${FINALBUILDCMD}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
host@EXEEXT@: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
|
Packit |
5ce601 |
export BASEOBJS="host.@O@ dighost.@O@ ${UOBJS}"; \
|
|
Packit |
5ce601 |
export LIBS0="${DNSLIBS}"; \
|
|
Packit |
5ce601 |
${FINALBUILDCMD}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
nslookup@EXEEXT@: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
|
Packit |
5ce601 |
export BASEOBJS="nslookup.@O@ dighost.@O@ ${READLINE_LIB} ${UOBJS}"; \
|
|
Packit |
5ce601 |
export LIBS0="${DNSLIBS}"; \
|
|
Packit |
5ce601 |
${FINALBUILDCMD}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
doc man:: ${MANOBJS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
docclean manclean maintainer-clean::
|
|
Packit |
5ce601 |
rm -f ${MANOBJS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
clean distclean maintainer-clean::
|
|
Packit |
5ce601 |
rm -f ${TARGETS}
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
installdirs:
|
|
Packit |
5ce601 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
|
|
Packit |
5ce601 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
|
Packit |
5ce601 |
|
|
Packit Service |
d3afd5 |
install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@ installdirs
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
|
|
Packit |
5ce601 |
dig@EXEEXT@ ${DESTDIR}${bindir}
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
|
|
Packit |
5ce601 |
host@EXEEXT@ ${DESTDIR}${bindir}
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
|
|
Packit |
5ce601 |
nslookup@EXEEXT@ ${DESTDIR}${bindir}
|
|
Packit Service |
d3afd5 |
for m in ${MANPAGES}; do \
|
|
Packit Service |
d3afd5 |
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1 || exit 1; \
|
|
Packit Service |
d3afd5 |
done
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
uninstall::
|
|
Packit |
5ce601 |
for m in ${MANPAGES}; do \
|
|
Packit |
5ce601 |
rm -f ${DESTDIR}${mandir}/man1/$$m || exit 1; \
|
|
Packit |
5ce601 |
done
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nslookup@EXEEXT@
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/host@EXEEXT@
|
|
Packit |
5ce601 |
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/dig@EXEEXT@
|