summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am26
1 files changed, 25 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6200610499..1e7c9df38f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3698,7 +3698,8 @@ pkgpyexec_LTLIBRARIES = \
_journal.la \
id128.la \
_daemon.la \
- _reader.la
+ _reader.la \
+ login.la
_journal_la_SOURCES = \
src/python-systemd/_journal.c
@@ -3784,6 +3785,29 @@ _reader_la_LIBADD = \
libsystemd-shared.la \
libsystemd-daemon-internal.la
+login_la_SOURCES = \
+ src/python-systemd/login.c \
+ src/python-systemd/pyutil.c \
+ src/python-systemd/pyutil.h
+
+login_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=default \
+ $(PYTHON_CFLAGS)
+
+login_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -shared \
+ -module \
+ -avoid-version
+
+login_la_LIBADD = \
+ $(PYTHON_LIBS) \
+ libsystemd-journal.la \
+ libsystemd-login.la \
+ libsystemd-shared.la \
+ libsystemd-daemon-internal.la
+
dist_pkgpyexec_PYTHON = \
src/python-systemd/journal.py \
src/python-systemd/daemon.py \