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