bind9/tests/bench/Makefile.am
Tony Finch 06f534fa69
Avoid spurious compilation failures in liburcu headers
When liburcu is not installed from a system package, its headers are
not treated as system headers by the compiler, so BIND's -Werror and
other warning options take effect. The liburcu headers have a lot
of inline functions, some of which do not use all their arguments,
which BIND's build treats as an error.
2023-04-27 12:38:53 +02:00

35 lines
669 B
Makefile

include $(top_srcdir)/Makefile.top
AM_CFLAGS += -Wno-vla
AM_CPPFLAGS += \
$(LIBUV_CFLAGS) \
$(LIBURCU_CFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
-I$(top_srcdir)/fuzz \
-I$(top_srcdir)/lib/dns \
-I$(top_srcdir)/lib/isc \
-I$(top_srcdir)/tests/include
LDADD += \
$(LIBUV_LIBS) \
$(LIBURCU_LIBS) \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS) \
$(top_builddir)/tests/libtest/libtest.la
noinst_PROGRAMS = \
ascii \
compress \
dns_name_fromwire \
iterated_hash \
load-names \
qp-dump \
qpmulti \
siphash
dns_name_fromwire_SOURCES = \
$(top_builddir)/fuzz/old.c \
$(top_builddir)/fuzz/old.h \
dns_name_fromwire.c