aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-07-22 18:29:27 -0500
committerWilliam Hubbs <william.hubbs@sony.com>2019-07-25 14:47:18 -0500
commitcac41092e4180a8d16edacab0c8552585d94328b (patch)
tree1cfd4a49fdce5097e2bcf83acc8115002aad74c2 /src/rc/Makefile
parent7ddc281ab6fd11b63f41059818b0de4748e2821f (diff)
add ability for openrc-shutdown to communicate with sysvinit
This fixes #315.
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index ea4a8c81..982e7af1 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -14,7 +14,8 @@ SRCS+= rc-selinux.c
endif
ifeq (${OS},Linux)
-SRCS+= kill_all.c openrc-init.c openrc-shutdown.c broadcast.c rc-wtmp.c
+SRCS+= kill_all.c openrc-init.c openrc-shutdown.c rc-sysvinit.c broadcast.c \
+ rc-wtmp.c
endif
CLEANFILES= version.h rc-selinux.o
@@ -134,7 +135,7 @@ mountinfo: mountinfo.o _usage.o rc-misc.o
openrc rc: rc.o rc-logger.o rc-misc.o rc-plugin.o _usage.o
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
-openrc-shutdown: openrc-shutdown.o rc-misc.o _usage.o broadcast.o rc-wtmp.o
+openrc-shutdown: openrc-shutdown.o rc-misc.o _usage.o broadcast.o rc-wtmp.o rc-sysvinit.o
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
openrc-run runscript: openrc-run.o _usage.o rc-misc.o rc-plugin.o