summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 7c0f793db6..03591bed15 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -343,6 +343,13 @@ systemd_cgroups_agent_CPPFLAGS = \
systemd_cgroups_agent_LDADD = \
$(DBUS_LIBS)
+systemctl_SOURCES = \
+ src/systemctl.c \
+ $(BASIC_SOURCES)
+
+systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUS_CFLAGS)
+systemctl_LDADD = $(DBUS_LIBS)
+
VALAFLAGS = \
-g \
--save-temps \
@@ -358,13 +365,6 @@ VALA_CFLAGS = \
-Wno-unused-variable \
-Wno-unused-function
-systemctl_SOURCES = \
- src/systemctl.vala \
- src/systemd-interfaces.vala
-
-systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(VALA_CFLAGS)
-systemctl_LDADD = $(DBUSGLIB_LIBS)
-
systemadm_SOURCES = \
src/systemadm.vala \
src/systemd-interfaces.vala
@@ -417,7 +417,6 @@ CLEANFILES = \
if HAVE_VALAC
CLEANFILES += \
src/systemd-interfaces.c \
- src/systemctl.c \
src/systemadm.c
endif