mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
meson: move declarations of userdbd and friends
This commit is contained in:
parent
8c75dfdd40
commit
250e597fe7
34
meson.build
34
meson.build
|
@ -2570,40 +2570,6 @@ if conf.get('HAVE_BLKID') == 1 and conf.get('ENABLE_BOOTLOADER') == 1
|
|||
endif
|
||||
endif
|
||||
|
||||
if conf.get('ENABLE_USERDB') == 1
|
||||
executable(
|
||||
'systemd-userwork',
|
||||
systemd_userwork_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : [threads,
|
||||
userspace],
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : libexecdir)
|
||||
|
||||
executable(
|
||||
'systemd-userdbd',
|
||||
systemd_userdbd_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : [threads,
|
||||
userspace],
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : libexecdir)
|
||||
|
||||
public_programs += executable(
|
||||
'userdbctl',
|
||||
userdbctl_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : [threads,
|
||||
userspace],
|
||||
install_rpath : pkglibdir,
|
||||
install : true)
|
||||
endif
|
||||
|
||||
if conf.get('ENABLE_HOMED') == 1
|
||||
executable(
|
||||
'systemd-homework',
|
||||
|
|
|
@ -1,10 +1,25 @@
|
|||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
systemd_userwork_sources = files('userwork.c')
|
||||
|
||||
systemd_userdbd_sources = files(
|
||||
'userdbd-manager.c',
|
||||
'userdbd.c',
|
||||
)
|
||||
|
||||
userdbctl_sources = files('userdbctl.c')
|
||||
executables += [
|
||||
libexec_template + {
|
||||
'name' : 'systemd-userwork',
|
||||
'conditions' : ['ENABLE_USERDB'],
|
||||
'sources' : files('userwork.c'),
|
||||
'dependencies' : threads,
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-userdbd',
|
||||
'conditions' : ['ENABLE_USERDB'],
|
||||
'sources' : files(
|
||||
'userdbd-manager.c',
|
||||
'userdbd.c',
|
||||
),
|
||||
'dependencies' : threads,
|
||||
},
|
||||
executable_template + {
|
||||
'name' : 'userdbctl',
|
||||
'conditions' : ['ENABLE_USERDB'],
|
||||
'sources' : files('userdbctl.c'),
|
||||
'dependencies' : threads,
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue