diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-25 09:06:20 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-01 08:54:45 +0200 |
commit | c26c97af26d92a06f6e21ac70f45a1dddd8c1078 (patch) | |
tree | 754dbd88bf853980982941809721b343672d2101 /src/journal-remote | |
parent | meson: move declarations of machined and friends (diff) | |
download | systemd-c26c97af26d92a06f6e21ac70f45a1dddd8c1078.tar.xz systemd-c26c97af26d92a06f6e21ac70f45a1dddd8c1078.zip |
meson: move declarations of journal-remote and friends
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/meson.build | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/journal-remote/meson.build b/src/journal-remote/meson.build index 9fe1b8049b..89419f1de1 100644 --- a/src/journal-remote/meson.build +++ b/src/journal-remote/meson.build @@ -37,6 +37,52 @@ systemd_journal_gatewayd_sources = files( 'microhttpd-util.c', ) +common_deps = [ + libgnutls, + liblz4, + libxz, + libzstd, + threads, +] + +executables += [ + libexec_template + { + 'name' : 'systemd-journal-upload', + 'public' : true, + 'conditions' : [ + 'ENABLE_REMOTE', + 'HAVE_LIBCURL', + ], + 'sources' : systemd_journal_upload_sources, + 'dependencies' : common_deps + [libcurl], + }, + libexec_template + { + 'name' : 'systemd-journal-remote', + 'public' : true, + 'conditions' : [ + 'ENABLE_REMOTE', + 'HAVE_MICROHTTPD', + ], + 'sources' : systemd_journal_remote_sources, + 'include_directories' : journal_includes, + 'link_with' : [ + libshared, + libsystemd_journal_remote, + ], + 'dependencies' : common_deps + [libmicrohttpd], + }, + libexec_template + { + 'name' : 'systemd-journal-gatewayd', + 'public' : true, + 'conditions' : [ + 'ENABLE_REMOTE', + 'HAVE_MICROHTTPD', + ], + 'sources' : systemd_journal_gatewayd_sources, + 'dependencies' : common_deps + [libmicrohttpd], + }, +] + in_files = [ ['journal-upload.conf', conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_LIBCURL') == 1 and install_sysconfdir_samples], |