2009-05-24 01:08:12 +05:30
|
|
|
DIR= ${LIBEXECDIR}/sh
|
2011-10-20 07:00:39 +05:30
|
|
|
SRCS= init.sh.in functions.sh.in gendepends.sh.in init-common-post.sh.in \
|
2012-03-12 13:58:44 +05:30
|
|
|
rc-functions.sh.in runscript.sh.in tmpfiles.sh.in ${SRCS-${OS}}
|
2008-02-28 01:59:32 +05:30
|
|
|
INC= init-common-post.sh rc-mount.sh functions.sh rc-functions.sh
|
2012-03-12 13:58:44 +05:30
|
|
|
BIN= gendepends.sh init.sh runscript.sh tmpfiles.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
|
|
|
|
2011-11-20 05:45:46 +05:30
|
|
|
SRCS-Linux= cgroup-release-agent.sh.in init-early.sh.in udhcpc-hook.sh.in
|
|
|
|
BIN-Linux= cgroup-release-agent.sh init-early.sh udhcpc-hook.sh
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2011-10-20 07:00:39 +05:30
|
|
|
SRCS-NetBSD= ifwatchd-carrier.sh.in ifwatchd-nocarrier.sh.in
|
|
|
|
BIN-NetBSD= ifwatchd-carrier.sh ifwatchd-nocarrier.sh
|
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
|