X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=7fefa5873a7667632fb0e294d641a2c6a16c9395;hp=4a698c88dbb4b728699cb40a4d40bd45bf646d1a;hb=eacbb4d33e2bb5c54311544851140efe3dd0f774;hpb=1e4e7b71e1938daa9b2b9718a9f54c69017a9ef5 diff --git a/Makefile.am b/Makefile.am index 4a698c88d..7fefa5873 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3476,6 +3476,27 @@ 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 \ + src/journal-remote/journal-upload-journal.c + +systemd_journal_upload_CFLAGS = \ + $(AM_CFLAGS) \ + $(LIBCURL_CFLAGS) + +systemd_journal_upload_LDADD = \ + libsystemd-core.la \ + libsystemd-internal.la \ + libsystemd-journal-internal.la \ + libsystemd-shared.la \ + $(LIBCURL_LIBS) +endif + # using _CFLAGS = in the conditional below would suppress AM_CFLAGS journalctl_CFLAGS = \ $(AM_CFLAGS)