# Copyright (C) 2000-2002, 2004, 2007, 2009, 2012, 2014, 2016  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/.

# $Id: Makefile.in,v 1.19 2009/12/05 23:31:40 each Exp $

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

@BIND9_MAKE_INCLUDES@

CINCLUDES =	${TEST_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}

CDEFINES =
CWARNINGS =

ISCLIBS =	../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@

ISCDEPLIBS =	../../../lib/isc/libisc.@A@

DEPLIBS =	${ISCDEPLIBS}

LIBS =		${ISCLIBS} @LIBS@

TARGETS =	t_net@EXEEXT@

SRCS =		driver.c netaddr_multicast.c sockaddr_multicast.c

OBJS =		driver.@O@ netaddr_multicast.@O@ sockaddr_multicast.@O@

@BIND9_MAKE_RULES@

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

test: t_net@EXEEXT@
	-@./t_net@EXEEXT@

clean distclean::
	rm -f ${TARGETS}
	rm -f ${OBJS}
