diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
commit | f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch) | |
tree | 49e44c6f87febed37efb953ab5485aa49f6481a7 /src/lib/cryptolink/Makefile.am | |
parent | Initial commit. (diff) | |
download | isc-kea-upstream.tar.xz isc-kea-upstream.zip |
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/lib/cryptolink/Makefile.am | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/lib/cryptolink/Makefile.am b/src/lib/cryptolink/Makefile.am new file mode 100644 index 0000000..8a7e72e --- /dev/null +++ b/src/lib/cryptolink/Makefile.am @@ -0,0 +1,52 @@ +SUBDIRS = . tests + +AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib +AM_CPPFLAGS += $(BOOST_INCLUDES) $(CRYPTO_CFLAGS) $(CRYPTO_INCLUDES) +AM_CXXFLAGS = $(KEA_CXXFLAGS) + +CLEANFILES = *.gcno *.gcda + +lib_LTLIBRARIES = libkea-cryptolink.la + +libkea_cryptolink_la_SOURCES = cryptolink.h cryptolink.cc +libkea_cryptolink_la_SOURCES += crypto_hash.h crypto_hash.cc +libkea_cryptolink_la_SOURCES += crypto_hmac.h crypto_hmac.cc +libkea_cryptolink_la_SOURCES += crypto_rng.h crypto_rng.cc +if HAVE_BOTAN +libkea_cryptolink_la_SOURCES += botan_link.cc +libkea_cryptolink_la_SOURCES += botan_common.h +libkea_cryptolink_la_SOURCES += botan_hash.cc +libkea_cryptolink_la_SOURCES += botan_hmac.cc +endif +if HAVE_OPENSSL +libkea_cryptolink_la_SOURCES += openssl_link.cc +libkea_cryptolink_la_SOURCES += openssl_common.h +libkea_cryptolink_la_SOURCES += openssl_hash.cc +libkea_cryptolink_la_SOURCES += openssl_compat.h +libkea_cryptolink_la_SOURCES += openssl_hmac.cc +endif + +libkea_cryptolink_la_LDFLAGS = $(CRYPTO_LDFLAGS) +libkea_cryptolink_la_LDFLAGS += -no-undefined -version-info 38:0:0 +libkea_cryptolink_la_LIBADD = $(top_builddir)/src/lib/exceptions/libkea-exceptions.la +libkea_cryptolink_la_LIBADD += $(CRYPTO_LIBS) + + +# Specify the headers for copying into the installation directory tree. +libkea_cryptolink_includedir = $(pkgincludedir)/cryptolink +libkea_cryptolink_include_HEADERS = \ + crypto_hash.h \ + crypto_hmac.h \ + crypto_rng.h \ + cryptolink.h + +if HAVE_BOTAN +libkea_cryptolink_include_HEADERS += \ + botan_common.h +endif + +if HAVE_OPENSSL +libkea_cryptolink_include_HEADERS += \ + openssl_common.h \ + openssl_compat.h +endif |