mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
meson: move libjournal_core definition to src/journal/meson.build
This commit is contained in:
parent
3976f372ae
commit
529642936b
@ -1650,13 +1650,6 @@ subdir('src/shared')
|
||||
subdir('src/udev')
|
||||
subdir('src/libudev')
|
||||
|
||||
libjournal_core = static_library(
|
||||
'journal-core',
|
||||
libjournal_core_sources,
|
||||
journald_gperf_c,
|
||||
include_directories : includes,
|
||||
install : false)
|
||||
|
||||
libsystemd_sym_path = '@0@/@1@'.format(project_source_root, libsystemd_sym)
|
||||
libsystemd = shared_library(
|
||||
'systemd',
|
||||
|
@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
libjournal_core_sources = files('''
|
||||
sources = files('''
|
||||
journald-audit.c
|
||||
journald-audit.h
|
||||
journald-console.c
|
||||
@ -23,17 +23,23 @@ libjournal_core_sources = files('''
|
||||
journald-wall.h
|
||||
'''.split())
|
||||
|
||||
systemd_journald_sources = files('''
|
||||
journald.c
|
||||
journald-server.h
|
||||
'''.split())
|
||||
|
||||
journald_gperf_c = custom_target(
|
||||
sources += custom_target(
|
||||
'journald-gperf.c',
|
||||
input : 'journald-gperf.gperf',
|
||||
output : 'journald-gperf.c',
|
||||
command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
|
||||
|
||||
libjournal_core = static_library(
|
||||
'journal-core',
|
||||
sources,
|
||||
include_directories : includes,
|
||||
install : false)
|
||||
|
||||
systemd_journald_sources = files('''
|
||||
journald.c
|
||||
journald-server.h
|
||||
'''.split())
|
||||
|
||||
systemd_cat_sources = files('cat.c')
|
||||
|
||||
journalctl_sources = files('''
|
||||
|
Loading…
Reference in New Issue
Block a user