]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/Makefile
rc.d: liberate powerd from ACPI dependency
[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         addswap \
15         adjkerntz \
16         archdep \
17         bgfsck \
18         ${_blacklistd} \
19         ${_bluetooth} \
20         bridge \
21         ${_bthidd} \
22         cfumass \
23         cleanvar \
24         cleartmp \
25         cron \
26         ctld \
27         ddb \
28         defaultroute \
29         devd \
30         devfs \
31         devmatch \
32         dhclient \
33         dmesg \
34         dumpon \
35         fsck \
36         gbde \
37         geli \
38         geli2 \
39         gptboot \
40         growfs \
41         gssd \
42         ${_hcsecd} \
43         hostid \
44         hostid_save \
45         hostname \
46         iovctl \
47         ip6addrctl \
48         ipsec \
49         ${_kadmind} \
50         ${_kdc} \
51         ${_kfd} \
52         kld \
53         kldxref \
54         ${_kpasswdd} \
55         ldconfig \
56         linux \
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         os-release \
84         pf \
85         pflog \
86         pfsync \
87         powerd \
88         ppp \
89         pppoed \
90         pwcheck \
91         quota \
92         random \
93         rarpd \
94         rctl \
95         resolv \
96         root \
97         route6d \
98         routing \
99         rpcbind \
100         rtadvd \
101         rtsold \
102         rwho \
103         savecore \
104         securelevel \
105         serial \
106         sppp \
107         statd \
108         static_arp \
109         static_ndp \
110         stf \
111         swap \
112         swaplate \
113         sysctl \
114         syslogd \
115         sysvipc \
116         tmp \
117         ${_ubthidhci} \
118         ugidfw \
119         ${_utx} \
120         var \
121         watchdogd
122
123 .if ${MK_NIS} != "no"
124 CONFS+= ypbind \
125         ypldap \
126         yppasswdd \
127         ypserv \
128         ypset \
129         ypupdated \
130         ypxfrd
131 .endif
132
133 .if ${MK_ACCT} != "no"
134 CONFGROUPS+=    ACCT
135 ACCT+=          accounting
136 ACCTPACKAGE=    acct
137 .endif
138
139 .if ${MK_ACPI} != "no"
140 CONFGROUPS+=    ACPI
141 ACPI=           power_profile
142 ACPIPACKAGE=    acpi
143 .endif
144
145 .if ${MK_AMD} != "no"
146 CONFGROUPS+=    AMD
147 AMD+=           amd
148 AMDPACKAGE=     amd
149 .endif
150
151 .if ${MK_APM} != "no"
152 CONFGROUPS+=    APM
153 APM+=           apm
154 .if ${MACHINE} == "i386"
155 APM+=           apmd
156 .endif
157 APMPACKAGE=     apm
158 .endif
159
160 .if ${MK_AUDIT} != "no"
161 CONFGROUPS+=    AUDIT
162 AUDIT+=         auditd
163 AUDIT+=         auditdistd
164 .endif
165
166 .if ${MK_AUTOFS} != "no"
167 CONFS+=         automount
168 CONFS+=         automountd
169 CONFS+=         autounmountd
170 .endif
171
172 .if ${MK_BLACKLIST} != "no"
173 _blacklistd+=   blacklistd
174 .endif
175
176 .if ${MK_BLUETOOTH} != "no"
177 _bluetooth=     bluetooth
178 _bthidd=        bthidd
179 _hcsecd=        hcsecd
180 CONFS+=         rfcomm_pppd_server
181 CONFS+=         sdpd
182 _ubthidhci=     ubthidhci
183 .endif
184
185 .if ${MK_BOOTPARAMD} != "no"
186 CONFS+=         bootparams
187 .endif
188
189 .if ${MK_BSNMP} != "no"
190 CONFGROUPS+=    BSNMP
191 BSNMP+=         bsnmpd
192 BSNMPPACKAGE=   bsnmp
193 .endif
194
195 .if ${MK_CCD} != "no"
196 CONFS+=         ccd
197 .endif
198
199 .if ${MK_FTP} != "no"
200 CONFS+=         ftpd
201 .endif
202
203 .if ${MK_HAST} != "no"
204 CONFGROUPS+=    HAST
205 HAST=           hastd
206 HASTPACKAGE=    hast
207 .endif
208
209 .if ${MK_INETD} != "no"
210 CONFS+=         inetd
211 .endif
212
213 .if ${MK_IPFILTER} != "no"
214 CONFS+= ipfilter \
215         ipfs \
216         ipmon \
217         ipnat \
218         ippool
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>