1 pkgconfigdir = $(libdir)/pkgconfig
2 pkgconfig_DATA = lib/libcryptsetup.pc
4 lib_LTLIBRARIES = libcryptsetup.la
6 noinst_LTLIBRARIES += libutils_io.la
8 include_HEADERS = lib/libcryptsetup.h
10 EXTRA_DIST += lib/libcryptsetup.pc.in lib/libcryptsetup.sym
12 libutils_io_la_CFLAGS = $(AM_CFLAGS)
14 libutils_io_la_SOURCES = \
18 libcryptsetup_la_CPPFLAGS = $(AM_CPPFLAGS) \
19 -I $(top_srcdir)/lib/crypto_backend \
20 -I $(top_srcdir)/lib/luks1 \
21 -I $(top_srcdir)/lib/luks2 \
22 -I $(top_srcdir)/lib/loopaes \
23 -I $(top_srcdir)/lib/verity \
24 -I $(top_srcdir)/lib/tcrypt \
25 -I $(top_srcdir)/lib/integrity \
26 -I $(top_srcdir)/lib/bitlk
28 libcryptsetup_la_DEPENDENCIES = libutils_io.la libcrypto_backend.la lib/libcryptsetup.sym
30 libcryptsetup_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
31 -Wl,--version-script=$(top_srcdir)/lib/libcryptsetup.sym \
32 -version-info @LIBCRYPTSETUP_VERSION_INFO@
34 libcryptsetup_la_CFLAGS = $(AM_CFLAGS) @CRYPTO_CFLAGS@
36 libcryptsetup_la_LIBADD = \
44 libcrypto_backend.la \
47 libcryptsetup_la_SOURCES = \
54 lib/utils_benchmark.c \
66 lib/utils_device_locking.c \
67 lib/utils_device_locking.h \
69 lib/utils_safe_memory.c \
70 lib/utils_storage_wrappers.c \
71 lib/utils_storage_wrappers.h \
79 lib/integrity/integrity.h \
80 lib/integrity/integrity.c \
81 lib/loopaes/loopaes.h \
82 lib/loopaes/loopaes.c \
87 lib/luks1/keyencryption.c \
88 lib/luks1/keymanage.c \
90 lib/verity/verity_hash.c \
91 lib/verity/verity_fec.c \
94 lib/verity/rs_encode_char.c \
95 lib/verity/rs_decode_char.c \
97 lib/luks2/luks2_disk_metadata.c \
98 lib/luks2/luks2_json_format.c \
99 lib/luks2/luks2_json_metadata.c \
100 lib/luks2/luks2_luks1_convert.c \
101 lib/luks2/luks2_digest.c \
102 lib/luks2/luks2_digest_pbkdf2.c \
103 lib/luks2/luks2_keyslot.c \
104 lib/luks2/luks2_keyslot_luks2.c \
105 lib/luks2/luks2_keyslot_reenc.c \
106 lib/luks2/luks2_reencrypt.c \
107 lib/luks2/luks2_reencrypt_digest.c \
108 lib/luks2/luks2_segment.c \
109 lib/luks2/luks2_token_keyring.c \
110 lib/luks2/luks2_token.c \
111 lib/luks2/luks2_internal.h \