xref: /netbsd-src/etc/rc.d/Makefile (revision dd255ccea4286b0c44fa8fd48a9a19a768afe8e1)
1# $NetBSD: Makefile,v 1.89 2013/05/16 07:37:05 yamt 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 \
32		ntpdate \
33		perusertmp pf pf_boot pflogd postfix powerd ppp pwcheck \
34		quota \
35		racoon rpcbind raidframe raidframeparity random_seed rarpd \
36		rbootd rndctl root route6d routed rtadvd rtclocaltime \
37		rtsold rwho \
38		savecore screenblank securelevel sshd \
39		staticroute swap1 swap2 sysctl sysdb syslogd \
40		timed tpctl ttys \
41		veriexec virecover wdogctl wpa_supplicant wscons wsmoused \
42		ypbind yppasswdd ypserv
43FILESDIR=	/etc/rc.d
44FILESMODE=	${BINMODE}
45
46.if ${MKX11} != "no"
47CONFIGFILES+=	xdm xfs fccache
48FILESBUILD_xdm=	yes
49FILESBUILD_xfs=	yes
50FILESBUILD_fccache= yes
51
52.SUFFIXES: .in
53.in:
54	${_MKTARGET_CREATE}
55	${TOOL_SED} -e 's,@X11ROOTDIR@,${X11ROOTDIR},g' < ${.IMPSRC} > ${.TARGET}
56.endif
57
58.include <bsd.prog.mk>
59