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