]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/Makefile
MFC r345079:
[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 .endif
220
221 .if ${MK_IPFW} != "no"
222 CONFS+=         ipfw
223 .if ${MK_NETGRAPH} != "no"
224 CONFS+=         ipfw_netflow
225 .endif
226 .endif
227
228 .if ${MK_ISCSI} != "no"
229 CONFS+=         iscsictl
230 CONFS+=         iscsid
231 .endif
232
233 .if ${MK_JAIL} != "no"
234 CONFGROUPS+=    JAIL
235 JAIL+=          jail
236 JAILPACKAGE=    jail
237 .endif
238
239 .if ${MK_LEGACY_CONSOLE} != "no"
240 CONFS+=         moused
241 CONFS+=         syscons
242 .endif
243
244 .if ${MK_LPR} != "no"
245 CONFS+=         lpd
246 .endif
247
248 .if ${MK_KERBEROS} != "no"
249 CONFS+=         ipropd_master
250 CONFS+=         ipropd_slave
251 _kadmind=       kadmind
252 _kdc=           kdc
253 _kfd=           kfd
254 _kpasswdd=      kpasswdd
255
256 DIRS+=  VAR_HEMIDAL
257 VAR_HEMIDAL=    /var/heimdal
258 VAR_HEMIDAL_MODE=       700
259 .endif
260
261 .if ${MK_MAIL} != "no"
262 CONFS+=         othermta
263 .endif
264
265 .if ${MK_NS_CACHING} != "no"
266 _nscd=          nscd
267 .endif
268
269 .if ${MK_NTP} != "no"
270 CONFS+=         ntpd
271 .endif
272
273 .if ${MK_OFED} != "no"
274 _opensm=        opensm
275 .endif
276
277 .if ${MK_OPENSSL} != "no"
278 CONFS+=         keyserv
279 .endif
280
281 .if ${MK_OPENSSH} != "no"
282 CONFGROUPS+=    SSH
283 SSH=            sshd
284 SSHPACKAGE=     ssh
285 .endif
286
287 .if ${MK_PF} != "no"
288 CONFS+=         ftp-proxy
289 .endif
290
291 .if ${MK_ROUTED} != "no"
292 CONFS+=         routed
293 .endif
294
295 .if ${MK_SENDMAIL} != "no"
296 CONFGROUPS+=    SMRCD
297 SMRCD=          sendmail
298 SMRCDPACKAGE=   sendmail
299 .endif
300
301 .if ${MK_TIMED} != "no"
302 CONFS+=         timed
303 .endif
304
305 .if ${MK_UNBOUND} != "no"
306 CONFGROUPS+=    UNBOUND
307 UNBOUND+=       local_unbound
308 UNBOUNDPACKAGE= unbound
309 .endif
310
311 .if ${MK_UTMPX} != "no"
312 _utx=           utx
313 .endif
314
315 .if ${MK_VI} != "no"
316 CONFGROUPS+=    VI
317 VI+=            virecover
318 VIPACKAGE=      vi
319 .endif
320
321 .if ${MK_WIRELESS} != "no"
322 CONFS+=         hostapd
323 CONFS+=         wpa_supplicant
324 .endif
325
326 .if ${MK_ZFS} != "no"
327 CONFGROUPS+=    ZFS
328 ZFS+=           zfs
329 ZFS+=           zfsbe
330 ZFS+=           zfsd
331 ZFS+=           zvol
332 ZFSPACKAGE=     zfs
333 DIRS+=  ETC_ZFS
334 ETC_ZFS=        /etc/zfs
335 ETC_ZFSPACKAGE= zfs
336 .endif
337
338 .for fg in ${CONFGROUPS}
339 ${fg}MODE?=     ${BINMODE}
340 .endfor
341
342 .include <bsd.prog.mk>