summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-25 20:28:32 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-01 14:37:31 +0200
commit6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41 (patch)
tree4019e294d1d46c71d7c0050b10b14bcbf45bdfcd /src/tmpfiles/meson.build
parentmeson: move declarations of busctl, stdio-bridge, and run (diff)
downloadsystemd-6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41.tar.xz
systemd-6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41.zip
meson: move declarations of hwdb, sysusers, and tmpfiles
Diffstat (limited to '')
-rw-r--r--src/tmpfiles/meson.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/tmpfiles/meson.build b/src/tmpfiles/meson.build
index d0a1359501..892c09b168 100644
--- a/src/tmpfiles/meson.build
+++ b/src/tmpfiles/meson.build
@@ -5,6 +5,32 @@ systemd_tmpfiles_sources = files(
'offline-passwd.c',
)
+executables += [
+ executable_template + {
+ 'name' : 'systemd-tmpfiles',
+ 'public' : true,
+ 'conditions' : ['ENABLE_TMPFILES'],
+ 'sources' : systemd_tmpfiles_sources,
+ 'dependencies' : libacl,
+ },
+ executable_template + {
+ 'name' : 'systemd-tmpfiles.standalone',
+ 'public' : have_standalone_binaries,
+ 'conditions' : ['ENABLE_TMPFILES'],
+ 'sources' : systemd_tmpfiles_sources,
+ 'c_args' : '-DSTANDALONE',
+ 'link_with' : [
+ libbasic,
+ libbasic_gcrypt,
+ libshared_static,
+ libsystemd_static,
+ ],
+ 'dependencies' : libacl,
+ 'build_by_default' : have_standalone_binaries,
+ 'install' : have_standalone_binaries,
+ },
+]
+
tests += [
{
'sources' : files(