summaryrefslogtreecommitdiff
path: root/src/grp-machine/systemd-machined/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-machine/systemd-machined/Makefile')
-rw-r--r--src/grp-machine/systemd-machined/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/src/grp-machine/systemd-machined/Makefile b/src/grp-machine/systemd-machined/Makefile
index ee17bfcd7c..66ac0b9275 100644
--- a/src/grp-machine/systemd-machined/Makefile
+++ b/src/grp-machine/systemd-machined/Makefile
@@ -24,16 +24,19 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
systemd_machined_SOURCES = \
+ $(_libmachine_core_la_SOURCES) \
src/machine/machined.c \
src/machine/machined.h
systemd_machined_LDADD = \
- libmachine-core.la
+ libsystemd-internal.la \
+ libshared.la \
+ libbasic.la
rootlibexec_PROGRAMS += \
systemd-machined
-libmachine_core_la_SOURCES = \
+_libmachine_core_la_SOURCES = \
src/machine/machine.c \
src/machine/machine.h \
src/machine/machined-dbus.c \
@@ -44,18 +47,10 @@ libmachine_core_la_SOURCES = \
src/machine/operation.c \
src/machine/operation.h
-libmachine_core_la_LIBADD = \
- libshared.la
-
-noinst_LTLIBRARIES += \
- libmachine-core.la
-
test_machine_tables_SOURCES = \
+ $(_libmachine_core_la_SOURCES) \
src/machine/test-machine-tables.c
-test_machine_tables_LDADD = \
- libmachine-core.la
-
tests += \
test-machine-tables
@@ -89,13 +84,4 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-machined.service.in
-# ------------------------------------------------------------------------------
-ifneq ($(ENABLE_IMPORTD),)
-
-ifneq ($(HAVE_LIBCURL),)
-ifneq ($(HAVE_XZ),)
-ifneq ($(HAVE_ZLIB),)
-ifneq ($(HAVE_BZIP2),)
-ifneq ($(HAVE_GCRYPT),)
-
include $(topsrcdir)/build-aux/Makefile.tail.mk