summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-17 22:54:28 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 22:23:48 -0400
commit3d090cc6f34e5970765dd1e7ee5e648a056d180d (patch)
tree46bacdf60ac7a00932e9fcc8794d7bef29ee34fc /Makefile.am
parent851d4e2a67efb2c8777df151b697391ff1a76af0 (diff)
journal-upload: a tool to push messages to systemd-journal-remote
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 4a698c88db..371468f6be 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3476,6 +3476,24 @@ systemd_journal_remote_LDADD += \
endif
endif
+if HAVE_LIBCURL
+rootlibexec_PROGRAMS += \
+ systemd-journal-upload
+
+systemd_journal_upload_SOURCES = \
+ src/journal-remote/journal-upload.h \
+ src/journal-remote/journal-upload.c
+
+systemd_journal_upload_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(LIBCURL_CFLAGS)
+
+systemd_journal_upload_LDADD = \
+ libsystemd-core.la \
+ libsystemd-internal.la \
+ $(LIBCURL_LIBS)
+endif
+
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
journalctl_CFLAGS = \
$(AM_CFLAGS)