summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-18 21:52:26 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-18 21:52:26 +0100
commit8e1bd70d4ce6d3881c1df6a6482643a2b3a69bb1 (patch)
treef4d8acede8d7ca5cdc53bf74ae2af7d80bfc60a9 /Makefile.am
parent40f9afa72117d928ddf3f8887026c74e07f09deb (diff)
sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
1 files changed, 15 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a45f333ac6..dd475acf70 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -119,7 +119,8 @@ rootlibexec_PROGRAMS = \
systemd-fsck \
systemd-quotacheck \
systemd-timestamp \
- systemd-ac-power
+ systemd-ac-power \
+ systemd-sysctl
if HAVE_LIBCRYPTSETUP
rootlibexec_PROGRAMS += \
@@ -223,7 +224,6 @@ dist_systemunit_DATA = \
units/var-run.mount \
units/hwclock-load.service \
units/hwclock-save.service \
- units/sysctl.service \
units/remount-rootfs.service \
units/printer.target \
units/bluetooth.target \
@@ -261,6 +261,7 @@ nodist_systemunit_DATA = \
units/systemd-ask-password-wall.service \
units/systemd-ask-password-plymouth.service \
units/systemd-ask-password-console.service \
+ units/systemd-sysctl.service \
units/syslog.target \
units/halt.service \
units/poweroff.service \
@@ -306,6 +307,7 @@ EXTRA_DIST = \
units/systemd-ask-password-wall.service.in \
units/systemd-ask-password-plymouth.service.in \
units/systemd-ask-password-console.service.in \
+ units/systemd-sysctl.service.in \
units/syslog.target.in \
units/halt.service.in \
units/poweroff.service.in \
@@ -713,6 +715,15 @@ systemd_tmpfiles_CFLAGS = \
systemd_tmpfiles_LDADD = \
libsystemd-basic.la
+systemd_sysctl_SOURCES = \
+ src/sysctl.c
+
+systemd_sysctl_CFLAGS = \
+ $(AM_CFLAGS)
+
+systemd_sysctl_LDADD = \
+ libsystemd-basic.la
+
systemd_fsck_SOURCES = \
src/fsck.c \
src/dbus-common.c
@@ -1227,7 +1238,7 @@ install-data-hook:
systemd-modules-load.service \
systemd-random-seed-load.service \
systemd-tmpfiles-setup.service \
- sysctl.service \
+ systemd-sysctl.service \
systemd-ask-password-console.path && \
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
$(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
@@ -1238,7 +1249,7 @@ install-data-hook:
$(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
$(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
$(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
- $(LN_S) ../sysctl.service sysctl.service && \
+ $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
$(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
rm -f systemd-tmpfiles-clean.timer && \