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