summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
blob: 160b122571ae8a0a5d35c469db26d533cab717e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
# $FreeBSD$

.include <bsd.own.mk>

# XXX MISSING:		mkproto
SUBDIR=	${_ac} \
	${_accton} \
	${_acpi} \
	adduser \
	${_amd} \
	${_ancontrol} \
	${_apm} \
	${_apmd} \
	arp \
	${_asf} \
	${_atm} \
	${_audit} \
	${_auditd} \
	${_auditreduce} \
	${_authpf} \
	${_bluetooth} \
	${_boot0cfg} \
	${_boot98cfg} \
	bootparamd \
	${_bsnmpd} \
	${_btxld} \
	burncd \
	cdcontrol \
	chkgrp \
	chown \
	chroot \
	ckdist \
	clear_locks \
	${_config} \
	${_cpucontrol} \
	crashinfo \
	cron \
	${_crunch} \
	${_ctm} \
	daemon \
	dconschat \
	devinfo \
	digictl \
	diskinfo \
	${_dnssec-dsfromkey} \
	${_dnssec-keyfromlabel} \
	${_dnssec-keygen} \
	${_dnssec-signzone} \
	dumpcis \
	${_editmap} \
	${_edquota} \
	${_eeprom} \
	extattr \
	extattrctl \
	${_faithd} \
	${_fdcontrol} \
	${_fdformat} \
	${_fdread} \
	${_fdwrite} \
	fifolog \
	${_flowctl} \
	${_freebsd-update} \
	${_ftp-proxy} \
	fwcontrol \
	getfmac \
	getpmac \
	gstat \
	${_gssd} \
	i2c \
	ifmcstat \
	inetd \
	iostat \
	${_ip6addrctl} \
	${_ipfwpcap} \
	${_IPXrouted} \
	${_jail} \
	${_jexec} \
	${_jls} \
	${_kbdcontrol} \
	${_kbdmap} \
	${_keyserv} \
	${_kgmon} \
	${_kgzip} \
	kldxref \
	lastlogin \
	${_lmcconfig} \
	${_lpr} \
	${_lptcontrol} \
	${_mailstats} \
	mailwrapper \
	makefs \
	${_makemap} \
	manctl \
	memcontrol \
	mergemaster \
	mfiutil \
	mixer \
	${_mld6query} \
	mlxcontrol \
	mountd \
	${_mount_nwfs} \
	mount_portalfs \
	${_mount_smbfs} \
	${_moused} \
	${_mptable} \
	mptutil \
	mtest \
	mtree \
	${_named} \
	${_named-checkconf} \
	${_named-checkzone} \
	${_named.reload} \
	${_ndiscvt} \
	${_ndp} \
	newsyslog \
	nfscbd \
	nfsd \
	nfsdumpstate \
	nfsrevoke \
	nfsuserd \
	${_ngctl} \
	${_nghook} \
	nologin \
	${_nscd} \
	${_ntp} \
	${_nvram} \
	${_ofwdump} \
	pciconf \
	periodic \
	${_pkg_install} \
	${_pmcannotate} \
	${_pmccontrol} \
	${_pmcstat} \
	${_pnpinfo} \
	${_portsnap} \
	powerd \
	${_ppp} \
	${_pppctl} \
	${_praliases} \
	${_praudit} \
	procctl \
	pstat \
	pw \
	pwd_mkdb \
	quot \
	${_quotaon} \
	rarpd \
	${_repquota} \
	${_rip6query} \
	rmt \
	${_rndc} \
	${_rndc-confgen} \
	${_route6d} \
	rpcbind \
	rpc.lockd \
	rpc.statd \
	rpc.umntall \
	${_rpc.yppasswdd} \
	${_rpc.ypupdated} \
	${_rpc.ypxfrd} \
	${_rrenumd} \
	${_rtadvd} \
	rtprio \
	${_rtsold} \
	${_rwhod} \
	${_sa} \
	${_sade} \
	${_sendmail} \
	setfib \
	setfmac \
	setpmac \
	${_sicontrol} \
	smbmsg \
	snapinfo \
	${_spkrtest} \
	spray \
	${_sysinstall} \
	syslogd \
	tcpdchk \
	tcpdmatch \
	tcpdrop \
	tcpdump \
	timed \
	traceroute \
	${_traceroute6} \
	trpt \
	tzsetup \
	${_uathload} \
	ugidfw \
	${_usbdevs} \
	${_usbconfig} \
	${_vidcontrol} \
	vipw \
	wake \
	watch \
	watchdogd \
	${_wlandebug} \
	${_wlconfig} \
	${_wpa} \
	${_ypbind} \
	${_yp_mkdb} \
	${_yppoll} \
	${_yppush} \
	${_ypserv} \
	${_ypset} \
	zic \
	${_zzz}

