]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/Makefile
MFC r342153, r342172-r342173
[FreeBSD/FreeBSD.git] / libexec / rc / rc.d / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 CONFDIR=        /etc/rc.d
6 CONFGROUPS=     CONFS
7 #PACKAGE=rc
8
9 CONFS=  DAEMON \
10         FILESYSTEMS \
11         LOGIN \
12         NETWORKING \
13         SERVERS \
14         abi \
15         addswap \
16         adjkerntz \
17         archdep \
18         bgfsck \
19         ${_blacklistd} \
20         ${_bluetooth} \
21         bridge \
22         ${_bthidd} \
23         cfumass \
24         cleanvar \
25         cleartmp \
26         cron \
27         ctld \
28         ddb \
29         defaultroute \
30         devd \
31         devfs \
32         devmatch \
33         dhclient \
34         dmesg \
35         dumpon \
36         fsck \
37         gbde \
38         geli \
39         geli2 \
40         gptboot \
41         growfs \
42         gssd \
43         ${_hcsecd} \
44         hostid \
45         hostid_save \
46         hostname \
47         iovctl \
48         ip6addrctl \
49         ipfilter \
50         ipfs \
51         ipmon \
52         ipnat \
53         ipsec \
54         ${_kadmind} \
55         ${_kdc} \
56         ${_kfd} \
57         kld \
58         kldxref \
59         ${_kpasswdd} \
60         ldconfig \
61         local \
62         localpkg \
63         lockd \
64         mixer \
65         motd \
66         mountcritlocal \
67         mountcritremote \
68         mountlate \
69         mdconfig \
70         mdconfig2 \
71         mountd \
72         msgs \
73         natd \
74         netif \
75         netoptions \
76         netwait \
77         newsyslog \
78         nfsclient \
79         nfscbd \
80         nfsd \
81         nfsuserd \
82         nisdomain \
83         ${_nscd} \
84         nsswitch \
85         ntpdate \
86         ${_opensm} \
87         pf \
88         pflog \
89         pfsync \
90         ppp \
91         pppoed \
92         pwcheck \
93         quota \
94         random \
95         rarpd \
96         rctl \
97         resolv \
98         root \
99         route6d \
100         routing \
101         rpcbind \
102         rtadvd \
103         rtsold \
104         rwho \
105         savecore \
106         securelevel \
107         serial \
108         sppp \
109         statd \
110         static_arp \
111         static_ndp \
112         stf \
113         swap \
114         swaplate \
115         sysctl \
116         syslogd \
117         tmp \
118         ${_ubthidhci} \
119         ugidfw \
120         ${_utx} \
121         var \
122         watchdogd
123
124 .if ${MK_NIS} != "no"
125 CONFS+= ypbind \
126         ypldap \
127         yppasswdd \
128         ypserv \
129         ypset \
130         ypupdated \
131         ypxfrd
132 .endif
133
134 .if ${MK_ACCT} != "no"
135 CONFGROUPS+=    ACCT
136 ACCT+=          accounting
137 ACCTPACKAGE=    acct
138 .endif
139
140 .if ${MK_ACPI} != "no"
141 CONFGROUPS+=    ACPI
142 ACPI=           power_profile
143 ACPIPACKAGE=    acpi
144 .endif
145
146 .if ${MK_ACPI} != "no" || ${MK_APM} != "no"
147 CONFS+=         powerd
148 .endif
149
150 .if ${MK_AMD} != "no"
151 CONFGROUPS+=    AMD
152 AMD+=           amd
153 AMDPACKAGE=     amd
154 .endif
155
156 .if ${MK_APM} != "no"
157 CONFGROUPS+=    APM
158 APM+=           apm
159 .if ${MACHINE} == "i386"
160 APM+=           apmd
161 .endif
162 APMPACKAGE=     apm
163 .endif
164
165 .if ${MK_AUDIT} != "no"
166 CONFGROUPS+=    AUDIT
167 AUDIT+=         auditd
168 AUDIT+=         auditdistd
169 .endif
170
171 .if ${MK_AUTOFS} != "no"
172 CONFS+=         automount
173 CONFS+=         automountd
174 CONFS+=         autounmountd
175 .endif
176
177 .if ${MK_BLACKLIST} != "no"
178 _blacklistd+=   blacklistd
179 .endif
180
181 .if ${MK_BLUETOOTH} != "no"
182 _bluetooth=     bluetooth
183 _bthidd=        bthidd
184 _hcsecd=        hcsecd
185 CONFS+=         rfcomm_pppd_server
186 CONFS+=         sdpd
187 _ubthidhci=     ubthidhci
188 .endif
189
190 .if ${MK_BOOTPARAMD} != "no"
191 CONFS+=         bootparams
192 .endif
193
194 .if ${MK_BSNMP} != "no"
195 CONFGROUPS+=    BSNMP
196 BSNMP+=         bsnmpd
197 BSNMPPACKAGE=   bsnmp
198 .endif
199
200 .if ${MK_CCD} != "no"
201 CONFS+=         ccd
202 .endif
203
204 .if ${MK_FTP} != "no"
205 CONFS+=         ftpd
206 .endif
207
208 .if ${MK_HAST} != "no"
209 CONFGROUPS+=    HAST
210 HAST=           hastd
211 HASTPACKAGE=    hast
212 .endif
213
214 .if ${MK_INETD} != "no"
215 CONFS+=         inetd
216 .endif
217
218 .if ${MK_IPFW} != "no"
219 CONFS+=         ipfw
220 .if ${MK_NETGRAPH} != "no"
221 CONFS+=         ipfw_netflow
222 .endif
223 .endif
224
225 .if ${MK_ISCSI} != "no"
226 CONFS+=         iscsictl
227 CONFS+=         iscsid
228 .endif
229
230 .if ${MK_JAIL} != "no"
231 CONFGROUPS+=    JAIL
232 JAIL+=          jail
233 JAILPACKAGE=    jail
234 .endif
235
236 .if ${MK_LEGACY_CONSOLE} != "no"
237 CONFS+=         moused
238 CONFS+=         syscons
239 .endif
240
241 .if ${MK_LPR} != "no"
242 CONFS+=         lpd
243 .endif
244
245 .if ${MK_KERBEROS} != "no"
246 CONFS+=         ipropd_master
247 CONFS+=         ipropd_slave
248 _kadmind=       kadmind
249 _kdc=           kdc
250 _kfd=           kfd
251 _kpasswdd=      kpasswdd
252
253 DIRS+=  VAR_HEMIDAL
254 VAR_HEMIDAL=    /var/heimdal
255 VAR_HEMIDAL_MODE=       700
256 .endif
257
258 .if ${MK_MAIL} != "no"
259 CONFS+=         othermta
260 .endif
261
262 .if ${MK_NS_CACHING} != "no"
263 _nscd=          nscd
264 .endif
265
266 .if ${MK_NTP} != "no"
267 CONFS+=         ntpd
268 .endif
269
270 .if ${MK_OFED} != "no"
271 _opensm=        opensm
272 .endif
273
274 .if ${MK_OPENSSL} != "no"
275 CONFS+=         keyserv
276 .endif
277
278 .if ${MK_OPENSSH} != "no"
279 CONFGROUPS+=    SSH
280 SSH=            sshd
281 SSHPACKAGE=     ssh
282 .endif
283
284 .if ${MK_PF} != "no"
285 CONFS+=         ftp-proxy
286 .endif
287
288 .if ${MK_ROUTED} != "no"
289 CONFS+=         routed
290 .endif
291
292 .if ${MK_SENDMAIL} != "no"
293 CONFGROUPS+=    SMRCD
294 SMRCD=          sendmail
295 SMRCDPACKAGE=   sendmail
296 .endif
297
298 .if ${MK_TIMED} != "no"
299 CONFS+=         timed
300 .endif
301
302 .if ${MK_UNBOUND} != "no"
303 CONFGROUPS+=    UNBOUND
304 UNBOUND+=       local_unbound
305 UNBOUNDPACKAGE= unbound
306 .endif
307
308 .if ${MK_UTMPX} != "no"
309 _utx=           utx
310 .endif
311
312 .if ${MK_VI} != "no"
313 CONFGROUPS+=    VI
314 VI+=            virecover
315 VIPACKAGE=      vi
316 .endif
317
318 .if ${MK_WIRELESS} != "no"
319 CONFS+=         hostapd
320 CONFS+=         wpa_supplicant
321 .endif
322
323 .if ${MK_ZFS} != "no"
324 CONFGROUPS+=    ZFS
325 ZFS+=           zfs
326 ZFS+=           zfsbe
327 ZFS+=           zfsd
328 ZFS+=           zvol
329 ZFSPACKAGE=     zfs
330 DIRS+=  ETC_ZFS
331 ETC_ZFS=        /etc/zfs
332 ETC_ZFSPACKAGE= zfs
333 .endif
334
335 .for fg in ${CONFGROUPS}
336 ${fg}MODE?=     ${BINMODE}
337 .endfor
338
339 .include <bsd.prog.mk>