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