summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSteven Hiscocks <steven@hiscocks.me.uk>2013-02-08 19:41:21 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-22 16:57:43 +0100
commitc4e9b5b557ba956e316933c31bbefa8b48fa3f93 (patch)
tree98fd0247647c7b1a081f77d284e1273aebb7c67e /Makefile.am
parent9015fa646e04fc3cb180bea24c33d34edbb48ed7 (diff)
systemd-python: add Journal class for reading journal
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am22
1 files changed, 21 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 085f4b36b2..fc7e8c429e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3381,7 +3381,8 @@ EXTRA_DIST += \
if HAVE_PYTHON_DEVEL
pkgpyexec_LTLIBRARIES = \
_journal.la \
- id128.la
+ id128.la \
+ _reader.la
_journal_la_SOURCES = \
src/python-systemd/_journal.c
@@ -3421,6 +3422,25 @@ id128_la_LIBADD = \
$(PYTHON_LIBS) \
libsystemd-id128.la
+_reader_la_SOURCES = \
+ src/python-systemd/_reader.c
+
+_reader_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=default \
+ $(PYTHON_CFLAGS)
+
+_reader_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -shared \
+ -module \
+ -avoid-version
+
+_reader_la_LIBADD = \
+ $(PYTHON_LIBS) \
+ libsystemd-journal.la \
+ libsystemd-id128.la
+
dist_pkgpyexec_PYTHON = \
src/python-systemd/journal.py \
src/python-systemd/__init__.py