Makefile revision 211832
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 211832 2010-08-26 05:25:51Z imp $
3
4.include <bsd.own.mk>
5
6SUBDIR=	${_ac} \
7	${_accton} \
8	${_acpi} \
9	adduser \
10	${_amd} \
11	${_ancontrol} \
12	${_apm} \
13	${_apmd} \
14	arp \
15	${_asf} \
16	${_atm} \
17	${_audit} \
18	${_auditd} \
19	${_auditreduce} \
20	${_authpf} \
21	${_bluetooth} \
22	${_boot0cfg} \
23	${_boot98cfg} \
24	bootparamd \
25	${_bsnmpd} \
26	${_btxld} \
27	burncd \
28	cdcontrol \
29	chkgrp \
30	chown \
31	chroot \
32	ckdist \
33	clear_locks \
34	${_config} \
35	${_cpucontrol} \
36	crashinfo \
37	cron \
38	${_crunch} \
39	${_ctm} \
40	daemon \
41	dconschat \
42	devinfo \
43	digictl \
44	diskinfo \
45	${_dnssec-dsfromkey} \
46	${_dnssec-keyfromlabel} \
47	${_dnssec-keygen} \
48	${_dnssec-signzone} \
49	dumpcis \
50	${_editmap} \
51	${_edquota} \
52	${_eeprom} \
53	extattr \
54	extattrctl \
55	${_faithd} \
56	${_fdcontrol} \
57	${_fdformat} \
58	${_fdread} \
59	${_fdwrite} \
60	fifolog \
61	${_flowctl} \
62	${_freebsd-update} \
63	${_ftp-proxy} \
64	fwcontrol \
65	getfmac \
66	getpmac \
67	gstat \
68	${_gssd} \
69	i2c \
70	ifmcstat \
71	inetd \
72	iostat \
73	${_ip6addrctl} \
74	${_ipfwpcap} \
75	${_IPXrouted} \
76	${_jail} \
77	${_jexec} \
78	${_jls} \
79	${_kbdcontrol} \
80	${_kbdmap} \
81	${_keyserv} \
82	${_kgmon} \
83	${_kgzip} \
84	kldxref \
85	lastlogin \
86	${_lmcconfig} \
87	${_lpr} \
88	${_lptcontrol} \
89	${_mailstats} \
90	mailwrapper \
91	makefs \
92	${_makemap} \
93	${_manctl} \
94	memcontrol \
95	mergemaster \
96	mfiutil \
97	mixer \
98	${_mld6query} \
99	mlxcontrol \
100	mountd \
101	${_mount_nwfs} \
102	mount_portalfs \
103	${_mount_smbfs} \
104	${_moused} \
105	${_mptable} \
106	mptutil \
107	mtest \
108	mtree \
109	${_named} \
110	${_named-checkconf} \
111	${_named-checkzone} \
112	${_named.reload} \
113	${_ndiscvt} \
114	${_ndp} \
115	newsyslog \
116	nfscbd \
117	nfsd \
118	nfsdumpstate \
119	nfsrevoke \
120	nfsuserd \
121	${_ngctl} \
122	${_nghook} \
123	nologin \
124	${_nscd} \
125	${_ntp} \
126	${_nvram} \
127	${_ofwdump} \
128	pc-sysinstall \
129	pciconf \
130	periodic \
131	${_pkg_install} \
132	${_pmcannotate} \
133	${_pmccontrol} \
134	${_pmcstat} \
135	${_pnpinfo} \
136	${_portsnap} \
137	powerd \
138	${_ppp} \
139	${_pppctl} \
140	${_praliases} \
141	${_praudit} \
142	procctl \
143	pstat \
144	pw \
145	pwd_mkdb \
146	quot \
147	${_quotaon} \
148	rarpd \
149	${_repquota} \
150	${_rip6query} \
151	rmt \
152	${_rndc} \
153	${_rndc-confgen} \
154	${_route6d} \
155	rpcbind \
156	rpc.lockd \
157	rpc.statd \
158	rpc.umntall \
159	${_rpc.yppasswdd} \
160	${_rpc.ypupdated} \
161	${_rpc.ypxfrd} \
162	${_rrenumd} \
163	${_rtadvd} \
164	rtprio \
165	${_rtsold} \
166	${_rwhod} \
167	${_sa} \
168	${_sade} \
169	${_sendmail} \
170	service \
171	services_mkdb \
172	setfib \
173	setfmac \
174	setpmac \
175	${_sicontrol} \
176	smbmsg \
177	snapinfo \
178	${_spkrtest} \
179	spray \
180	${_sysinstall} \
181	syslogd \
182	tcpdchk \
183	tcpdmatch \
184	tcpdrop \
185	tcpdump \
186	timed \
187	traceroute \
188	${_traceroute6} \
189	trpt \
190	tzsetup \
191	${_uathload} \
192	ugidfw \
193	${_uhsoctl} \
194	${_usbdevs} \
195	${_usbconfig} \
196	${_vidcontrol} \
197	vipw \
198	wake \
199	watch \
200	watchdogd \
201	${_wlandebug} \
202	${_wlconfig} \
203	${_wpa} \
204	${_ypbind} \
205	${_yp_mkdb} \
206	${_yppoll} \
207	${_yppush} \
208	${_ypserv} \
209	${_ypset} \
210	zic \
211	${_zzz}
212
213# NB: keep these sorted by MK_* knobs
214
215.if ${MK_ACCT} != "no"
216_ac=		ac
217_accton=	accton
218_sa=		sa
219.endif
220
221.if ${MK_AMD} != "no"
222_amd=		amd
223.endif
224
225.if ${MK_AUDIT} != "no"
226_audit=		audit
227_auditd=	auditd
228_auditreduce=	auditreduce
229_praudit=	praudit
230.endif
231
232.if ${MK_AUTHPF} != "no"
233_authpf=	authpf
234.endif
235
236.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
237_dnssec-dsfromkey=	dnssec-dsfromkey
238_dnssec-keyfromlabel=	dnssec-keyfromlabel
239_dnssec-keygen=		dnssec-keygen
240_dnssec-signzone=	dnssec-signzone
241.endif
242.if ${MK_BIND_NAMED} != "no"
243_named=			named
244_named-checkconf=	named-checkconf
245_named-checkzone=	named-checkzone
246_named.reload=		named.reload
247_rndc=			rndc
248_rndc-confgen=		rndc-confgen
249.endif
250
251.if ${MK_BLUETOOTH} != "no"
252_bluetooth=	bluetooth
253.endif
254
255.if ${MK_BSNMP} != "no"
256_bsnmpd=	bsnmpd
257.endif
258
259.if ${MK_CTM} != "no"
260_ctm=		ctm
261.endif
262
263.if ${MK_FLOPPY} != "no"
264_fdcontrol=	fdcontrol
265_fdformat=	fdformat
266_fdread=	fdread
267_fdwrite=	fdwrite
268.endif
269
270.if ${MK_FREEBSD_UPDATE} != "no"
271_freebsd-update= freebsd-update
272.endif
273
274.if ${MK_GSSAPI} != no
275_gssd=		gssd
276.endif
277
278.if ${MK_INET6} != "no"
279_faithd=	faithd
280_ip6addrctl=	ip6addrctl
281_mld6query=	mld6query
282_ndp=		ndp
283_rip6query=	rip6query
284_route6d=	route6d
285_rrenumd=	rrenumd
286_rtadvd=	rtadvd
287_rtsold=	rtsold
288_traceroute6=	traceroute6
289.endif
290
291.if ${MK_IPFW} != "no"
292_ipfwpcap=	ipfwpcap
293.endif
294
295.if ${MK_IPX} != "no"
296_IPXrouted=	IPXrouted
297.endif
298
299.if ${MK_JAIL} != "no"
300_jail=		jail
301_jexec=		jexec
302_jls=		jls
303.endif
304
305# XXX MK_SYSCONS
306.if ${MK_LEGACY_CONSOLE} != "no"
307_kbdcontrol=	kbdcontrol
308_kbdmap=	kbdmap
309_moused=	moused
310_vidcontrol=	vidcontrol
311.endif
312
313.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
314.if ${MK_PPP} != "no"
315_pppctl=	pppctl
316.endif
317.if ${MK_NS_CACHING} != "no"
318_nscd=		nscd
319.endif
320.endif
321
322.if ${MK_LPR} != "no"
323_lpr=		lpr
324.endif
325
326.if ${MK_MAN_UTILS} != "no"
327_manctl=	manctl
328.endif
329
330.if ${MK_NETGRAPH} != "no"
331_flowctl=	flowctl
332_lmcconfig=	lmcconfig
333_ngctl=		ngctl
334_nghook=	nghook
335.endif
336
337.if ${MK_NIS} != "no"
338_rpc.yppasswdd=	rpc.yppasswdd
339_rpc.ypupdated=	rpc.ypupdated
340_rpc.ypxfrd=	rpc.ypxfrd
341_ypbind=	ypbind
342_yp_mkdb=	yp_mkdb
343_yppoll=	yppoll
344_yppush=	yppush
345_ypserv=	ypserv
346_ypset=		ypset
347.endif
348
349.if ${MK_NTP} != "no"
350_ntp=		ntp
351.endif
352
353.if ${MK_OPENSSL} != "no"
354_keyserv=	keyserv
355.endif
356
357.if ${MK_PF} != "no"
358_ftp-proxy=	ftp-proxy
359.endif
360
361.if ${MK_PKGTOOLS} != "no"
362_pkg_install=	pkg_install
363.endif
364
365# XXX MK_TOOLCHAIN?
366.if ${MK_PMC} != "no"
367_pmcannotate=	pmcannotate
368_pmccontrol=	pmccontrol
369_pmcstat=	pmcstat
370.endif
371
372.if ${MK_PORTSNAP} != "no"
373_portsnap=	portsnap
374.endif
375
376.if ${MK_PPP} != "no"
377_ppp=		ppp
378#_pppctl handled below
379.endif
380
381.if ${MK_QUOTAS} != "no"
382_edquota=	edquota
383_quotaon=	quotaon
384_repquota=	repquota
385.endif
386
387.if ${MK_RCMDS} != "no"
388_rwhod=		rwhod
389.endif
390
391.if ${MK_SENDMAIL} != "no"
392_editmap=	editmap
393_mailstats=	mailstats
394_makemap=	makemap
395_praliases=	praliases
396_sendmail=	sendmail
397.endif
398
399.if ${MK_SYSINSTALL} != "no"
400.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
401    ${MACHINE_ARCH} == "sparc64"
402_sade=		sade
403.endif
404.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
405_sysinstall=	sysinstall
406.endif
407.endif
408
409.if ${MK_TOOLCHAIN} != "no"
410_config=	config
411_crunch=	crunch
412.endif
413
414.if ${MK_USB} != "no"
415.if ${MACHINE_ARCH} != "ia64" && \
416	!(${MACHINE_ARCH} == "mips" && ${TARGET_ABI} == "n64")
417_uathload=	uathload
418.endif
419_uhsoctl=	uhsoctl
420#_usbdevs=	usbdevs
421_usbconfig=	usbconfig
422.endif
423
424.if ${MK_WIRELESS} != "no"
425_ancontrol=	ancontrol
426_wlandebug=	wlandebug
427_wpa=		wpa
428.endif
429
430.if ${MACHINE_ARCH} == "arm"
431_kgmon=		kgmon
432.endif
433
434.if ${MACHINE_ARCH} == "i386"
435.if ${MK_APM} != "no"
436_apm=		apm
437_apmd=		apmd
438.endif
439_asf=		asf
440.if ${MK_TOOLCHAIN} != "no"
441_btxld=		btxld
442.endif
443_cpucontrol=	cpucontrol
444_kgmon=		kgmon
445_kgzip=		kgzip
446_lptcontrol=	lptcontrol
447.if ${MK_NCP} != "no"
448_mount_nwfs=	mount_nwfs
449.endif
450_mount_smbfs=	mount_smbfs
451_mptable=	mptable
452.if ${MK_NDIS} != "no"
453_ndiscvt=	ndiscvt
454.endif
455_pnpinfo=	pnpinfo
456_sicontrol=	sicontrol
457_spkrtest=	spkrtest
458_zzz=		zzz
459.if ${MACHINE} == "i386"
460.if ${MK_ACPI} != "no"
461_acpi=		acpi
462.endif
463_boot0cfg=	boot0cfg
464.if ${MK_WIRELESS} != "no"
465_wlconfig=	wlconfig
466.endif
467.elif ${MACHINE} == "pc98"
468_boot98cfg=	boot98cfg
469.endif
470.endif
471
472# kgzip: builds, but missing support files
473# mptable: broken (not 64 bit clean)
474# pnpinfo: crashes (not really useful anyway)
475.if ${MACHINE_ARCH} == "amd64"
476.if ${MK_ACPI} != "no"
477_acpi=		acpi
478.endif
479.if ${MK_APM} != "no"
480_apm=		apm
481.endif
482_asf=		asf
483_boot0cfg=	boot0cfg
484.if ${MK_TOOLCHAIN} != "no"
485_btxld=		btxld
486.endif
487_cpucontrol=	cpucontrol
488_kgmon=		kgmon
489_lptcontrol=	lptcontrol
490.if ${MK_NCP} != "no"
491_mount_nwfs=	mount_nwfs
492.endif
493_mount_smbfs=	mount_smbfs
494_mptable=	mptable
495.if ${MK_NDIS} != "no"
496_ndiscvt=	ndiscvt
497.endif
498_sicontrol=	sicontrol
499_spkrtest=	spkrtest
500_zzz=		zzz
501.endif
502
503.if ${MACHINE_ARCH} == "arm"
504_ofwdump=	ofwdump
505.endif
506
507.if ${MACHINE_ARCH} == "ia64"
508.if ${MK_ACPI} != "no"
509_acpi=		acpi
510.endif
511_kgmon=		kgmon
512_mount_smbfs=	mount_smbfs
513_zzz=		zzz
514.endif
515
516.if ${MACHINE_CPUARCH} == "powerpc"
517_mount_smbfs=	mount_smbfs
518_nvram=		nvram
519_ofwdump=	ofwdump
520.endif
521
522.if ${MACHINE_ARCH} == "sparc64"
523_eeprom=	eeprom
524_mount_smbfs=	mount_smbfs
525_ofwdump=	ofwdump
526.endif
527
528.include <bsd.subdir.mk>
529