9c77502f96
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.
29 lines
589 B
Makefile
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} $@
|