]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/tmpfiles/meson.build
docs/RANDOM_SEEDS: update NetBSD link
[thirdparty/systemd.git] / src / tmpfiles / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 systemd_tmpfiles_sources = files(
4 'tmpfiles.c',
5 'offline-passwd.c',
6 )
7
8 executables += [
9 executable_template + {
10 'name' : 'systemd-tmpfiles',
11 'public' : true,
12 'conditions' : ['ENABLE_TMPFILES'],
13 'sources' : systemd_tmpfiles_sources,
14 'dependencies' : libacl,
15 },
16 executable_template + {
17 'name' : 'systemd-tmpfiles.standalone',
18 'public' : have_standalone_binaries,
19 'conditions' : ['ENABLE_TMPFILES'],
20 'sources' : systemd_tmpfiles_sources,
21 'c_args' : '-DSTANDALONE',
22 'link_with' : [
23 libbasic,
24 libbasic_gcrypt,
25 libshared_static,
26 libsystemd_static,
27 ],
28 'dependencies' : libacl,
29 'build_by_default' : have_standalone_binaries,
30 'install' : have_standalone_binaries,
31 },
32 test_template + {
33 'sources' : files(
34 'test-offline-passwd.c',
35 'offline-passwd.c',
36 ),
37 },
38 ]