summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-04 20:26:20 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-19 07:06:32 +0900
commitb4d1892aacd64b091a9a3bdee7cfe7f743ac4ac1 (patch)
treedb1b1259ec07217b2bc7d88eb280250b326a121a /src
parent18b49798a6911754085acc10e0be55432a848893 (diff)
downloadsystemd-b4d1892aacd64b091a9a3bdee7cfe7f743ac4ac1.tar.gz
meson: move source file list for systemd-cryptsetup
Diffstat (limited to 'src')
-rw-r--r--src/cryptsetup/meson.build21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/cryptsetup/meson.build b/src/cryptsetup/meson.build
new file mode 100644
index 0000000000..26267fba51
--- /dev/null
+++ b/src/cryptsetup/meson.build
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemd_cryptsetup_sources = files(
+ 'cryptsetup-fido2.h',
+ 'cryptsetup-keyfile.c',
+ 'cryptsetup-keyfile.h',
+ 'cryptsetup-pkcs11.h',
+ 'cryptsetup-tpm2.h',
+ 'cryptsetup.c')
+
+if conf.get('HAVE_P11KIT') == 1
+ systemd_cryptsetup_sources += files('cryptsetup-pkcs11.c')
+endif
+
+if conf.get('HAVE_LIBFIDO2') == 1
+ systemd_cryptsetup_sources += files('cryptsetup-fido2.c')
+endif
+
+if conf.get('HAVE_TPM2') == 1
+ systemd_cryptsetup_sources += files('cryptsetup-tpm2.c')
+endif