2018-08-07 10:46:53 -04:00
|
|
|
include $(top_srcdir)/Makefile.top
|
|
|
|
|
|
|
|
|
|
AM_CPPFLAGS += \
|
2022-04-22 07:27:12 -04:00
|
|
|
-DNAMED_PLUGINDIR=\"$(pkglibdir)\"
|
2018-08-07 10:46:53 -04:00
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libns.la
|
|
|
|
|
|
|
|
|
|
libns_ladir = $(includedir)/ns
|
|
|
|
|
|
|
|
|
|
libns_la_HEADERS = \
|
|
|
|
|
include/ns/client.h \
|
|
|
|
|
include/ns/hooks.h \
|
|
|
|
|
include/ns/interfacemgr.h \
|
|
|
|
|
include/ns/listenlist.h \
|
|
|
|
|
include/ns/notify.h \
|
|
|
|
|
include/ns/query.h \
|
|
|
|
|
include/ns/server.h \
|
|
|
|
|
include/ns/stats.h \
|
|
|
|
|
include/ns/types.h \
|
|
|
|
|
include/ns/update.h \
|
|
|
|
|
include/ns/xfrout.h
|
|
|
|
|
|
|
|
|
|
libns_la_SOURCES = \
|
|
|
|
|
$(libns_la_HEADERS) \
|
|
|
|
|
client.c \
|
|
|
|
|
hooks.c \
|
|
|
|
|
interfacemgr.c \
|
|
|
|
|
listenlist.c \
|
|
|
|
|
notify.c \
|
2023-01-30 09:36:49 -05:00
|
|
|
probes.d \
|
2018-08-07 10:46:53 -04:00
|
|
|
query.c \
|
|
|
|
|
server.c \
|
|
|
|
|
stats.c \
|
|
|
|
|
update.c \
|
|
|
|
|
xfrout.c
|
|
|
|
|
|
|
|
|
|
libns_la_CPPFLAGS = \
|
|
|
|
|
$(AM_CPPFLAGS) \
|
|
|
|
|
$(LIBDNS_CFLAGS) \
|
2020-10-20 17:51:08 -04:00
|
|
|
$(LIBISC_CFLAGS) \
|
2018-08-07 10:46:53 -04:00
|
|
|
$(LIBNS_CFLAGS) \
|
2020-10-01 07:18:47 -04:00
|
|
|
$(LIBUV_CFLAGS) \
|
|
|
|
|
$(OPENSSL_CFLAGS)
|
2018-08-07 10:46:53 -04:00
|
|
|
|
|
|
|
|
libns_la_LIBADD = \
|
2020-10-20 17:51:08 -04:00
|
|
|
$(LIBDNS_LIBS) \
|
2018-08-07 10:46:53 -04:00
|
|
|
$(LIBISC_LIBS) \
|
2020-10-01 07:18:47 -04:00
|
|
|
$(LIBUV_LIBS) \
|
|
|
|
|
$(OPENSSL_LIBS)
|
2018-08-07 10:46:53 -04:00
|
|
|
|
|
|
|
|
libns_la_LDFLAGS = \
|
2020-09-28 03:09:21 -04:00
|
|
|
$(AM_LDFLAGS) \
|
2021-01-12 07:38:44 -05:00
|
|
|
-release "$(PACKAGE_VERSION)"
|
2023-01-30 09:36:49 -05:00
|
|
|
|
|
|
|
|
if !HAVE_SYSTEMTAP
|
|
|
|
|
DTRACE_DEPS = libns_la-query.lo
|
|
|
|
|
DTRACE_OBJS = .libs/libns_la-query.$(OBJEXT)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.dtrace
|
|
|
|
|
|
|
|
|
|
libns_la_LIBADD += $(DTRACE_LIBADD)
|