1# $NetBSD: Makefile,v 1.119 2024/12/29 09:47:49 jmmv 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                    CRITLOCALMOUNTED DAEMON DISKS LOGIN NETWORKING SERVERS \
18                    accounting altqd amd apmd automount automountd autounmountd \
19                    bluetooth bootconf.sh bootparams \
20                    ccd certctl_init cgd clearcritlocal cleartmp cron \
21                    devpubd dhcpcd dhcpd dhcpd6 dhcrelay dmesg \
22                    downinterfaces \
23                    entropy envsys \
24                    fsck fsck_root ftp_proxy ftpd \
25                    gpio \
26                    hostapd httpd \
27                    identd ifwatchd inetd ip6addrctl ipfilter ipfs ipmon ipnat \
28                    ipsec irdaattach iscsi_target iscsid iscsid_volumes isibootd \
29                    kdc \
30                    ldconfig ldpd lvmlockdir local lpd lvm \
31                    makemandb mdnsd mixerctl modules mopd motd mountall \
32                    mountcritlocal mountcritremote mountd moused mrouted \
33                    named ndbootd network newsyslog nfsd nfslocking npf npf_boot \
34                    npfd ntpd ntpdate \
35                    perusertmp pf pf_boot pflogd powerd ppp pwcheck \
36                    quota \
37                    racoon rpcbind raidframe raidframeparity random_seed rarpd \
38                    rbootd resize_root rndctl root route6d routed rtadvd \
39                    rtclocaltime rwho \
40                    savecore screenblank securelevel smtoff sshd \
41                    staticroute swap1 swap2 sysctl sysdb syslogd \
42                    timed tpctl ttys \
43                    veriexec virecover wdogctl wpa_supplicant wscons wsmoused
44FILESDIR= /etc/rc.d
45FILESMODE=          ${BINMODE}
46
47.if ${MKPOSTFIX} != "no"
48CONFIGFILES+=       postfix
49.endif
50
51.if ${MKYP} != "no"
52CONFIGFILES+=       ypbind yppasswdd ypserv
53.endif
54
55.if ${MKX11} != "no"
56CONFIGFILES+=       xdm xfs fccache
57FILESBUILD_xdm=     yes
58FILESBUILD_xfs=     yes
59FILESBUILD_fccache= yes
60
61.SUFFIXES: .in
62.in:
63          ${_MKTARGET_CREATE}
64          ${TOOL_SED} -e 's,@X11ROOTDIR@,${X11ROOTDIR},g' < ${.IMPSRC} > ${.TARGET}
65.endif
66
67.if ${MKZFS} != "no"
68CONFIGFILES+=       zfs
69.endif
70
71.include <bsd.prog.mk>
72