bind9/tests/ns/Makefile.am
Evan Hunt 6b22c9a989 wrap ns_client_error() for unit testing
When testing, the client object doesn't have a proper
netmgr handle, so ns_client_error() needs to be a no-op.

(cherry picked from commit ae37ef45ff)
2025-02-25 16:23:14 -08:00

29 lines
475 B
Makefile

include $(top_srcdir)/Makefile.top
AM_CPPFLAGS += \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBNS_CFLAGS) \
$(LIBUV_CFLAGS) \
-I$(top_srcdir)/lib/isc \
-I$(top_srcdir)/lib/dns
LDADD += \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS) \
$(LIBNS_LIBS) \
$(LIBUV_LIBS)
check_PROGRAMS = \
listenlist_test \
notify_test \
plugin_test \
query_test
query_test_SOURCES = \
query_test.c \
netmgr_wrap.c
EXTRA_DIST = testdata
include $(top_srcdir)/Makefile.tests