2009-05-24 01:08:12 +05:30
|
|
|
DIR= ${LIBEXECDIR}/sh
|
2014-01-12 01:02:43 +05:30
|
|
|
SRCS= init.sh.in functions.sh.in gendepends.sh.in \
|
2018-07-10 04:32:54 +05:30
|
|
|
openrc-run.sh.in ${SRCS-${OS}}
|
2016-07-28 02:56:26 +05:30
|
|
|
INC= rc-mount.sh functions.sh rc-functions.sh runit.sh s6.sh \
|
2018-12-08 03:01:13 +05:30
|
|
|
start-stop-daemon.sh supervise-daemon.sh ${INC-${OS}}
|
2016-11-15 05:42:06 +05:30
|
|
|
BIN= gendepends.sh init.sh openrc-run.sh ${BIN-${OS}}
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-01-13 23:19:29 +05:30
|
|
|
INSTALLAFTER= _installafter
|
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
MK= ../mk
|
2008-03-25 19:36:05 +05:30
|
|
|
include ${MK}/os.mk
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2011-10-20 07:00:39 +05:30
|
|
|
SRCS-FreeBSD=
|
|
|
|
BIN-FreeBSD=
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2015-03-31 23:18:45 +05:30
|
|
|
SRCS-Linux= binfmt.sh.in cgroup-release-agent.sh.in init-early.sh.in \
|
2018-12-08 03:01:13 +05:30
|
|
|
migrate-to-run.sh.in
|
|
|
|
BIN-Linux= binfmt.sh cgroup-release-agent.sh init-early.sh migrate-to-run.sh
|
|
|
|
INC-Linux= rc-cgroup.sh
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2013-03-19 04:59:36 +05:30
|
|
|
SRCS-NetBSD=
|
|
|
|
BIN-NetBSD=
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2011-10-20 07:00:39 +05:30
|
|
|
include ${MK}/scripts.mk
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2011-10-28 21:44:44 +05:30
|
|
|
%.sh: %.sh${SFX}
|
2011-10-18 06:48:39 +05:30
|
|
|
${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@
|
2008-01-10 22:27:05 +05:30
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
_installafter:
|
2008-03-25 22:49:41 +05:30
|
|
|
${INSTALL} -d ${DESTDIR}/${INITDIR}
|
2011-06-27 22:41:01 +05:30
|
|
|
@# Put functions.sh into init for backwards compat
|
|
|
|
ln -snf ${LIBEXECDIR}/sh/functions.sh ${DESTDIR}/${INITDIR} || exit $$?
|
2008-03-24 12:47:05 +05:30
|
|
|
|
|
|
|
check test::
|
|
|
|
./runtests.sh
|