summaryrefslogtreecommitdiffstats
path: root/lib/Makemodule.am
blob: 69159faa1699a0bab024d3a417704b8d11032460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lib/libcryptsetup.pc

lib_LTLIBRARIES = libcryptsetup.la

noinst_LTLIBRARIES += libutils_io.la

include_HEADERS = lib/libcryptsetup.h

EXTRA_DIST += lib/libcryptsetup.pc.in lib/libcryptsetup.sym

libutils_io_la_CFLAGS = $(AM_CFLAGS)

libutils_io_la_SOURCES = \
	lib/utils_io.c			\
	lib/utils_io.h

libcryptsetup_la_CPPFLAGS = $(AM_CPPFLAGS) \
	-I $(top_srcdir)/lib/crypto_backend	\
	-I $(top_srcdir)/lib/luks1		\
	-I $(top_srcdir)/lib/luks2		\
	-I $(top_srcdir)/lib/loopaes		\
	-I $(top_srcdir)/lib/verity		\
	-I $(top_srcdir)/lib/tcrypt		\
	-I $(top_srcdir)/lib/integrity		\
	-I $(top_srcdir)/lib/bitlk

libcryptsetup_la_DEPENDENCIES = libutils_io.la libcrypto_backend.la lib/libcryptsetup.sym

libcryptsetup_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
	-Wl,--version-script=$(top_srcdir)/lib/libcryptsetup.sym \
	-version-info @LIBCRYPTSETUP_VERSION_INFO@

libcryptsetup_la_CFLAGS = $(AM_CFLAGS) @CRYPTO_CFLAGS@

libcryptsetup_la_LIBADD = \
	@UUID_LIBS@		\
	@DEVMAPPER_LIBS@	\
	@CRYPTO_LIBS@		\
	@LIBARGON2_LIBS@	\
	@JSON_C_LIBS@		\
	@BLKID_LIBS@		\
	$(LTLIBICONV)		\
	libcrypto_backend.la	\
	libutils_io.la

libcryptsetup_la_SOURCES = \
	lib/setup.c			\
	lib/internal.h			\
	lib/bitops.h			\
	lib/nls.h			\
	lib/libcryptsetup.h		\
	lib/utils.c			\
	lib/utils_benchmark.c		\
	lib/utils_crypt.c		\
	lib/utils_crypt.h		\
	lib/utils_loop.c		\
	lib/utils_loop.h		\
	lib/utils_devpath.c		\
	lib/utils_wipe.c		\
	lib/utils_fips.c		\
	lib/utils_fips.h		\
	lib/utils_device.c		\
	lib/utils_keyring.c		\
	lib/utils_keyring.h		\
	lib/utils_device_locking.c	\
	lib/utils_device_locking.h	\
	lib/utils_pbkdf.c		\
	lib/utils_safe_memory.c		\
	lib/utils_storage_wrappers.c	\
	lib/utils_storage_wrappers.h	\
	lib/libdevmapper.c		\
	lib/utils_dm.h			\
	lib/volumekey.c			\
	lib/random.c			\
	lib/crypt_plain.c		\
	lib/base64.h			\
	lib/base64.c			\
	lib/integrity/integrity.h	\
	lib/integrity/integrity.c	\
	lib/loopaes/loopaes.h		\
	lib/loopaes/loopaes.c		\
	lib/tcrypt/tcrypt.h		\
	lib/tcrypt/tcrypt.c		\
	lib/luks1/af.h			\
	lib/luks1/af.c			\
	lib/luks1/keyencryption.c	\
	lib/luks1/keymanage.c		\
	lib/luks1/luks.h		\
	lib/verity/verity_hash.c	\
	lib/verity/verity_fec.c		\
	lib/verity/verity.c		\
	lib/verity/verity.h		\
	lib/verity/rs_encode_char.c	\
	lib/verity/rs_decode_char.c	\
	lib/verity/rs.h		\
	lib/luks2/luks2_disk_metadata.c	\
	lib/luks2/luks2_json_format.c	\
	lib/luks2/luks2_json_metadata.c	\
	lib/luks2/luks2_luks1_convert.c	\
	lib/luks2/luks2_digest.c	\
	lib/luks2/luks2_digest_pbkdf2.c	\
	lib/luks2/luks2_keyslot.c	\
	lib/luks2/luks2_keyslot_luks2.c	\
	lib/luks2/luks2_keyslot_reenc.c	\
	lib/luks2/luks2_reencrypt.c	\
	lib/luks2/luks2_reencrypt_digest.c	\
	lib/luks2/luks2_segment.c	\
	lib/luks2/luks2_token_keyring.c	\
	lib/luks2/luks2_token.c		\
	lib/luks2/luks2_internal.h	\
	lib/luks2/luks2.h		\
	lib/utils_blkid.c		\
	lib/utils_blkid.h		\
	lib/bitlk/bitlk.h		\
	lib/bitlk/bitlk.c