summaryrefslogtreecommitdiffstats
path: root/plugins/imjournal/Makefile.am
blob: 53061305f0d9d627953f045751db81b871d4b37f (plain)
1
2
3
4
5
6
7
8
9
10
11
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