xref: /netbsd-src/etc/rc.d/Makefile (revision 4e6df137e8e14049b5a701d249962c480449c141)
1# $NetBSD: Makefile,v 1.80 2009/09/29 23:56:27 tsarna 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		bootconf.sh bootparams btattach btconfig btdevctl bthcid \
20		ccd cgd cleartmp cron \
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 \
27		kdc \
28		ldconfig local lpd lvm \
29		mdnsd mixerctl mopd motd mountall mountcritlocal \
30		mountcritremote mountd moused mrouted \
31		named ndbootd network newsyslog nfsd nfslocking ntpd ntpdate \
32		perusertmp pf pf_boot pflogd postfix powerd ppp pwcheck \
33		quota \
34		racoon rpcbind raidframe raidframeparity rarpd rbootd rndctl \
35		root route6d routed rtadvd rtclocaltime rtsold rwho \
36		savecore screenblank sdpd securelevel sshd \
37		staticroute swap1 swap2 sysctl sysdb syslogd \
38		timed tpctl ttys \
39		veriexec virecover wdogctl wpa_supplicant wscons wsmoused \
40		ypbind yppasswdd ypserv
41FILESDIR=	/etc/rc.d
42FILESMODE=	${BINMODE}
43
44.if ${MKX11} != "no"
45CONFIGFILES+=	xdm xfs
46FILESBUILD_xdm=	yes
47FILESBUILD_xfs=	yes
48
49.SUFFIXES: .in
50.in:
51	${_MKTARGET_CREATE}
52	${TOOL_SED} -e 's,@X11ROOTDIR@,${X11ROOTDIR},g' < ${.IMPSRC} > ${.TARGET}
53.endif
54
55.include <bsd.prog.mk>
56