mirror of
https://github.com/systemd/systemd.git
synced 2025-06-11 23:17:08 +03:00
meson: move declarations of journald and friends
This commit is contained in:
parent
f727f3b963
commit
dd1f738e40
49
meson.build
49
meson.build
@ -2540,55 +2540,6 @@ if want_tests != 'false'
|
|||||||
args : exe.full_path())
|
args : exe.full_path())
|
||||||
endif
|
endif
|
||||||
|
|
||||||
executable(
|
|
||||||
'systemd-journald',
|
|
||||||
systemd_journald_sources,
|
|
||||||
include_directories : includes,
|
|
||||||
link_with : [libjournal_core,
|
|
||||||
libshared],
|
|
||||||
dependencies : [liblz4,
|
|
||||||
libselinux,
|
|
||||||
libxz,
|
|
||||||
libzstd,
|
|
||||||
threads,
|
|
||||||
userspace],
|
|
||||||
install_rpath : pkglibdir,
|
|
||||||
install : true,
|
|
||||||
install_dir : libexecdir)
|
|
||||||
|
|
||||||
public_programs += executable(
|
|
||||||
'systemd-cat',
|
|
||||||
systemd_cat_sources,
|
|
||||||
include_directories : includes,
|
|
||||||
link_with : [libjournal_core,
|
|
||||||
libshared],
|
|
||||||
dependencies : [threads,
|
|
||||||
userspace],
|
|
||||||
install_rpath : pkglibdir,
|
|
||||||
install : true)
|
|
||||||
|
|
||||||
if get_option('link-journalctl-shared')
|
|
||||||
journalctl_link_with = [libshared]
|
|
||||||
else
|
|
||||||
journalctl_link_with = [libsystemd_static,
|
|
||||||
libshared_static,
|
|
||||||
libbasic_gcrypt]
|
|
||||||
endif
|
|
||||||
|
|
||||||
public_programs += executable(
|
|
||||||
'journalctl',
|
|
||||||
journalctl_sources,
|
|
||||||
include_directories : includes,
|
|
||||||
link_with : [journalctl_link_with],
|
|
||||||
dependencies : [libdl,
|
|
||||||
liblz4,
|
|
||||||
libxz,
|
|
||||||
libzstd,
|
|
||||||
threads,
|
|
||||||
userspace],
|
|
||||||
install_rpath : pkglibdir,
|
|
||||||
install : true)
|
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'systemd-getty-generator',
|
'systemd-getty-generator',
|
||||||
'src/getty-generator/getty-generator.c',
|
'src/getty-generator/getty-generator.c',
|
||||||
|
@ -31,13 +31,56 @@ libjournal_core = static_library(
|
|||||||
|
|
||||||
journal_includes = [includes, include_directories('.')]
|
journal_includes = [includes, include_directories('.')]
|
||||||
|
|
||||||
systemd_journald_sources = files(
|
if get_option('link-journalctl-shared')
|
||||||
'journald.c',
|
journalctl_link_with = [libshared]
|
||||||
)
|
else
|
||||||
|
journalctl_link_with = [
|
||||||
|
libbasic_gcrypt,
|
||||||
|
libshared_static,
|
||||||
|
libsystemd_static,
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
systemd_cat_sources = files('cat.c')
|
executables += [
|
||||||
|
libexec_template + {
|
||||||
journalctl_sources = files('journalctl.c')
|
'name' : 'systemd-journald',
|
||||||
|
'sources' : files('journald.c'),
|
||||||
|
'link_with' : [
|
||||||
|
libjournal_core,
|
||||||
|
libshared,
|
||||||
|
],
|
||||||
|
'dependencies' : [
|
||||||
|
liblz4,
|
||||||
|
libselinux,
|
||||||
|
libxz,
|
||||||
|
libzstd,
|
||||||
|
threads,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
executable_template + {
|
||||||
|
'name' : 'systemd-cat',
|
||||||
|
'public' : true,
|
||||||
|
'sources' : files('cat.c'),
|
||||||
|
'link_with' : [
|
||||||
|
libjournal_core,
|
||||||
|
libshared,
|
||||||
|
],
|
||||||
|
'dependencies' : threads,
|
||||||
|
},
|
||||||
|
executable_template + {
|
||||||
|
'name' : 'journalctl',
|
||||||
|
'public' : true,
|
||||||
|
'sources' : files('journalctl.c'),
|
||||||
|
'link_with' : journalctl_link_with,
|
||||||
|
'dependencies' : [
|
||||||
|
libdl,
|
||||||
|
liblz4,
|
||||||
|
libxz,
|
||||||
|
libzstd,
|
||||||
|
threads,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
if install_sysconfdir_samples
|
if install_sysconfdir_samples
|
||||||
install_data('journald.conf',
|
install_data('journald.conf',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user