1# Copyright (C) Internet Systems Consortium, Inc. ("ISC") 2# 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6# 7# See the COPYRIGHT file distributed with this work for additional 8# information regarding copyright ownership. 9 10srcdir = @srcdir@ 11VPATH = @srcdir@ 12top_srcdir = @top_srcdir@ 13 14VERSION=@BIND9_VERSION@ 15 16@BIND9_MAKE_INCLUDES@ 17 18CINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} ${ISC_INCLUDES} \ 19 ${IRS_INCLUDES} ${ISCCFG_INCLUDES} \ 20 ${OPENSSL_CFLAGS} 21 22CDEFINES = -DVERSION=\"${VERSION}\" \ 23 -DSYSCONFDIR=\"${sysconfdir}\" 24CWARNINGS = 25 26ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@ 27DNSLIBS = ../../lib/dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@ 28ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @NO_LIBTOOL_ISCLIBS@ 29ISCLIBS = ../../lib/isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@ 30IRSLIBS = ../../lib/irs/libirs.@A@ 31 32ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@ 33DNSDEPLIBS = ../../lib/dns/libdns.@A@ 34ISCDEPLIBS = ../../lib/isc/libisc.@A@ 35IRSDEPLIBS = ../../lib/irs/libirs.@A@ 36 37DEPLIBS = ${DNSDEPLIBS} ${IRSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} 38 39LIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@ 40NOSYMLIBS = ${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@ 41 42SUBDIRS = 43 44TARGETS = delv@EXEEXT@ 45 46OBJS = delv.@O@ 47 48SRCS = delv.c 49 50@BIND9_MAKE_RULES@ 51 52delv@EXEEXT@: delv.@O@ ${DEPLIBS} 53 export BASEOBJS="delv.@O@"; \ 54 export LIBS0="${DNSLIBS}"; \ 55 ${FINALBUILDCMD} 56 57installdirs: 58 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} 59 60install:: delv@EXEEXT@ installdirs 61 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \ 62 delv@EXEEXT@ ${DESTDIR}${bindir} 63 64uninstall:: 65 ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/delv@EXEEXT@ 66 67clean distclean maintainer-clean:: 68 rm -f ${TARGETS} 69