# Copyright (C) 2004, 2007, 2009, 2012, 2014, 2016  Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001  Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.

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

CINCLUDES =	-I${srcdir}/include \
		-I${srcdir}/../@ISC_THREAD_DIR@/include \
		-I../include \
		-I${srcdir}/../include @ISC_OPENSSL_INC@ \
		-I${srcdir}/..

CDEFINES =	@CRYPTO@
CWARNINGS =

# Alphabetically
OBJS =		@ISC_IPV6_O@ @ISC_PK11_API_O@ \
		app.@O@ dir.@O@ entropy.@O@ errno.@O@ errno2result.@O@ \
		file.@O@ fsaccess.@O@ interfaceiter.@O@ \
		keyboard.@O@ net.@O@ \
		os.@O@ resource.@O@ socket.@O@ stdio.@O@ stdtime.@O@ \
		strerror.@O@ syslog.@O@ time.@O@

# Alphabetically
SRCS =		@ISC_IPV6_C@ @ISC_PK11_API_C@ \
		app.c dir.c entropy.c errno.c errno2result.c file.c \
		fsaccess.c interfaceiter.c keyboard.c net.c \
		os.c resource.c socket.c stdio.c stdtime.c \
		strerror.c syslog.c time.c

SUBDIRS =	include
TARGETS =	${OBJS}

@BIND9_MAKE_RULES@

interfaceiter.@O@: interfaceiter.c ifiter_ioctl.c ifiter_sysctl.c ifiter_getifaddrs.c

