meson: move declarations of busctl, stdio-bridge, and run

This commit is contained in:
Yu Watanabe 2023-06-26 03:23:59 +09:00
parent 9f907d305f
commit 5c707c8cdb
4 changed files with 28 additions and 27 deletions

View File

@ -2430,10 +2430,12 @@ subdir('src/reply-password')
subdir('src/resolve')
subdir('src/rfkill')
subdir('src/rpm')
subdir('src/run')
subdir('src/run-generator')
subdir('src/shutdown')
subdir('src/sleep')
subdir('src/socket-activate')
subdir('src/stdio-bridge')
subdir('src/sysctl')
subdir('src/sysext')
subdir('src/system-update-generator')
@ -2618,33 +2620,6 @@ if want_tests != 'false'
systemd_id128.full_path()])
endif
public_programs += executable(
'systemd-run',
'src/run/run.c',
include_directories : includes,
link_with : [libshared],
dependencies : [userspace],
install_rpath : pkglibdir,
install : true)
public_programs += executable(
'systemd-stdio-bridge',
'src/stdio-bridge/stdio-bridge.c',
include_directories : includes,
link_with : [libshared],
dependencies : [userspace],
install_rpath : pkglibdir,
install : true)
public_programs += executable(
'busctl',
busctl_sources,
include_directories : includes,
link_with : [libshared],
dependencies : [userspace],
install_rpath : pkglibdir,
install : true)
if enable_sysusers
exe = executable(
'systemd-sysusers',

View File

@ -5,6 +5,14 @@ busctl_sources = files(
'busctl.c',
)
executables += [
executable_template + {
'name' : 'busctl',
'public' : true,
'sources' : busctl_sources,
},
]
tests += [
{
'sources' : files(

9
src/run/meson.build Normal file
View File

@ -0,0 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
executables += [
executable_template + {
'name' : 'systemd-run',
'public' : true,
'sources' : files('run.c'),
},
]

View File

@ -0,0 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
executables += [
executable_template + {
'name' : 'systemd-stdio-bridge',
'public' : true,
'sources' : files('stdio-bridge.c'),
},
]