diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-02 14:07:40 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-04 20:56:03 -0500 |
commit | 7689106aa10f7852b707b4c21ec080ccb2767280 (patch) | |
tree | aa096eed9381d48b8f9e51d54483043a46488845 /src/rc/Makefile | |
parent | 1564e155b726308200ecd5df315c002bd8b16952 (diff) |
add support for writing reboot and shutdown records to wtmp
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r-- | src/rc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile index 5874ed17..19adcafb 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -14,7 +14,7 @@ SRCS+= rc-selinux.c endif ifeq (${OS},Linux) -SRCS+= kill_all.c openrc-init.c openrc-shutdown.c +SRCS+= kill_all.c openrc-init.c openrc-shutdown.c rc-wtmp.c endif CLEANFILES= version.h rc-selinux.o @@ -111,7 +111,7 @@ veinfo vewarn vebegin veend vewend veindent veoutdent: do_e.o rc-misc.o fstabinfo: fstabinfo.o _usage.o rc-misc.o ${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} -openrc-init: openrc-init.o +openrc-init: openrc-init.o rc-wtmp.o ${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} is_newer_than: is_newer_than.o rc-misc.o @@ -132,7 +132,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 _usage.o +openrc-shutdown: openrc-shutdown.o _usage.o rc-wtmp.o ${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} openrc-run runscript: openrc-run.o _usage.o rc-misc.o rc-plugin.o |