summaryrefslogtreecommitdiffstats
path: root/src/sysupdate/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysupdate/meson.build')
-rw-r--r--src/sysupdate/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/sysupdate/meson.build b/src/sysupdate/meson.build
new file mode 100644
index 0000000..417b47a
--- /dev/null
+++ b/src/sysupdate/meson.build
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemd_sysupdate_sources = files(
+ 'sysupdate-cache.c',
+ 'sysupdate-instance.c',
+ 'sysupdate-partition.c',
+ 'sysupdate-pattern.c',
+ 'sysupdate-resource.c',
+ 'sysupdate-transfer.c',
+ 'sysupdate-update-set.c',
+ 'sysupdate.c',
+)
+
+executables += [
+ libexec_template + {
+ 'name' : 'systemd-sysupdate',
+ 'public' : true,
+ 'conditions' : ['ENABLE_SYSUPDATE'],
+ 'sources' : systemd_sysupdate_sources,
+ 'link_with' : [
+ libshared,
+ libshared_fdisk,
+ ],
+ 'dependencies' : [
+ libblkid,
+ libfdisk,
+ libopenssl,
+ threads,
+ ],
+ },
+]