1 include $(top_srcdir)/Makefile.top 2 3 AM_CPPFLAGS += \ 4 $(LIBISC_CFLAGS) \ 5 $(LIBDNS_CFLAGS) \ 6 $(LIBNS_CFLAGS) \ 7 $(LIBURCU_CFLAGS) \ 8 $(LIBUV_CFLAGS) \ 9 -I$(top_srcdir)/lib/isc \ 10 -I$(top_srcdir)/lib/dns 11 12 LDADD += \ 13 $(LIBISC_LIBS) \ 14 $(LIBDNS_LIBS) \ 15 $(LIBNS_LIBS) 16 17 noinst_LTLIBRARIES = libtest.la 18 19 libtest_la_SOURCES = \ 20 ../include/tests/isc.h \ 21 ../include/tests/ns.h \ 22 ../include/tests/qp.h \ 23 isc.c \ 24 ns.c \ 25 qp.c 26 if HAVE_CMOCKA 27 libtest_la_SOURCES += \ 28 ../include/tests/dns.h \ 29 dns.c 30 endif HAVE_CMOCKA 31 32 include $(top_srcdir)/Makefile.tests 33