Add Nettle crypto backend support.
[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 = -Wall @CRYPTO_CFLAGS@
6
7 libcrypto_backend_la_SOURCES = crypto_backend.h
8
9 if CRYPTO_BACKEND_GCRYPT
10 libcrypto_backend_la_SOURCES += crypto_gcrypt.c
11 endif
12 if CRYPTO_BACKEND_OPENSSL
13 libcrypto_backend_la_SOURCES += crypto_openssl.c
14 endif
15 if CRYPTO_BACKEND_NSS
16 libcrypto_backend_la_SOURCES += crypto_nss.c
17 endif
18 if CRYPTO_BACKEND_KERNEL
19 libcrypto_backend_la_SOURCES += crypto_kernel.c
20 endif
21 if CRYPTO_BACKEND_NETTLE
22 libcrypto_backend_la_SOURCES += crypto_nettle.c
23 endif
24
25 INCLUDES = -D_GNU_SOURCE -I$(top_srcdir)/lib