]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/Makefile
Extend the linux rc script to mount the neccessary file systems,
[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         addswap \
15         adjkerntz \
16         archdep \
17         bgfsck \
18         ${_blacklistd} \
19         bridge \
20         cfumass \
21         cleanvar \
22         cleartmp \
23         cron \
24         ctld \
25         ddb \
26         defaultroute \
27         devd \
28         devfs \
29         devmatch \
30         dhclient \
31         dmesg \
32         dumpon \
33         fsck \
34         gbde \
35         geli \
36         geli2 \
37         gptboot \
38         growfs \
39         gssd \
40         hostid \
41         hostid_save \
42         hostname \
43         iovctl \
44         ip6addrctl \
45         ipsec \
46         ${_kadmind} \
47         ${_kdc} \
48         ${_kfd} \
49         kld \
50         kldxref \
51         ${_kpasswdd} \
52         ldconfig \
53         linux \
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         sysvipc \
111         tmp \
112         ugidfw \
113         ${_utx} \
114         var \
115         watchdogd
116
117 .if ${MK_NIS} != "no"
118 CONFS+= ypbind \
119         ypldap \
120         yppasswdd \
121         ypserv \
122         ypset \
123         ypupdated \
124         ypxfrd
125 .endif
126
127 .if ${MK_ACCT} != "no"
128 CONFGROUPS+=    ACCT
129 ACCT+=          accounting
130 ACCTPACKAGE=    acct
131 .endif
132
133 .if ${MK_ACPI} != "no"
134 CONFGROUPS+=    ACPI
135 ACPI=           power_profile
136 ACPIPACKAGE=    acpi
137 .endif
138
139 .if ${MK_ACPI} != "no" || ${MK_APM} != "no"
140 CONFS+=         powerd
141 .endif
142
143 .if ${MK_AMD} != "no"
144 CONFGROUPS+=    AMD
145 AMD+=           amd
146 AMDPACKAGE=     amd
147 .endif
148
149 .if ${MK_APM} != "no"
150 CONFGROUPS+=    APM
151 APM+=           apm
152 .if ${MACHINE} == "i386"
153 APM+=           apmd
154 .endif
155 APMPACKAGE=     apm
156 .endif
157
158 .if ${MK_AUDIT} != "no"
159 CONFGROUPS+=    AUDIT
160 AUDIT+=         auditd
161 AUDIT+=         auditdistd
162 .endif
163
164 .if ${MK_AUTOFS} != "no"
165 CONFS+=         automount
166 CONFS+=         automountd
167 CONFS+=         autounmountd
168 .endif
169
170 .if ${MK_BLACKLIST} != "no"
171 _blacklistd+=   blacklistd
172 .endif
173
174 .if ${MK_BLUETOOTH} != "no"
175 CONFGROUPS+=    BLUETOOTH
176 BLUETOOTH+=     bluetooth \
177                 bthidd \
178                 hcsecd \
179                 rfcomm_pppd_server \
180                 sdpd \
181                 ubthidhci
182 BLUETOOTHPACKAGE=       bluetooth
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_UNBOUND} != "no"
302 CONFGROUPS+=    UNBOUND
303 UNBOUND+=       local_unbound
304 UNBOUNDPACKAGE= unbound
305 .endif
306
307 .if ${MK_UTMPX} != "no"
308 _utx=           utx
309 .endif
310
311 .if ${MK_VI} != "no"
312 CONFGROUPS+=    VI
313 VI+=            virecover
314 VIPACKAGE=      vi
315 .endif
316
317 .if ${MK_WIRELESS} != "no"
318 CONFS+=         hostapd
319 CONFS+=         wpa_supplicant
320 .endif
321
322 .if ${MK_ZFS} != "no"
323 CONFGROUPS+=    ZFS
324 ZFS+=           zfs
325 ZFS+=           zfsbe
326 ZFS+=           zfsd
327 ZFS+=           zvol
328 .endif
329
330 .for fg in ${CONFGROUPS}
331 ${fg}MODE?=     ${BINMODE}
332 .endfor
333
334 .include <bsd.prog.mk>