]> git.sesse.net Git - vlc/blob - modules/logger/Makefile.am
journal: add native logger module for the SystemD Journal
[vlc] / modules / logger / Makefile.am
1 loggerdir = $(pluginsdir)/logger
2
3 libconsole_logger_plugin_la_SOURCES = logger/console.c
4 logger_LTLIBRARIES = libconsole_logger_plugin.la
5
6 libsyslog_plugin_la_SOURCES = logger/syslog.c
7 if HAVE_SYSLOG
8 logger_LTLIBRARIES += libsyslog_plugin.la
9 endif
10
11 libsd_journal_plugin_la_SOURCES = logger/journal.c
12 libsd_journal_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SYSTEMD_CFLAGS)
13 libsd_journal_plugin_la_LIBADD = $(SYSTEMD_LIBS)
14 if HAVE_SYSTEMD
15 logger_LTLIBRARIES += libsd_journal_plugin.la
16 endif