Imported Upstream version 1.6.7
[platform/upstream/cryptsetup.git] / lib / crypto_backend / Makefile.am
1 moduledir = $(libdir)/cryptsetup
2
3 noinst_LTLIBRARIES = libcrypto_backend.la
4
5 libcrypto_backend_la_CFLAGS = $(AM_CFLAGS) -Wall @CRYPTO_CFLAGS@
6
7 libcrypto_backend_la_SOURCES = crypto_backend.h \
8         crypto_cipher_kernel.c crypto_storage.c pbkdf_check.c crc32.c
9
10 if CRYPTO_BACKEND_GCRYPT
11 libcrypto_backend_la_SOURCES += crypto_gcrypt.c
12 endif
13 if CRYPTO_BACKEND_OPENSSL
14 libcrypto_backend_la_SOURCES += crypto_openssl.c
15 endif
16 if CRYPTO_BACKEND_NSS
17 libcrypto_backend_la_SOURCES += crypto_nss.c
18 endif
19 if CRYPTO_BACKEND_KERNEL
20 libcrypto_backend_la_SOURCES += crypto_kernel.c
21 endif
22 if CRYPTO_BACKEND_NETTLE
23 libcrypto_backend_la_SOURCES += crypto_nettle.c
24 endif
25
26 if CRYPTO_INTERNAL_PBKDF2
27 libcrypto_backend_la_SOURCES += pbkdf2_generic.c
28 endif
29
30 AM_CPPFLAGS = -include config.h -I$(top_srcdir)/lib