2008-01-11 04:52:46 +05:30
|
|
|
BOOT= bootmisc checkroot checkfs hostname localmount \
|
2008-01-10 22:05:59 +05:30
|
|
|
swap sysctl urandom
|
|
|
|
DEFAULT= local netmount
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
LEVELDIR= ${DESTDIR}/etc/runlevels
|
|
|
|
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:
|