1#	$NetBSD: Makefile,v 1.8 2025/12/22 03:11:05 thorpej Exp $
2
3.include <bsd.own.mk>
4
5CONFIGFILES=	daily.conf monthly.conf pkgpath.conf \
6		    security.conf weekly.conf
7
8.if (${MKNPF} != "no")
9CONFIGFILES+=	npf.boot.conf
10.endif
11
12FILESDIR=	/etc/defaults
13FILESMODE=	${NONBINMODE}
14
15# Manage arch-specific rc.conf(5) file
16CONFIGFILES+=	rc_conf
17FILESNAME_rc_conf=	rc.conf
18FILESBUILD_rc_conf=	yes
19
20# If present, rc.conf.append is added to the end of the default rc.conf file
21RCCONF_SRCS=	${.CURDIR}/rc.conf
22.if exists(../etc.${MACHINE}/rc.conf.append)
23RCCONF_SRCS+=	${.CURDIR}/../etc.${MACHINE}/rc.conf.append
24.endif
25
26rc_conf: ${RCCONF_SRCS}
27	${_MKTARGET_CREATE}
28	${TOOL_CAT} ${RCCONF_SRCS} > ${.TARGET}
29
30.include <bsd.prog.mk>
31