AC_SUBST([YAHTTP_CFLAGS], ['-I$(top_srcdir)/ext/yahttp'])
AC_SUBST([YAHTTP_LIBS], ['$(top_builddir)/ext/yahttp/yahttp/libyahttp.la'])
+AC_SUBST([IPCRYPT_CFLAGS], ['-I$(top_srcdir)/ext/ipcrypt'])
+AC_SUBST([IPCRYPT_LIBS], ['$(top_builddir)/ext/ipcrypt/libipcrypt.la'])
CXXFLAGS="$SANITIZER_FLAGS $CXXFLAGS"
docs/Makefile
pdns/pdns.init
ext/Makefile
+ ext/ipcrypt/Makefile
ext/yahttp/Makefile
ext/yahttp/yahttp/Makefile
ext/json11/Makefile
SUBDIRS = \
- yahttp \
- json11
+ ipcrypt \
+ json11 \
+ yahttp
DIST_SUBDIRS = \
- yahttp \
- json11
+ ipcrypt \
+ json11 \
+ yahttp
EXTRA_DIST = \
luawrapper/include/LuaContext.hpp
--- /dev/null
+*.la
+*.lo
+*.o
+Makefile
+Makefile.in
--- /dev/null
+noinst_LTLIBRARIES = libipcrypt.la
+
+libipcrypt_la_SOURCES = \
+ ipcrypt.c \
+ ipcrypt.h
ednsoptions.cc ednsoptions.hh \
ednssubnet.cc \
gss_context.cc gss_context.hh \
- ipcipher.cc ipcipher.hh ../ext/ipcrypt/ipcrypt.c ../ext/ipcrypt/ipcrypt.h \
+ ipcipher.cc ipcipher.hh \
iputils.cc iputils.hh \
json.cc \
logger.cc \
$(JSON11_LIBS) \
$(LIBDL) \
$(BOOST_PROGRAM_OPTIONS_LIBS) \
- $(LIBCRYPTO_LIBS)
+ $(LIBCRYPTO_LIBS) \
+ $(IPCRYPT_LIBS)
if LIBSODIUM
pdnsutil_SOURCES += sodiumsigners.cc
dnspcap.cc dnspcap.hh \
dnswasher.cc \
dnswriter.hh \
- ipcipher.cc ipcipher.hh ../ext/ipcrypt/ipcrypt.c ../ext/ipcrypt/ipcrypt.h \
+ ipcipher.cc ipcipher.hh \
logger.cc \
misc.cc \
qtype.cc \
unix_utility.cc
dnswasher_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(LIBCRYPTO_LDFLAGS)
-dnswasher_LDADD = $(BOOST_PROGRAM_OPTIONS_LIBS) $(LIBCRYPTO_LIBS)
+dnswasher_LDADD = $(BOOST_PROGRAM_OPTIONS_LIBS) $(LIBCRYPTO_LIBS) $(IPCRYPT_LIBS)
dnsbulktest_SOURCES = \
base32.cc \
ednssubnet.cc \
gettime.cc gettime.hh \
gss_context.cc gss_context.hh \
- ipcipher.cc ipcipher.hh ../ext/ipcrypt/ipcrypt.c ../ext/ipcrypt/ipcrypt.h \
+ ipcipher.cc ipcipher.hh \
iputils.cc \
ixfr.cc ixfr.hh \
logger.cc \
$(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \
$(RT_LIBS) \
$(LUA_LIBS) \
- $(LIBDL)
+ $(LIBDL) \
+ $(IPCRYPT_LIBS)
if PKCS11
testrunner_SOURCES += pkcs11signers.cc pkcs11signers.hh
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS=ext/yahttp
+SUBDIRS=ext/ipcrypt \
+ ext/yahttp
CLEANFILES = \
dnsmessage.pb.cc \
$(SANITIZER_FLAGS) \
$(SYSTEMD_LIBS) \
$(NET_SNMP_LIBS) \
- $(LIBCAP_LIBS)
+ $(LIBCAP_LIBS) \
+ $(IPCRYPT_LIBS)
if HAVE_RE2
dnsdist_LDADD += $(RE2_LIBS)
if HAVE_LIBCRYPTO
dnsdist_LDADD += $(LIBCRYPTO_LIBS)
-dnsdist_SOURCES += ipcipher.cc ipcipher.hh ext/ipcrypt/ipcrypt.c ext/ipcrypt/ipcrypt.h
+dnsdist_SOURCES += ipcipher.cc ipcipher.hh
endif
if HAVE_DNS_OVER_TLS
AC_SUBST([YAHTTP_CFLAGS], ['-I$(top_srcdir)/ext/yahttp'])
AC_SUBST([YAHTTP_LIBS], ['$(top_builddir)/ext/yahttp/yahttp/libyahttp.la'])
+AC_SUBST([IPCRYPT_CFLAGS], ['-I$(top_srcdir)/ext/ipcrypt'])
+AC_SUBST([IPCRYPT_LIBS], ['$(top_builddir)/ext/ipcrypt/libipcrypt.la'])
PDNS_WITH_LUA([mandatory])
PDNS_CHECK_LUA_HPP
)
AC_CONFIG_FILES([Makefile
- ext/yahttp/Makefile
- ext/yahttp/yahttp/Makefile])
+ ext/yahttp/Makefile
+ ext/yahttp/yahttp/Makefile
+ ext/ipcrypt/Makefile])
AC_OUTPUT
--- /dev/null
+../../../../ext/ipcrypt/Makefile.am
\ No newline at end of file