summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-05-13 20:08:18 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-05-13 22:08:13 +0200
commite0dd92729e68e0005866a890d8209ddcf3568805 (patch)
tree40e05cc1ee7745174a1ea43f8a0b5ecd8ed972de /Makefile.am
parent625e870b4fb7ff4caf4d8a4614e9bda7c174b291 (diff)
shared: add ring buffer
New "struct ring" object that implements a basic ring buffer for arbitrary byte-streams. A new basic runtime test is also added. This will be needed for our pty helpers for systemd-console and friends.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c54d35760d..653fcfcdae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -801,6 +801,8 @@ libsystemd_shared_la_SOURCES = \
src/shared/clean-ipc.c \
src/shared/login-shared.c \
src/shared/login-shared.h \
+ src/shared/ring.c \
+ src/shared/ring.h \
src/shared/async.c \
src/shared/async.h
@@ -1198,6 +1200,7 @@ tests += \
test-utf8 \
test-ellipsize \
test-util \
+ test-ring \
test-tmpfiles \
test-namespace \
test-date \
@@ -1325,6 +1328,12 @@ test_util_SOURCES = \
test_util_LDADD = \
libsystemd-core.la
+test_ring_SOURCES = \
+ src/test/test-ring.c
+
+test_ring_LDADD = \
+ libsystemd-core.la
+
test_tmpfiles_SOURCES = \
src/test/test-tmpfiles.c