summaryrefslogtreecommitdiffstats
path: root/src/cryptenroll/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-04 12:29:01 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-18 23:06:32 +0100
commit2ad279cfa4e784858b48a2896ed646689d027b27 (patch)
treeb3934063c3453d1b7198dbe2b9f95bdcdb55bb7b /src/cryptenroll/meson.build
parentmeson: move source file list for systemd-cryptsetup (diff)
downloadsystemd-2ad279cfa4e784858b48a2896ed646689d027b27.tar.xz
systemd-2ad279cfa4e784858b48a2896ed646689d027b27.zip
meson: move source file list for systemd-cryptenroll
Diffstat (limited to '')
-rw-r--r--src/cryptenroll/meson.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/cryptenroll/meson.build b/src/cryptenroll/meson.build
new file mode 100644
index 0000000000..0a795934e2
--- /dev/null
+++ b/src/cryptenroll/meson.build
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemd_cryptenroll_sources = files(
+ 'cryptenroll-fido2.h',
+ 'cryptenroll-list.c',
+ 'cryptenroll-list.h',
+ 'cryptenroll-password.c',
+ 'cryptenroll-password.h',
+ 'cryptenroll-pkcs11.h',
+ 'cryptenroll-recovery.c',
+ 'cryptenroll-recovery.h',
+ 'cryptenroll-tpm2.h',
+ 'cryptenroll-wipe.c',
+ 'cryptenroll-wipe.h',
+ 'cryptenroll.c',
+ 'cryptenroll.h')
+
+if conf.get('HAVE_P11KIT') == 1 and conf.get('HAVE_OPENSSL') == 1
+ systemd_cryptenroll_sources += files('cryptenroll-pkcs11.c')
+endif
+
+if conf.get('HAVE_LIBFIDO2') == 1
+ systemd_cryptenroll_sources += files('cryptenroll-fido2.c')
+endif
+
+if conf.get('HAVE_TPM2') == 1
+ systemd_cryptenroll_sources += files('cryptenroll-tpm2.c')
+endif