summaryrefslogtreecommitdiffstats
path: root/src/systemctl/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-04 12:12:28 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-18 23:06:29 +0100
commitc35125732f0b845f256d6b48fd2577c6fe8c0b0c (patch)
tree994088fbfb86a13db1a4e4182a86d863ce14986d /src/systemctl/meson.build
parentmeson: introduce libtimesyncd_core library (diff)
downloadsystemd-c35125732f0b845f256d6b48fd2577c6fe8c0b0c.tar.xz
systemd-c35125732f0b845f256d6b48fd2577c6fe8c0b0c.zip
meson: move definition of systemctl source files
Diffstat (limited to 'src/systemctl/meson.build')
-rw-r--r--src/systemctl/meson.build83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/systemctl/meson.build b/src/systemctl/meson.build
new file mode 100644
index 0000000000..a6e254a14f
--- /dev/null
+++ b/src/systemctl/meson.build
@@ -0,0 +1,83 @@
+# 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