bind9/lib/ns/Makefile.am
Ondřej Surý 091d738c72 Convert all categories and modules into static lists
Remove the complicated mechanism that could be (in theory) used by
external libraries to register new categories and modules with
statically defined lists in <isc/log.h>.  This is similar to what we
have done for <isc/result.h> result codes.  All the libraries are now
internal to BIND 9, so we don't need to provide a mechanism to register
extra categories and modules.
2024-08-20 12:50:39 +00:00

64 lines
1.1 KiB
Makefile

include $(top_srcdir)/Makefile.top
AM_CPPFLAGS += \
-DNAMED_PLUGINDIR=\"$(pkglibdir)\"
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/sortlist.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 \
probes.d \
query.c \
server.c \
sortlist.c \
stats.c \
update.c \
xfrout.c
libns_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBNS_CFLAGS) \
$(LIBUV_CFLAGS) \
$(OPENSSL_CFLAGS)
libns_la_LIBADD = \
$(LIBDNS_LIBS) \
$(LIBISC_LIBS) \
$(LIBUV_LIBS) \
$(OPENSSL_LIBS)
libns_la_LDFLAGS = \
$(AM_LDFLAGS) \
-release "$(PACKAGE_VERSION)"
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)