summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup/meson.build
blob: 26267fba510a3821178a9d5dedcdcba90d43bd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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