summaryrefslogtreecommitdiffstats
path: root/src/hibernate-resume/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-25 08:31:38 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-31 19:31:36 +0200
commit7409342236bc9fad7babe95b8f0a2017c54b2774 (patch)
treeada76b30cca0806b2426dd63021c3eef967914bd /src/hibernate-resume/meson.build
parentmeson: move declarations of several generators (diff)
downloadsystemd-7409342236bc9fad7babe95b8f0a2017c54b2774.tar.xz
systemd-7409342236bc9fad7babe95b8f0a2017c54b2774.zip
meson: move declarations of hibernate-resume
Diffstat (limited to '')
-rw-r--r--src/hibernate-resume/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/hibernate-resume/meson.build b/src/hibernate-resume/meson.build
new file mode 100644
index 0000000000..b14ea356c5
--- /dev/null
+++ b/src/hibernate-resume/meson.build
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+executables += [
+ generator_template + {
+ 'name' : 'systemd-hibernate-resume-generator',
+ 'conditions' : ['ENABLE_HIBERNATE'],
+ 'sources' : files('hibernate-resume-generator.c'),
+ },
+ libexec_template + {
+ 'name' : 'systemd-hibernate-resume',
+ 'conditions' : ['ENABLE_HIBERNATE'],
+ 'sources' : files('hibernate-resume.c'),
+ },
+]