bind9/lib/isc/tests/Makefile.am
Ondřej Surý b43812692d Move netmgr/uv-compat.h to <isc/uv.h>
As we are going to use libuv outside of the netmgr, we need the shims to
be readily available for the rest of the codebase.

Move the "netmgr/uv-compat.h" to <isc/uv.h> and netmgr/uv-compat.c to
uv.c, and as a rule of thumb, the users of libuv should include
<isc/uv.h> instead of <uv.h> directly.

Additionally, merge netmgr/uverr2result.c into uv.c and rename the
single function from isc__nm_uverr2result() to isc_uverr2result().
2022-05-03 10:02:19 +02:00

95 lines
1.3 KiB
Makefile

include $(top_srcdir)/Makefile.top
AM_CPPFLAGS += \
$(LIBISC_CFLAGS) \
-I..
LDADD += \
libisctest.la \
$(LIBISC_LIBS)
check_LTLIBRARIES = libisctest.la
libisctest_la_SOURCES = \
isctest.c \
isctest.h \
uv_wrap.h
check_PROGRAMS = \
aes_test \
buffer_test \
counter_test \
crc64_test \
errno_test \
file_test \
hash_test \
heap_test \
hmac_test \
ht_test \
lex_test \
md_test \
mem_test \
netaddr_test \
netmgr_test \
parse_test \
quota_test \
radix_test \
random_test \
regex_test \
result_test \
safe_test \
siphash_test \
sockaddr_test \
stats_test \
symtab_test \
task_test \
time_test \
timer_test
if HAVE_LIBNGHTTP2
check_PROGRAMS += \
doh_test
doh_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBUV_CFLAGS) \
$(LIBNGHTTP2_CFLAGS) \
$(OPENSSL_CFLAGS)
doh_test_LDADD = \
$(LDADD) \
$(LIBNGHTTP2_LIBS) \
$(LIBUV_LIBS)
endif HAVE_LIBNGHTTP2
hmac_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(OPENSSL_CFLAGS)
hmac_test_LDADD = \
$(LDADD) \
$(OPENSSL_LIBS)
md_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(OPENSSL_CFLAGS)
md_test_LDADD = \
$(LDADD) \
$(OPENSSL_LIBS)
random_test_LDADD = \
$(LDADD) \
-lm
netmgr_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBUV_CFLAGS) \
$(OPENSSL_CFLAGS)
netmgr_test_LDADD = \
$(LDADD) \
$(LIBUV_LIBS)
EXTRA_DIST = testdata
include $(top_srcdir)/Makefile.tests