mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
meson: move declarations of busctl, stdio-bridge, and run
This commit is contained in:
parent
9f907d305f
commit
5c707c8cdb
29
meson.build
29
meson.build
@ -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',
|
||||
|
@ -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
9
src/run/meson.build
Normal 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'),
|
||||
},
|
||||
]
|
9
src/stdio-bridge/meson.build
Normal file
9
src/stdio-bridge/meson.build
Normal 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'),
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue
Block a user