Files
bind9/lib/bind9/Makefile.am
T
Ondřej Surý 2bb454182b Make the DNS over HTTPS support optional
This commit adds two new autoconf options `--enable-doh` (enabled by
default) and `--with-libnghttp2` (mandatory when DoH is enabled).

When DoH support is disabled the library is not linked-in and support
for http(s) protocol is disabled in the netmgr, named and dig.
2021-07-07 09:50:53 +02:00

36 lines
653 B
Makefile

include $(top_srcdir)/Makefile.top
lib_LTLIBRARIES = libbind9.la
libbind9_ladir = $(includedir)/bind9
libbind9_la_HEADERS = \
include/bind9/check.h \
include/bind9/getaddresses.h
libbind9_la_SOURCES = \
$(libbind9_la_HEADERS) \
check.c \
getaddresses.c
libbind9_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBISCCFG_CFLAGS) \
$(LIBNS_CFLAGS) \
$(LIBBIND9_CFLAGS)
libbind9_la_LIBADD = \
$(LIBNS_LIBS) \
$(LIBISCCFG_LIBS) \
$(LIBDNS_LIBS) \
$(LIBISC_LIBS)
libbind9_la_LDFLAGS = \
$(AM_LDFLAGS) \
-release "$(PACKAGE_VERSION)"
if HAVE_DNSTAP
libbind9_la_CPPFLAGS += $(DNSTAP_CFLAGS)
endif