2008-03-05 17:57:11 +05:30
|
|
|
DIR= ${CONFDIR}
|
2011-01-06 23:43:33 +05:30
|
|
|
CONF= bootmisc fsck hostname localmount network staticroute urandom
|
2009-04-17 05:17:23 +05:30
|
|
|
|
2009-10-16 12:38:22 +05:30
|
|
|
TARGETS+= network staticroute
|
|
|
|
CLEANFILES+= network staticroute
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
MK= ../mk
|
2008-03-25 19:45:54 +05:30
|
|
|
include ${MK}/os.mk
|
2011-10-18 06:48:39 +05:30
|
|
|
|
2011-10-19 22:52:23 +05:30
|
|
|
ifeq (${OS},FreeBSD)
|
2011-10-18 06:48:39 +05:30
|
|
|
CONF+= ipfw moused powerd rarpd savecore syscons
|
2011-10-19 22:52:23 +05:30
|
|
|
else ifeq (${OS},Linux)
|
2011-10-18 06:48:39 +05:30
|
|
|
CONF+= consolefont dmesg hwclock keymaps killprocs modules
|
|
|
|
SOS= Linux
|
2011-10-19 22:52:23 +05:30
|
|
|
else ifeq (${OS},NetBSD)
|
2011-10-18 06:48:39 +05:30
|
|
|
CONF+= moused rarpd savecore
|
|
|
|
endif
|
|
|
|
|
2008-01-10 22:05:59 +05:30
|
|
|
include ${MK}/scripts.mk
|
2009-04-19 14:22:00 +05:30
|
|
|
|
2009-10-16 12:38:22 +05:30
|
|
|
SOS?= BSD
|
|
|
|
|
2010-01-08 05:52:04 +05:30
|
|
|
network: network.in network.${SOS}
|
2009-10-16 12:38:22 +05:30
|
|
|
cp $@.in $@
|
2009-12-19 13:33:35 +05:30
|
|
|
[ -e $@.${SOS} ] && cat $@.${SOS} >> $@ || true
|
2009-10-16 12:38:22 +05:30
|
|
|
|
|
|
|
staticroute: staticroute.${SOS}
|
|
|
|
cp $@.${SOS} $@
|