2008-03-25 22:47:15 +05:30
|
|
|
DIR= ${PREFIX}/${RC_LIB}/sh
|
2008-03-03 18:04:51 +05:30
|
|
|
SRCS= functions.sh.in gendepends.sh.in net.sh.in \
|
|
|
|
rc-functions.sh.in runscript.sh.in
|
2008-02-28 01:59:32 +05:30
|
|
|
INC= init-common-post.sh rc-mount.sh functions.sh rc-functions.sh
|
2008-03-25 19:36:05 +05:30
|
|
|
BIN= gendepends.sh init.sh net.sh runscript.sh
|
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
|
|
|
|
include Makefile.${OS}
|
2008-01-10 22:27:05 +05:30
|
|
|
include ${MK}/scripts.mk
|
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
_installafter:
|
2008-03-05 17:57:11 +05:30
|
|
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/${INITDIR}
|
2008-01-03 20:19:34 +05:30
|
|
|
@# Provide an init script for the loopback interface
|
2008-03-25 22:41:44 +05:30
|
|
|
ln -snf ${PREFIX}/${RC_LIB}/sh/net.sh ${DESTDIR}/${INITDIR}/${NET_LO} || exit $$?
|
2008-01-10 22:05:59 +05:30
|
|
|
@# Put functions.sh into the init.d dir so 3rd party apps don't have to
|
2008-01-03 20:19:34 +05:30
|
|
|
@# be multilib aware
|
2008-03-25 22:41:44 +05:30
|
|
|
ln -snf ${PREFIX}/${RC_LIB}/sh/functions.sh ${DESTDIR}/${INITDIR} || exit $$?
|
2008-03-24 12:47:05 +05:30
|
|
|
|
|
|
|
check test::
|
|
|
|
./runtests.sh
|