# NB: keep these sorted by MK_* knobs

.if ${MK_ACCT} != "no"
_ac=		ac
_accton=	accton
_sa=		sa
.endif

.if ${MK_AMD} != "no"
_amd=		amd
.endif

.if ${MK_AUDIT} != "no"
_audit=		audit
_auditd=	auditd
_auditreduce=	auditreduce
_praudit=	praudit
.endif

.if ${MK_AUTHPF} != "no"
_authpf=	authpf
.endif

.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
_dnssec-dsfromkey=	dnssec-dsfromkey
_dnssec-keyfromlabel=	dnssec-keyfromlabel
_dnssec-keygen=		dnssec-keygen
_dnssec-signzone=	dnssec-signzone
.endif
.if ${MK_BIND_NAMED} != "no"
_named=			named
_named-checkconf=	named-checkconf
_named-checkzone=	named-checkzone
_named.reload=		named.reload
_rndc=			rndc
_rndc-confgen=		rndc-confgen
.endif

.if ${MK_BLUETOOTH} != "no"
_bluetooth=	bluetooth
.endif

.if ${MK_BSNMP} != "no"
_bsnmpd=	bsnmpd
.endif

.if ${MK_CTM} != "no"
_ctm=		ctm
.endif

.if ${MK_FLOPPY} != "no"
_fdcontrol=	fdcontrol
_fdformat=	fdformat
_fdread=	fdread
_fdwrite=	fdwrite
.endif

.if ${MK_FREEBSD_UPDATE} != "no"
_freebsd-update= freebsd-update
.endif

.if ${MK_GSSAPI} != no
_gssd=		gssd
.endif

.if ${MK_INET6} != "no"
_faithd=	faithd
_ip6addrctl=	ip6addrctl
_mld6query=	mld6query
_ndp=		ndp
_rip6query=	rip6query
_route6d=	route6d
_rrenumd=	rrenumd
_rtadvd=	rtadvd
_rtsold=	rtsold
_traceroute6=	traceroute6
.endif

.if ${MK_IPFW} != "no"
_ipfwpcap=	ipfwpcap
.endif

.if ${MK_IPX} != "no"
_IPXrouted=	IPXrouted
.endif

.if ${MK_JAIL} != "no"
_jail=		jail
_jexec=		jexec
_jls=		jls
.endif

# XXX MK_SYSCONS
# XXX is moused w/ usb useful?
.if ${MK_LEGACY_CONSOLE} != "no"
_kbdcontrol=	kbdcontrol
_kbdmap=	kbdmap
_moused=	moused
_vidcontrol=	vidcontrol
.endif

.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
.if ${MK_PPP} != "no"
_pppctl=	pppctl
.endif
.if ${MK_NS_CACHING} != "no"
_nscd=		nscd
.endif
.endif

.if ${MK_LPR} != "no"
_lpr=		lpr
.endif

.if ${MK_NETGRAPH} != "no"
_flowctl=	flowctl
_lmcconfig=	lmcconfig
_ngctl=		ngctl
_nghook=	nghook
.endif

.if ${MK_NIS} != "no"
_rpc.yppasswdd=	rpc.yppasswdd
_rpc.ypupdated=	rpc.ypupdated
_rpc.ypxfrd=	rpc.ypxfrd
_ypbind=	ypbind
_yp_mkdb=	yp_mkdb
_yppoll=	yppoll
_yppush=	yppush
_ypserv=	ypserv
_ypset=		ypset
.endif

.if ${MK_NTP} != "no"
_ntp=		ntp
.endif

.if ${MK_OPENSSL} != "no"
_keyserv=	keyserv
.endif

.if ${MK_PF} != "no"
_ftp-proxy=	ftp-proxy
.endif

