2008-01-31 21:40:18 +05:30
|
|
|
BOOT= bootmisc fsck hostname localmount \
|
|
|
|
root swap sysctl urandom
|
2008-01-10 22:05:59 +05:30
|
|
|
DEFAULT= local netmount
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-03-02 03:42:33 +05:30
|
|
|
LEVELDIR= ${DESTDIR}/${PREFIX}/etc/runlevels
|
2008-01-10 22:05:59 +05:30
|
|
|
BOOTDIR= ${LEVELDIR}/boot
|
|
|
|
DEFAULTDIR= ${LEVELDIR}/default
|
2007-11-19 22:12:28 +05:30
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
MK= ../mk
|
2008-01-11 21:33:38 +05:30
|
|
|
include ${MK}/sys.mk
|
2008-01-11 15:02:06 +05:30
|
|
|
include ${MK}/os.mk
|
|
|
|
include Makefile.${OS}
|
|
|
|
include Makefile.${SUBOS}
|
|
|
|
|
2008-01-11 15:12:28 +05:30
|
|
|
all:
|
|
|
|
|
|
|
|
install:
|
|
|
|
if ! test -d "${BOOTDIR}"; then \
|
|
|
|
${INSTALL} -d ${BOOTDIR} || exit $$?; \
|
|
|
|
for x in ${BOOT}; do ln -snf /etc/init.d/"$$x" ${BOOTDIR}/"$$x" || exit $$?; done \
|
|
|
|
fi
|
|
|
|
if ! test -d "${DEFAULTDIR}"; then \
|
|
|
|
${INSTALL} -d ${DEFAULTDIR} || exit $$?; \
|
|
|
|
for x in ${DEFAULT}; do ln -snf /etc/init.d/"$$x" ${DEFAULTDIR}/"$$x" || exit $$?; done \
|
|
|
|
fi
|
|
|
|
|
|
|
|
clean:
|