summaryrefslogtreecommitdiffstats
path: root/src/xdg-autostart-generator/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdg-autostart-generator/meson.build')
-rw-r--r--src/xdg-autostart-generator/meson.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/xdg-autostart-generator/meson.build b/src/xdg-autostart-generator/meson.build
new file mode 100644
index 0000000..c938932
--- /dev/null
+++ b/src/xdg-autostart-generator/meson.build
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemd_xdg_autostart_generator_sources = files(
+ 'xdg-autostart-generator.c',
+ 'xdg-autostart-service.c',
+)
+
+executables += [
+ executable_template + {
+ 'name' : 'systemd-xdg-autostart-generator',
+ 'conditions' : ['ENABLE_XDG_AUTOSTART'],
+ 'sources' : systemd_xdg_autostart_generator_sources,
+ 'install_dir' : usergeneratordir,
+ },
+ libexec_template + {
+ 'name' : 'systemd-xdg-autostart-condition',
+ 'conditions' : ['ENABLE_XDG_AUTOSTART'],
+ 'sources' : files('xdg-autostart-condition.c'),
+ },
+ test_template + {
+ 'sources' : files(
+ 'test-xdg-autostart.c',
+ 'xdg-autostart-service.c',
+ ),
+ },
+ fuzz_template + {
+ 'sources' : files(
+ 'fuzz-xdg-desktop.c',
+ 'xdg-autostart-service.c',
+ ),
+ },
+]