xref: /netbsd-src/etc/rc.d/Makefile (revision af56d1fe9956bd7c616e18c1b7f025f464618471)
1# $NetBSD: Makefile,v 1.88 2012/02/07 19:13:30 joerg Exp $
2
3.include <bsd.own.mk>
4
5#
6# NOTE:
7#
8# If you're adding new scripts, don't forget to update following:
9#	src/distrib/sets/lists/etc/mi
10#	src/etc/mtree/special
11#	src/usr.sbin/postinstall/postinstall
12#
13# You can find a script to visualize the dependency graph in
14# src/sbin/rcorder.
15
16CONFIGFILES=\
17		DAEMON DISKS LOGIN NETWORKING SERVERS \
18		accounting altqd amd apmd \
19		bluetooth bootconf.sh bootparams \
20		ccd cgd cleartmp cron devpubd \
21		dhclient dhcpcd dhcpd dhcrelay dmesg downinterfaces envsys \
22		fsck fsck_root ftp_proxy ftpd \
23		gpio \
24		hostapd httpd \
25		identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
26		irdaattach iscsi_target isdnd isibootd \
27		kdc \
28		ldconfig ldpd local lpd lvm \
29		makemandb mdnsd mixerctl mopd motd mountall mountcritlocal \
30		mountcritremote mountd moused mrouted \
31		named ndbootd network newsyslog nfsd nfslocking npf ntpd ntpdate \
32		perusertmp pf pf_boot pflogd postfix powerd ppp pwcheck \
33		quota \
34		racoon rpcbind raidframe raidframeparity random_seed rarpd \
35		rbootd rndctl root route6d routed rtadvd rtclocaltime \
36		rtsold rwho \
37		savecore screenblank securelevel sshd \
38		staticroute swap1 swap2 sysctl sysdb syslogd \
39		timed tpctl ttys \
40		veriexec virecover wdogctl wpa_supplicant wscons wsmoused \
41		ypbind yppasswdd ypserv
42FILESDIR=	/etc/rc.d
43FILESMODE=	${BINMODE}
44
45.if ${MKX11} != "no"
46CONFIGFILES+=	xdm xfs fccache
47FILESBUILD_xdm=	yes
48FILESBUILD_xfs=	yes
49FILESBUILD_fccache= yes
50
51.SUFFIXES: .in
52.in:
53	${_MKTARGET_CREATE}
54	${TOOL_SED} -e 's,@X11ROOTDIR@,${X11ROOTDIR},g' < ${.IMPSRC} > ${.TARGET}
55.endif
56
57.include <bsd.prog.mk>
58