summaryrefslogtreecommitdiffstats
path: root/src/systemctl/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /src/systemctl/meson.build
parentInitial commit. (diff)
downloadsystemd-b750101eb236130cf056c675997decbac904cc49.tar.xz
systemd-b750101eb236130cf056c675997decbac904cc49.zip
Adding upstream version 252.22.upstream/252.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/systemctl/meson.build90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/systemctl/meson.build b/src/systemctl/meson.build
new file mode 100644
index 0000000..f0d405b
--- /dev/null
+++ b/src/systemctl/meson.build
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemctl_sources = files(
+ 'systemctl-add-dependency.c',
+ 'systemctl-add-dependency.h',
+ 'systemctl-cancel-job.c',
+ 'systemctl-cancel-job.h',
+ 'systemctl-clean-or-freeze.c',
+ 'systemctl-clean-or-freeze.h',
+ 'systemctl-compat-halt.c',
+ 'systemctl-compat-halt.h',
+ 'systemctl-compat-runlevel.c',
+ 'systemctl-compat-runlevel.h',
+ 'systemctl-compat-shutdown.c',
+ 'systemctl-compat-shutdown.h',
+ 'systemctl-compat-telinit.c',
+ 'systemctl-compat-telinit.h',
+ 'systemctl-daemon-reload.c',
+ 'systemctl-daemon-reload.h',
+ 'systemctl-edit.c',
+ 'systemctl-edit.h',
+ 'systemctl-enable.c',
+ 'systemctl-enable.h',
+ 'systemctl-is-active.c',
+ 'systemctl-is-active.h',
+ 'systemctl-is-enabled.c',
+ 'systemctl-is-enabled.h',
+ 'systemctl-is-system-running.c',
+ 'systemctl-is-system-running.h',
+ 'systemctl-kill.c',
+ 'systemctl-kill.h',
+ 'systemctl-list-dependencies.c',
+ 'systemctl-list-dependencies.h',
+ 'systemctl-list-jobs.c',
+ 'systemctl-list-jobs.h',
+ 'systemctl-list-machines.c',
+ 'systemctl-list-machines.h',
+ 'systemctl-list-unit-files.c',
+ 'systemctl-list-unit-files.h',
+ 'systemctl-list-units.c',
+ 'systemctl-list-units.h',
+ 'systemctl-log-setting.c',
+ 'systemctl-log-setting.h',
+ 'systemctl-logind.c',
+ 'systemctl-logind.h',
+ 'systemctl-mount.c',
+ 'systemctl-mount.h',
+ 'systemctl-preset-all.c',
+ 'systemctl-preset-all.h',
+ 'systemctl-reset-failed.c',
+ 'systemctl-reset-failed.h',
+ 'systemctl-service-watchdogs.c',
+ 'systemctl-service-watchdogs.h',
+ 'systemctl-set-default.c',
+ 'systemctl-set-default.h',
+ 'systemctl-set-environment.c',
+ 'systemctl-set-environment.h',
+ 'systemctl-set-property.c',
+ 'systemctl-set-property.h',
+ 'systemctl-show.c',
+ 'systemctl-show.h',
+ 'systemctl-start-special.c',
+ 'systemctl-start-special.h',
+ 'systemctl-start-unit.c',
+ 'systemctl-start-unit.h',
+ 'systemctl-switch-root.c',
+ 'systemctl-switch-root.h',
+ 'systemctl-sysv-compat.c',
+ 'systemctl-sysv-compat.h',
+ 'systemctl-trivial-method.c',
+ 'systemctl-trivial-method.h',
+ 'systemctl-util.c',
+ 'systemctl-util.h',
+ 'systemctl.c',
+ 'systemctl.h')
+
+if get_option('link-systemctl-shared')
+ systemctl_link_with = [libshared]
+else
+ systemctl_link_with = [libsystemd_static,
+ libshared_static,
+ libbasic_gcrypt]
+endif
+
+fuzzers += [
+ [files('fuzz-systemctl-parse-argv.c') +
+ systemctl_sources,
+ systemctl_link_with,
+ [], [], ['-DFUZZ_SYSTEMCTL_PARSE_ARGV']]
+]