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