1include $(top_srcdir)/Makefile.top 2 3AM_CPPFLAGS += \ 4 -DNAMED_PLUGINDIR=\"$(libdir)/named\" 5 6lib_LTLIBRARIES = libns.la 7 8libns_ladir = $(includedir)/ns 9 10libns_la_HEADERS = \ 11 include/ns/client.h \ 12 include/ns/events.h \ 13 include/ns/hooks.h \ 14 include/ns/interfacemgr.h \ 15 include/ns/listenlist.h \ 16 include/ns/log.h \ 17 include/ns/notify.h \ 18 include/ns/query.h \ 19 include/ns/server.h \ 20 include/ns/sortlist.h \ 21 include/ns/stats.h \ 22 include/ns/types.h \ 23 include/ns/update.h \ 24 include/ns/xfrout.h 25 26libns_la_SOURCES = \ 27 $(libns_la_HEADERS) \ 28 client.c \ 29 hooks.c \ 30 interfacemgr.c \ 31 listenlist.c \ 32 log.c \ 33 notify.c \ 34 query.c \ 35 server.c \ 36 sortlist.c \ 37 stats.c \ 38 update.c \ 39 xfrout.c 40 41libns_la_CPPFLAGS = \ 42 $(AM_CPPFLAGS) \ 43 $(LIBDNS_CFLAGS) \ 44 $(LIBISC_CFLAGS) \ 45 $(LIBNS_CFLAGS) \ 46 $(LIBUV_CFLAGS) \ 47 $(OPENSSL_CFLAGS) 48 49libns_la_LIBADD = \ 50 $(LIBDNS_LIBS) \ 51 $(LIBISC_LIBS) \ 52 $(LIBUV_LIBS) \ 53 $(OPENSSL_LIBS) 54 55libns_la_LDFLAGS = \ 56 $(AM_LDFLAGS) \ 57 -release "$(PACKAGE_VERSION)" 58 59if HAVE_CMOCKA 60SUBDIRS = tests 61endif 62