Debian Codegraph @

src/cryptsetup/meson.build

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 if conf.get('HAVE_LIBCRYPTSETUP') != 1 or conf.get('HAVE_LIBMOUNT') != 1
4 subdir_done()
5 endif
6
7 subdir('cryptsetup-tokens')
8
9 systemd_cryptsetup_sources = files(
10 'cryptsetup.c',
11 'cryptsetup-keyfile.c',
12 'cryptsetup-pkcs11.c',
13 )
14
15 executables += [
16 executable_template + {
17 'name' : 'systemd-cryptsetup',
18 'public' : true,
19 'sources' : systemd_cryptsetup_sources,
20 'dependencies' : [
21 libcryptsetup_cflags,
22 libfido2_cflags,
23 libmount_cflags,
24 libopenssl_cflags,
25 libp11kit_cflags,
26 ],
27 },
28 generator_template + {
29 'name' : 'systemd-cryptsetup-generator',
30 'sources' : files('cryptsetup-generator.c'),
31 },
32 ]
33
34 # symlink for backwards compatibility after rename
35 install_symlink('systemd-cryptsetup',
36 pointing_to : libexecdir_to_bin / 'systemd-cryptsetup',
37 install_dir : libexecdir)