mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
meson: move source file list for systemd-cryptsetup
This commit is contained in:
parent
18b49798a6
commit
b4d1892aac
22
meson.build
22
meson.build
|
@ -1714,6 +1714,7 @@ subdir('src/udev')
|
||||||
subdir('src/network')
|
subdir('src/network')
|
||||||
|
|
||||||
subdir('src/analyze')
|
subdir('src/analyze')
|
||||||
|
subdir('src/cryptsetup')
|
||||||
subdir('src/journal-remote')
|
subdir('src/journal-remote')
|
||||||
subdir('src/coredump')
|
subdir('src/coredump')
|
||||||
subdir('src/pstore')
|
subdir('src/pstore')
|
||||||
|
@ -2321,27 +2322,6 @@ executable(
|
||||||
install_dir : systemgeneratordir)
|
install_dir : systemgeneratordir)
|
||||||
|
|
||||||
if conf.get('HAVE_LIBCRYPTSETUP') == 1
|
if conf.get('HAVE_LIBCRYPTSETUP') == 1
|
||||||
systemd_cryptsetup_sources = files('''
|
|
||||||
src/cryptsetup/cryptsetup-fido2.h
|
|
||||||
src/cryptsetup/cryptsetup-keyfile.c
|
|
||||||
src/cryptsetup/cryptsetup-keyfile.h
|
|
||||||
src/cryptsetup/cryptsetup-pkcs11.h
|
|
||||||
src/cryptsetup/cryptsetup-tpm2.h
|
|
||||||
src/cryptsetup/cryptsetup.c
|
|
||||||
'''.split())
|
|
||||||
|
|
||||||
if conf.get('HAVE_P11KIT') == 1
|
|
||||||
systemd_cryptsetup_sources += files('src/cryptsetup/cryptsetup-pkcs11.c')
|
|
||||||
endif
|
|
||||||
|
|
||||||
if conf.get('HAVE_LIBFIDO2') == 1
|
|
||||||
systemd_cryptsetup_sources += files('src/cryptsetup/cryptsetup-fido2.c')
|
|
||||||
endif
|
|
||||||
|
|
||||||
if conf.get('HAVE_TPM2') == 1
|
|
||||||
systemd_cryptsetup_sources += files('src/cryptsetup/cryptsetup-tpm2.c')
|
|
||||||
endif
|
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'systemd-cryptsetup',
|
'systemd-cryptsetup',
|
||||||
systemd_cryptsetup_sources,
|
systemd_cryptsetup_sources,
|
||||||
|
|
21
src/cryptsetup/meson.build
Normal file
21
src/cryptsetup/meson.build
Normal file
|
@ -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
|
Loading…
Reference in a new issue