openrc/conf.d/Makefile
William Hubbs 9c77502f96 Make variable references in Makefiles consistent
Some variable references were written as $(foo), but the majority were
written as ${foo}. This commit changes all of the variable references
to using braces.
2011-10-19 12:22:23 -05:00

29 lines
589 B
Makefile

DIR= ${CONFDIR}
CONF= bootmisc fsck hostname localmount network staticroute urandom
TARGETS+= network staticroute
CLEANFILES+= network staticroute
MK= ../mk
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
network: network.in network.${SOS}
cp $@.in $@
[ -e $@.${SOS} ] && cat $@.${SOS} >> $@ || true
staticroute: staticroute.${SOS}
cp $@.${SOS} $@