# 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@

CINCLUDES =	-I${srcdir}/include \
		-I${srcdir}/../pthreads/include \
		-I../include \
		-I${srcdir}/../include \
		-I${srcdir}/.. \
		${OPENSSL_CFLAGS} \
		${JSON_C_CFLAGS} \
		${LIBXML2_CFLAGS}

CDEFINES =
CWARNINGS =

# Alphabetically
OBJS =		pk11_api.@O@ \
		dir.@O@ errno.@O@ errno2result.@O@ \
		file.@O@ fsaccess.@O@ interfaceiter.@O@ \
		meminfo.@O@ \
		net.@O@ os.@O@ resource.@O@ socket.@O@ stdio.@O@ stdtime.@O@ \
		syslog.@O@ time.@O@

# Alphabetically
SRCS =		pk11_api.c \
		dir.c errno.c errno2result.c \
		file.c fsaccess.c interfaceiter.c meminfo.c \
		net.c os.c resource.c socket.c stdio.c stdtime.c \
		syslog.c time.c

SUBDIRS =	include
TARGETS =	${OBJS}

@BIND9_MAKE_RULES@

interfaceiter.@O@: interfaceiter.c ifiter_getifaddrs.c
