diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-04 21:16:15 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-19 07:06:32 +0900 |
commit | 529642936be63dbf226be8ce81a5b502f148c891 (patch) | |
tree | e23fddb8a509a3cc14b62e0a840280ebf744005e /src/journal/meson.build | |
parent | 3976f372ae91e1cbe5ff9873aadfc2c43400452e (diff) | |
download | systemd-529642936be63dbf226be8ce81a5b502f148c891.tar.gz |
meson: move libjournal_core definition to src/journal/meson.build
Diffstat (limited to 'src/journal/meson.build')
-rw-r--r-- | src/journal/meson.build | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/journal/meson.build b/src/journal/meson.build index 59da7aa7e0..177eb33047 100644 --- a/src/journal/meson.build +++ b/src/journal/meson.build @@ -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(''' |