chiark / gitweb /
journal-remote: tool to receive messages over the network
[elogind.git] / Makefile.am
index 9e01cd520bb8cb5f0deca018a03d5019cb92bda8..923e3c47205aa9f3468df149773307a49dad8395 100644 (file)
@@ -3130,6 +3130,17 @@ systemd_cat_SOURCES = \
 systemd_cat_LDADD = \
        libsystemd-journal-core.la
 
+systemd_journal_remote_SOURCES = \
+       src/journal/journal-remote-parse.h \
+       src/journal/journal-remote-parse.c \
+       src/journal/journal-remote-write.h \
+       src/journal/journal-remote-write.c \
+       src/journal/journal-remote.c
+
+systemd_journal_remote_LDADD = \
+       libsystemd-internal.la \
+       libsystemd-journal-core.la
+
 # using _CFLAGS = in the conditional below would suppress AM_CFLAGS
 journalctl_CFLAGS = \
        $(AM_CFLAGS)
@@ -3380,7 +3391,8 @@ noinst_LTLIBRARIES += \
        libsystemd-journal-internal.la
 
 rootlibexec_PROGRAMS += \
-       systemd-journald
+       systemd-journald \
+       systemd-journal-remote
 
 rootbin_PROGRAMS += \
        journalctl
@@ -3437,6 +3449,11 @@ systemd_journal_gatewayd_LDADD = \
        libsystemd-shared.la \
        $(MICROHTTPD_LIBS)
 
+if HAVE_GNUTLS
+systemd_journal_gatewayd_LDADD += \
+       $(GNUTLS_LIBS)
+endif
+
 systemd_journal_gatewayd_CFLAGS = \
        $(AM_CFLAGS) \
        $(MICROHTTPD_CFLAGS)