aboutsummaryrefslogtreecommitdiff
path: root/conf.d/Makefile
blob: 817f60e202b1140a8b52691f3adcdee3fa34e9b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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} $@