# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# 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.

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

VERSION=@BIND9_VERSION@

@BIND9_MAKE_INCLUDES@

CINCLUDES =	${DNS_INCLUDES} ${ISC_INCLUDES} @OPENSSL_INCLUDES@

CDEFINES =
CWARNINGS =

DNSLIBS =	../../../../lib/dns/libdns.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
ISCLIBS =	../../../../lib/isc/libisc.@A@ @OPENSSL_LIBS@

DNSDEPLIBS =	../../../../lib/dns/libdns.@A@
ISCDEPLIBS =	../../../../lib/isc/libisc.@A@

DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}

LIBS =		${DNSLIBS} ${ISCLIBS} @LIBS@

TARGETS =	bigkey@EXEEXT@

OBJS =		bigkey.@O@

SRCS =		bigkey.c

@BIND9_MAKE_RULES@

all: bigkey@EXEEXT@

bigkey@EXEEXT@: ${OBJS} ${DEPLIBS}
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}

clean distclean::
	rm -f ${TARGETS}