.if ${MK_PKGTOOLS} != "no"
_pkg_install=	pkg_install
.endif

# XXX MK_TOOLCHAIN?
.if ${MK_PMC} != "no"
_pmcannotate=	pmcannotate
_pmccontrol=	pmccontrol
_pmcstat=	pmcstat
.endif

.if ${MK_PORTSNAP} != "no"
_portsnap=	portsnap
.endif

.if ${MK_PPP} != "no"
_ppp=		ppp
#_pppctl handled below
.endif

.if ${MK_QUOTAS} != "no"
_edquota=	edquota
_quotaon=	quotaon
_repquota=	repquota
.endif

.if ${MK_RCMDS} != "no"
_rwhod=		rwhod
.endif

.if ${MK_SENDMAIL} != "no"
_editmap=	editmap
_mailstats=	mailstats
_makemap=	makemap
_praliases=	praliases
_sendmail=	sendmail
.endif

.if ${MK_SYSINSTALL} != "no"
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
    ${MACHINE_ARCH} == "sparc64"
_sade=		sade
.endif
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
_sysinstall=	sysinstall
.endif
.endif

.if ${MK_TOOLCHAIN} != "no"
_config=	config
_crunch=	crunch
.endif

.if ${MK_USB} != "no"
.if ${MACHINE_ARCH} != "ia64"
_uathload=	uathload
.endif
#_usbdevs=	usbdevs
_usbconfig=	usbconfig
.endif

.if ${MK_WIRELESS} != "no"
_ancontrol=	ancontrol
_wlandebug=	wlandebug
_wpa=		wpa
.endif

.if ${MACHINE_ARCH} == "arm"
_kgmon=		kgmon
.endif

.if ${MACHINE_ARCH} == "i386"
.if ${MK_APM} != "no"
_apm=		apm
_apmd=		apmd
.endif
_asf=		asf
.if ${MK_TOOLCHAIN} != "no"
_btxld=		btxld
.endif
_cpucontrol=	cpucontrol
_kgmon=		kgmon
_kgzip=		kgzip
_lptcontrol=	lptcontrol
.if ${MK_NCP} != "no"
_mount_nwfs=	mount_nwfs
.endif
_mount_smbfs=	mount_smbfs
_mptable=	mptable
.if ${MK_NDIS} != "no"
_ndiscvt=	ndiscvt
.endif
_pnpinfo=	pnpinfo
_sicontrol=	sicontrol
_spkrtest=	spkrtest
_zzz=		zzz
.if ${MACHINE} == "i386"
.if ${MK_ACPI} != "no"
_acpi=		acpi
.endif
_boot0cfg=	boot0cfg
.if ${MK_WIRELESS} != "no"
_wlconfig=	wlconfig
.endif
.elif ${MACHINE} == "pc98"
_boot98cfg=	boot98cfg
.endif
.endif

# kgzip: builds, but missing support files
# mptable: broken (not 64 bit clean)
# pnpinfo: crashes (not really useful anyway)
.if ${MACHINE_ARCH} == "amd64"
.if ${MK_ACPI} != "no"
_acpi=		acpi
.endif
_asf=		asf
_boot0cfg=	boot0cfg
.if ${MK_TOOLCHAIN} != "no"
_btxld=		btxld
.endif
_cpucontrol=	cpucontrol
_kgmon=		kgmon
_lptcontrol=	lptcontrol
.if ${MK_NCP} != "no"
_mount_nwfs=	mount_nwfs
.endif
_mount_smbfs=	mount_smbfs
_mptable=	mptable
.if ${MK_NDIS} != "no"
_ndiscvt=	ndiscvt
.endif
_sicontrol=	sicontrol
_spkrtest=	spkrtest
_zzz=		zzz
.endif

.if ${MACHINE_ARCH} == "ia64"
.if ${MK_ACPI} != "no"
_acpi=		acpi
.endif
_kgmon=		kgmon
_mount_smbfs=	mount_smbfs
_zzz=		zzz
.endif

.if ${MACHINE_ARCH} == "powerpc"
_mount_smbfs=	mount_smbfs
_nvram=		nvram
_ofwdump=	ofwdump
.endif

.if ${MACHINE_ARCH} == "sparc64"
_eeprom=	eeprom
_ofwdump=	ofwdump
.endif

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud