17fc2a887a5683b2e1bbd6bd9fdf0cdb97b509fbTimo Sirainennoinst_LTLIBRARIES = libdns.la
17fc2a887a5683b2e1bbd6bd9fdf0cdb97b509fbTimo SirainenAM_CPPFLAGS = \
17fc2a887a5683b2e1bbd6bd9fdf0cdb97b509fbTimo Sirainen -I$(top_srcdir)/src/lib
17fc2a887a5683b2e1bbd6bd9fdf0cdb97b509fbTimo Sirainenlibdns_la_SOURCES = \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomitest_programs = \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi test-dns-util
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuominoinst_PROGRAMS = $(test_programs)
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomitest_libs = \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomitest_dns_util_SOURCE = test-dns-util.c
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomitest_dns_util_LDADD = $(test_libs)
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomitest_dns_util_CFLAGS = $(AM_CPPFLAGS) \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi -I$(top_srcdir)/src/lib-test
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi for bin in $(test_programs); do \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi if test "$$bin" = "test-program-client-local"; then \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi if ! env NOVALGRIND=yes $(RUN_TEST) ./$$bin; then exit 1; fi; \
a7f58d28d4ccceaf03e2032ec8e855e1ba965bfeAki Tuomi if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainenpkginc_libdir=$(pkgincludedir)
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainenpkginc_lib_HEADERS = $(headers)