mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 02:42:33 -05:00
The netmgr_test unit test has been subdivided into tcp_test, tcpdns_test, tls_test, tlsdns_test, and udp_test components. These have been updated to use the new loopmgr.
179 lines
2.5 KiB
Makefile
179 lines
2.5 KiB
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBUV_CFLAGS) \
|
|
-I$(top_srcdir)/lib/isc
|
|
|
|
LDADD += \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBUV_LIBS)
|
|
|
|
check_PROGRAMS = \
|
|
aes_test \
|
|
async_test \
|
|
buffer_test \
|
|
counter_test \
|
|
crc64_test \
|
|
errno_test \
|
|
file_test \
|
|
hash_test \
|
|
heap_test \
|
|
hmac_test \
|
|
ht_test \
|
|
job_test \
|
|
lex_test \
|
|
loop_test \
|
|
md_test \
|
|
mem_test \
|
|
netaddr_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 \
|
|
tcp_test \
|
|
tcpdns_test \
|
|
time_test \
|
|
timer_test \
|
|
tls_test \
|
|
tlsdns_test \
|
|
udp_test \
|
|
work_test
|
|
|
|
if HAVE_LIBNGHTTP2
|
|
check_PROGRAMS += \
|
|
doh_test
|
|
|
|
doh_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(LIBNGHTTP2_CFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
doh_test_LDADD = \
|
|
$(LDADD) \
|
|
$(LIBNGHTTP2_LIBS)
|
|
|
|
doh_test_SOURCES = \
|
|
doh_test.c \
|
|
uv_wrap.h
|
|
|
|
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
|
|
|
|
task_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS)
|
|
|
|
task_test_LDADD = \
|
|
$(LDADD)
|
|
|
|
tcp_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
tcp_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
tcp_test_SOURCES = \
|
|
tcp_test.c \
|
|
netmgr_common.h \
|
|
netmgr_common.c \
|
|
uv_wrap.h
|
|
|
|
tcpdns_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
tcpdns_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
tcpdns_test_SOURCES = \
|
|
tcpdns_test.c \
|
|
netmgr_common.h \
|
|
netmgr_common.c \
|
|
uv_wrap.h
|
|
|
|
tls_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
tls_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
tls_test_SOURCES = \
|
|
tls_test.c \
|
|
netmgr_common.h \
|
|
netmgr_common.c \
|
|
uv_wrap.h
|
|
|
|
tlsdns_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
tlsdns_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
tlsdns_test_SOURCES = \
|
|
tlsdns_test.c \
|
|
netmgr_common.h \
|
|
netmgr_common.c \
|
|
uv_wrap.h
|
|
|
|
udp_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
udp_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
udp_test_SOURCES = \
|
|
udp_test.c \
|
|
netmgr_common.h \
|
|
netmgr_common.c \
|
|
uv_wrap.h
|
|
|
|
if HAVE_LIBXML2
|
|
task_test_CPPFLAGS += $(LIBXML2_CFLAGS)
|
|
task_test_LDADD += $(LIBXML2_LIBS)
|
|
endif HAVE_LIBXML2
|
|
|
|
if HAVE_JSON_C
|
|
task_test_CPPFLAGS += $(JSON_C_CFLAGS)
|
|
task_test_LDADD += $(JSON_C_LIBS)
|
|
endif HAVE_JSON_C
|
|
|
|
|
|
EXTRA_DIST = testdata
|
|
|
|
include $(top_srcdir)/Makefile.tests
|