summaryrefslogtreecommitdiffstats
path: root/plugins/imjournal/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imjournal/Makefile.am')
-rw-r--r--plugins/imjournal/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/imjournal/Makefile.am b/plugins/imjournal/Makefile.am
new file mode 100644
index 0000000..5306130
--- /dev/null
+++ b/plugins/imjournal/Makefile.am
@@ -0,0 +1,12 @@
+pkglib_LTLIBRARIES = imjournal.la
+
+if IMJOURNAL_USE_DUMMY
+imjournal_la_SOURCES = dummy.c
+imjournal_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -D MODNAME=imjournal
+imjournal_la_LDFLAGS = -module -avoid-version
+else
+imjournal_la_SOURCES = imjournal.c
+imjournal_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(LIBSYSTEMD_JOURNAL_CFLAGS)
+imjournal_la_LDFLAGS = -module -avoid-version
+imjournal_la_LIBADD = $(LIBSYSTEMD_JOURNAL_LIBS)
+endif