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