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.
36 lines
653 B
Makefile
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
|