| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
if conf.get('HAVE_LIBCRYPTSETUP') != 1 |
| 4 |
subdir_done() |
| 5 |
endif |
| 6 |
|
| 7 |
systemd_cryptenroll_sources = files( |
| 8 |
'cryptenroll.c', |
| 9 |
'cryptenroll-fido2.c', |
| 10 |
'cryptenroll-list.c', |
| 11 |
'cryptenroll-password.c', |
| 12 |
'cryptenroll-pkcs11.c', |
| 13 |
'cryptenroll-recovery.c', |
| 14 |
'cryptenroll-tpm2.c', |
| 15 |
'cryptenroll-wipe.c', |
| 16 |
) |
| 17 |
|
| 18 |
executables += [ |
| 19 |
executable_template + { |
| 20 |
'name' : 'systemd-cryptenroll', |
| 21 |
'public' : true, |
| 22 |
'sources' : systemd_cryptenroll_sources, |
| 23 |
'dependencies' : [ |
| 24 |
libcryptsetup_cflags, |
| 25 |
libfido2_cflags, |
| 26 |
libopenssl_cflags, |
| 27 |
libp11kit_cflags, |
| 28 |
], |
| 29 |
}, |
| 30 |
] |