summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-03-02 20:44:29 +0100
committerAndy Wingo <wingo@pobox.com>2016-03-06 16:00:51 +0100
commitd0681e32d26895aadcf9afd15aba21a73d70bb4c (patch)
tree09971a2a219f7816247912a0c23eb80f0a6551fa
parent872620a2a10edb69f10a398aeab220ac4b55a77e (diff)
Re-add cgroups agent to the build
The helper is now named logind-cgroups-agent.
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 710eb7c98c..bd2bc927f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -123,6 +123,7 @@ AM_CPPFLAGS = \
-DPOLKIT_AGENT_BINARY_PATH=\"$(PKTTYAGENT)\" \
-DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
-DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
+ -DSYSTEMD_CGROUP_AGENT_PATH=\"$(pkglibexecdir)/logind-cgroups-agent\" \
-DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
-DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
-DROOTPREFIX=\"$(rootprefix)\" \
@@ -806,6 +807,16 @@ loginctl_LDADD = \
bin_PROGRAMS += \
loginctl
+logind_cgroups_agent_SOURCES = \
+ src/cgroups-agent/cgroups-agent.c
+
+logind_cgroups_agent_LDADD = \
+ libelogind-internal.la \
+ libelogind-shared.la
+
+pkglibexec_PROGRAMS += \
+ logind-cgroups-agent
+
dist_bashcompletion_DATA += \
shell-completion/bash/loginctl