1# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2#
3# SPDX-License-Identifier: MPL-2.0
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0.  If a copy of the MPL was not distributed with this
7# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12srcdir =	@srcdir@
13VPATH =		@srcdir@
14top_srcdir =	@top_srcdir@
15
16CINCLUDES =	-I${srcdir}/include \
17		-I${srcdir}/../pthreads/include \
18		-I../include \
19		-I${srcdir}/../include \
20		-I${srcdir}/.. \
21		${OPENSSL_CFLAGS} \
22		${JSON_C_CFLAGS} \
23		${LIBXML2_CFLAGS}
24
25CDEFINES =
26CWARNINGS =
27
28# Alphabetically
29OBJS =		pk11_api.@O@ \
30		dir.@O@ errno.@O@ errno2result.@O@ \
31		file.@O@ fsaccess.@O@ interfaceiter.@O@ \
32		meminfo.@O@ \
33		net.@O@ os.@O@ resource.@O@ socket.@O@ stdio.@O@ stdtime.@O@ \
34		syslog.@O@ time.@O@
35
36# Alphabetically
37SRCS =		pk11_api.c \
38		dir.c errno.c errno2result.c \
39		file.c fsaccess.c interfaceiter.c meminfo.c \
40		net.c os.c resource.c socket.c stdio.c stdtime.c \
41		syslog.c time.c
42
43SUBDIRS =	include
44TARGETS =	${OBJS}
45
46@BIND9_MAKE_RULES@
47
48interfaceiter.@O@: interfaceiter.c ifiter_getifaddrs.c
49