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