mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 11:32:01 -05:00
While libltdl is a feature-rich library, BIND 9 code only uses its basic capabilities, which are also provided by libuv and which BIND 9 already uses for other purposes. As libuv's cross-platform shared library handling interface is modeled after the POSIX dlopen() interface, converting code using the latter to the former is simple. Replace libltdl function calls with their libuv counterparts, refactoring the code as necessary. Remove all use of libltdl from the BIND 9 source tree.
95 lines
1.7 KiB
Makefile
95 lines
1.7 KiB
Makefile
# Hey Emacs, this is -*- makefile-automake -*- file!
|
|
# vim: filetype=automake
|
|
|
|
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
|
|
|
AM_CFLAGS = \
|
|
$(STD_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
$(STD_CPPFLAGS) \
|
|
-include $(top_builddir)/config.h \
|
|
-I$(srcdir)/include
|
|
|
|
AM_LDFLAGS =
|
|
|
|
if HOST_MACOS
|
|
AM_LDFLAGS += \
|
|
-Wl,-flat_namespace
|
|
endif HOST_MACOS
|
|
|
|
if HAVE_GSSAPI
|
|
AM_CPPFLAGS += \
|
|
$(GSSAPI_CFLAGS)
|
|
endif
|
|
|
|
LIBISC_CFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/isc/unix/include \
|
|
-I$(top_srcdir)/lib/isc/pthreads/include \
|
|
-I$(top_srcdir)/lib/isc/include \
|
|
-I$(top_builddir)/lib/isc/include
|
|
|
|
if HAVE_JSON_C
|
|
LIBISC_CFLAGS += \
|
|
$(JSON_C_CFLAGS)
|
|
endif HAVE_JSON_C
|
|
|
|
if HAVE_LIBXML2
|
|
LIBISC_CFLAGS += \
|
|
$(LIBXML2_CFLAGS)
|
|
endif HAVE_LIBXML2
|
|
|
|
if HAVE_READLINE
|
|
LIBISC_CFLAGS += \
|
|
$(READLINE_CFLAGS)
|
|
endif HAVE_READLINE
|
|
|
|
LIBISC_LIBS = $(top_builddir)/lib/isc/libisc.la
|
|
|
|
LIBDNS_CFLAGS = \
|
|
-I$(top_srcdir)/lib/dns/include \
|
|
-I$(top_builddir)/lib/dns/include
|
|
|
|
LIBDNS_LIBS = \
|
|
$(top_builddir)/lib/dns/libdns.la
|
|
|
|
if HAVE_DNSTAP
|
|
LIBDNS_CFLAGS += \
|
|
$(DNSTAP_CFLAGS)
|
|
endif HAVE_DNSTAP
|
|
|
|
if HAVE_LMDB
|
|
LIBDNS_CFLAGS += \
|
|
$(LMDB_CFLAGS)
|
|
endif HAVE_LMDB
|
|
|
|
LIBNS_CFLAGS = \
|
|
-I$(top_srcdir)/lib/ns/include
|
|
|
|
LIBNS_LIBS = \
|
|
$(top_builddir)/lib/ns/libns.la
|
|
|
|
LIBIRS_CFLAGS = \
|
|
-I$(top_srcdir)/lib/irs/include
|
|
|
|
LIBIRS_LIBS = \
|
|
$(top_builddir)/lib/irs/libirs.la
|
|
|
|
LIBISCCFG_CFLAGS = \
|
|
-I$(top_srcdir)/lib/isccfg/include
|
|
|
|
LIBISCCFG_LIBS = \
|
|
$(top_builddir)/lib/isccfg/libisccfg.la
|
|
|
|
LIBISCCC_CFLAGS = \
|
|
-I$(top_srcdir)/lib/isccc/include/
|
|
|
|
LIBISCCC_LIBS = \
|
|
$(top_builddir)/lib/isccc/libisccc.la
|
|
|
|
LIBBIND9_CFLAGS = \
|
|
-I$(top_srcdir)/lib/bind9/include
|
|
|
|
LIBBIND9_LIBS = \
|
|
$(top_builddir)/lib/bind9/libbind9.la
|