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