1 moduledir = $(libdir)/cryptsetup
3 noinst_LTLIBRARIES = libcrypto_backend.la
5 libcrypto_backend_la_CFLAGS = $(AM_CFLAGS) -Wall @CRYPTO_CFLAGS@
7 libcrypto_backend_la_SOURCES = crypto_backend.h \
8 crypto_cipher_kernel.c crypto_storage.c pbkdf_check.c crc32.c
10 if CRYPTO_BACKEND_GCRYPT
11 libcrypto_backend_la_SOURCES += crypto_gcrypt.c
13 if CRYPTO_BACKEND_OPENSSL
14 libcrypto_backend_la_SOURCES += crypto_openssl.c
17 libcrypto_backend_la_SOURCES += crypto_nss.c
19 if CRYPTO_BACKEND_KERNEL
20 libcrypto_backend_la_SOURCES += crypto_kernel.c
22 if CRYPTO_BACKEND_NETTLE
23 libcrypto_backend_la_SOURCES += crypto_nettle.c
26 if CRYPTO_INTERNAL_PBKDF2
27 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
30 AM_CPPFLAGS = -include config.h -I$(top_srcdir)/lib