1 moduledir = $(libdir)/cryptsetup
3 noinst_LTLIBRARIES = libcrypto_backend.la
5 libcrypto_backend_la_CFLAGS = -Wall @CRYPTO_CFLAGS@
7 libcrypto_backend_la_SOURCES = crypto_backend.h pbkdf_check.c crc32.c
9 if CRYPTO_BACKEND_GCRYPT
10 libcrypto_backend_la_SOURCES += crypto_gcrypt.c
11 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
13 if CRYPTO_BACKEND_OPENSSL
14 libcrypto_backend_la_SOURCES += crypto_openssl.c
17 libcrypto_backend_la_SOURCES += crypto_nss.c
18 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
20 if CRYPTO_BACKEND_KERNEL
21 libcrypto_backend_la_SOURCES += crypto_kernel.c
22 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
24 if CRYPTO_BACKEND_NETTLE
25 libcrypto_backend_la_SOURCES += crypto_nettle.c
26 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
29 INCLUDES = -D_GNU_SOURCE -I$(top_srcdir)/lib