summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-11-08 22:05:29 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2014-11-08 22:48:17 +0100
commitad02805f85f600a9f1c5ffbf3527b8079d37656b (patch)
tree04b56859373bd45453d6baa5992853078e7cf7d1 /Makefile.am
parent0c2a5d721ece665618614d05049975ad84a9ee4a (diff)
build-sys: link to libsystemd-core only when needed
Multiple executables do not need libsystemd-core
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am37
1 files changed, 18 insertions, 19 deletions
diff --git a/Makefile.am b/Makefile.am
index ca8e339b5a..416e4d3498 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1531,7 +1531,7 @@ test_fdset_SOURCES = \
src/test/test-fdset.c
test_fdset_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_ratelimit_SOURCES = \
src/test/test-ratelimit.c
@@ -1544,31 +1544,31 @@ test_util_SOURCES = \
test_util_LDADD = \
-lm \
- libsystemd-core.la
+ libsystemd-shared.la
test_uid_range_SOURCES = \
src/test/test-uid-range.c
test_uid_range_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_socket_util_SOURCES = \
src/test/test-socket-util.c
test_socket_util_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_ring_SOURCES = \
src/test/test-ring.c
test_ring_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_barrier_SOURCES = \
src/test/test-barrier.c
test_barrier_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_pty_SOURCES = \
src/test/test-pty.c
@@ -1611,13 +1611,13 @@ test_hashmap_SOURCES = \
src/test/test-hashmap-plain.c
test_hashmap_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_set_SOURCES = \
src/test/test-set.c
test_set_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_xml_SOURCES = \
src/test/test-xml.c
@@ -1628,15 +1628,15 @@ test_xml_LDADD = \
test_list_SOURCES = \
src/test/test-list.c
+test_list_LDADD = \
+ libsystemd-shared.la
+
test_unaligned_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_unaligned_SOURCES = \
src/test/test-unaligned.c
-test_list_LDADD = \
- libsystemd-core.la
-
test_tables_SOURCES = \
src/test/test-tables.c \
src/shared/test-tables.h \
@@ -1665,19 +1665,19 @@ test_prioq_SOURCES = \
src/test/test-prioq.c
test_prioq_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_fileio_SOURCES = \
src/test/test-fileio.c
test_fileio_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_time_SOURCES = \
src/test/test-time.c
test_time_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_architecture_SOURCES = \
src/test/test-architecture.c
@@ -1689,7 +1689,7 @@ test_log_SOURCES = \
src/test/test-log.c
test_log_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_ipcrm_SOURCES = \
src/test/test-ipcrm.c
@@ -1714,13 +1714,13 @@ test_ellipsize_SOURCES = \
src/test/test-ellipsize.c
test_ellipsize_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_date_SOURCES = \
src/test/test-date.c
test_date_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_sleep_SOURCES = \
src/test/test-sleep.c
@@ -3927,7 +3927,6 @@ systemd_journal_upload_CFLAGS = \
$(LIBCURL_CFLAGS)
systemd_journal_upload_LDADD = \
- libsystemd-core.la \
libsystemd-internal.la \
libsystemd-journal-internal.la \
libsystemd-shared.la \