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/Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/grp-machine/systemd-machined/Makefile b/src/grp-machine/systemd-machined/Makefile
index 8aac7b0f4f..182b52edd2 100644
--- a/src/grp-machine/systemd-machined/Makefile
+++ b/src/grp-machine/systemd-machined/Makefile
@@ -23,12 +23,26 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+_libmachine_core_la_SOURCES = \
+ src/machine/machine.c \
+ src/machine/machine.h \
+ src/machine/machined-dbus.c \
+ src/machine/machine-dbus.c \
+ src/machine/machine-dbus.h \
+ src/machine/image-dbus.c \
+ src/machine/image-dbus.h \
+ src/machine/operation.c \
+ src/machine/operation.h
+
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
@@ -64,4 +78,11 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-machined.service.in
+test_machine_tables_SOURCES = \
+ $(_libmachine_core_la_SOURCES) \
+ src/machine/test-machine-tables.c
+
+tests += \
+ test-machine-tables
+
include $(topsrcdir)/build-aux/Makefile.tail.mk