openrc/conf.d/Makefile

29 lines
589 B
Makefile
Raw Normal View History

2008-03-05 17:57:11 +05:30
DIR= ${CONFDIR}
CONF= bootmisc fsck hostname localmount network staticroute urandom
TARGETS+= network staticroute
CLEANFILES+= network staticroute
MK= ../mk
2008-03-25 19:45:54 +05:30
include ${MK}/os.mk
ifeq (${OS},FreeBSD)
CONF+= ipfw moused powerd rarpd savecore syscons
else ifeq (${OS},Linux)
CONF+= consolefont dmesg hwclock keymaps killprocs modules
SOS= Linux
else ifeq (${OS},NetBSD)
CONF+= moused rarpd savecore
endif
include ${MK}/scripts.mk
SOS?= BSD
2010-01-08 05:52:04 +05:30
network: network.in network.${SOS}
cp $@.in $@
[ -e $@.${SOS} ] && cat $@.${SOS} >> $@ || true
staticroute: staticroute.${SOS}
cp $@.${SOS} $@