2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00
kea/src/lib/cryptolink/meson.build

37 lines
799 B
Meson
Raw Normal View History

sources = []
if crypto == botan
sources += [
'botan_common.h',
'botan_hash.cc',
'botan_hmac.cc',
'botan_link.cc',
]
elif crypto == openssl
sources += [
'openssl_common.h',
'openssl_hash.cc',
'openssl_hmac.cc',
'openssl_link.cc',
]
endif
kea_cryptolink_lib = library(
'kea-cryptolink',
'cryptolink.cc',
'cryptolink.h',
'crypto_hash.cc',
'crypto_hash.h',
'crypto_hmac.cc',
'crypto_hmac.h',
'crypto_rng.cc',
'crypto_rng.h',
sources,
dependencies: [crypto],
include_directories: [include_directories('.')] + INCLUDES,
install: true,
install_dir: 'lib',
link_with: LIBS_BUILT_SO_FAR,
2024-12-19 13:27:16 +02:00
)
LIBS_BUILT_SO_FAR = [kea_cryptolink_lib] + LIBS_BUILT_SO_FAR
2024-12-19 13:27:16 +02:00
subdir('tests')