Makefile revision 206052
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 206052 2010-04-01 17:04:37Z 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	pciconf \
129	periodic \
130	${_pkg_install} \
131	${_pmcannotate} \
132	${_pmccontrol} \
133	${_pmcstat} \
134	${_pnpinfo} \
135	${_portsnap} \
136	powerd \
137	${_ppp} \
138	${_pppctl} \
139	${_praliases} \
140	${_praudit} \
141	procctl \
142	pstat \
143	pw \
144	pwd_mkdb \
145	quot \
146	${_quotaon} \
147	rarpd \
148	${_repquota} \
149	${_rip6query} \
150	rmt \
151	${_rndc} \
152	${_rndc-confgen} \
153	${_route6d} \
154	rpcbind \
155	rpc.lockd \
156	rpc.statd \
157	rpc.umntall \
158	${_rpc.yppasswdd} \
159	${_rpc.ypupdated} \
160	${_rpc.ypxfrd} \
161	${_rrenumd} \
162	${_rtadvd} \
163	rtprio \
164	${_rtsold} \
165	${_rwhod} \
166	${_sa} \
167	${_sade} \
168	${_sendmail} \
169	service \
170	setfib \
171	setfmac \
172	setpmac \
173	${_sicontrol} \
174	smbmsg \
175	snapinfo \
176	${_spkrtest} \
177	spray \
178	${_sysinstall} \
179	syslogd \
180	tcpdchk \
181	tcpdmatch \
182	tcpdrop \
183	tcpdump \
184	timed \
185	traceroute \
186	${_traceroute6} \
187	trpt \
188	tzsetup \
189	${_uathload} \
190	ugidfw \
191	${_uhsoctl} \
192	${_usbdevs} \
193	${_usbconfig} \
194	${_vidcontrol} \
195	vipw \
196	wake \
197	watch \
198	watchdogd \
199	${_wlandebug} \
200	${_wlconfig} \
201	${_wpa} \
202	${_ypbind} \
203	${_yp_mkdb} \
204	${_yppoll} \
205	${_yppush} \
206	${_ypserv} \
207	${_ypset} \
208	zic \
209	${_zzz}
210
211# NB: keep these sorted by MK_* knobs
212
213.if ${MK_ACCT} != "no"
214_ac=		ac
215_accton=	accton
216_sa=		sa
217.endif
218
219.if ${MK_AMD} != "no"
220_amd=		amd
221.endif
222
223.if ${MK_AUDIT} != "no"
224_audit=		audit
225_auditd=	auditd
226_auditreduce=	auditreduce
227_praudit=	praudit
228.endif
229
230.if ${MK_AUTHPF} != "no"
231_authpf=	authpf
232.endif
233
234.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
235_dnssec-dsfromkey=	dnssec-dsfromkey
236_dnssec-keyfromlabel=	dnssec-keyfromlabel
237_dnssec-keygen=		dnssec-keygen
238_dnssec-signzone=	dnssec-signzone
239.endif
240.if ${MK_BIND_NAMED} != "no"
241_named=			named
242_named-checkconf=	named-checkconf
243_named-checkzone=	named-checkzone
244_named.reload=		named.reload
245_rndc=			rndc
246_rndc-confgen=		rndc-confgen
247.endif
248
249.if ${MK_BLUETOOTH} != "no"
250_bluetooth=	bluetooth
251.endif
252
253.if ${MK_BSNMP} != "no"
254_bsnmpd=	bsnmpd
255.endif
256
257.if ${MK_CTM} != "no"
258_ctm=		ctm
259.endif
260
261.if ${MK_FLOPPY} != "no"
262_fdcontrol=	fdcontrol
263_fdformat=	fdformat
264_fdread=	fdread
265_fdwrite=	fdwrite
266.endif
267
268.if ${MK_FREEBSD_UPDATE} != "no"
269_freebsd-update= freebsd-update
270.endif
271
272.if ${MK_GSSAPI} != no
273_gssd=		gssd
274.endif
275
276.if ${MK_INET6} != "no"
277_faithd=	faithd
278_ip6addrctl=	ip6addrctl
279_mld6query=	mld6query
280_ndp=		ndp
281_rip6query=	rip6query
282_route6d=	route6d
283_rrenumd=	rrenumd
284_rtadvd=	rtadvd
285_rtsold=	rtsold
286_traceroute6=	traceroute6
287.endif
288
289.if ${MK_IPFW} != "no"
290_ipfwpcap=	ipfwpcap
291.endif
292
293.if ${MK_IPX} != "no"
294_IPXrouted=	IPXrouted
295.endif
296
297.if ${MK_JAIL} != "no"
298_jail=		jail
299_jexec=		jexec
300_jls=		jls
301.endif
302
303# XXX MK_SYSCONS
304.if ${MK_LEGACY_CONSOLE} != "no"
305_kbdcontrol=	kbdcontrol
306_kbdmap=	kbdmap
307_moused=	moused
308_vidcontrol=	vidcontrol
309.endif
310
311.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
312.if ${MK_PPP} != "no"
313_pppctl=	pppctl
314.endif
315.if ${MK_NS_CACHING} != "no"
316_nscd=		nscd
317.endif
318.endif
319
320.if ${MK_LPR} != "no"
321_lpr=		lpr
322.endif
323
324.if ${MK_NETGRAPH} != "no"
325_flowctl=	flowctl
326_lmcconfig=	lmcconfig
327_ngctl=		ngctl
328_nghook=	nghook
329.endif
330
331.if ${MK_NIS} != "no"
332_rpc.yppasswdd=	rpc.yppasswdd
333_rpc.ypupdated=	rpc.ypupdated
334_rpc.ypxfrd=	rpc.ypxfrd
335_ypbind=	ypbind
336_yp_mkdb=	yp_mkdb
337_yppoll=	yppoll
338_yppush=	yppush
339_ypserv=	ypserv
340_ypset=		ypset
341.endif
342
343.if ${MK_NTP} != "no"
344_ntp=		ntp
345.endif
346
347.if ${MK_OPENSSL} != "no"
348_keyserv=	keyserv
349.endif
350
351.if ${MK_PF} != "no"
352_ftp-proxy=	ftp-proxy
353.endif
354
355.if ${MK_PKGTOOLS} != "no"
356_pkg_install=	pkg_install
357.endif
358
359# XXX MK_TOOLCHAIN?
360.if ${MK_PMC} != "no"
361_pmcannotate=	pmcannotate
362_pmccontrol=	pmccontrol
363_pmcstat=	pmcstat
364.endif
365
366.if ${MK_PORTSNAP} != "no"
367_portsnap=	portsnap
368.endif
369
370.if ${MK_PPP} != "no"
371_ppp=		ppp
372#_pppctl handled below
373.endif
374
375.if ${MK_QUOTAS} != "no"
376_edquota=	edquota
377_quotaon=	quotaon
378_repquota=	repquota
379.endif
380
381.if ${MK_RCMDS} != "no"
382_rwhod=		rwhod
383.endif
384
385.if ${MK_SENDMAIL} != "no"
386_editmap=	editmap
387_mailstats=	mailstats
388_makemap=	makemap
389_praliases=	praliases
390_sendmail=	sendmail
391.endif
392
393.if ${MK_SYSINSTALL} != "no"
394.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
395    ${MACHINE_ARCH} == "sparc64"
396_sade=		sade
397.endif
398.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
399_sysinstall=	sysinstall
400.endif
401.endif
402
403.if ${MK_TOOLCHAIN} != "no"
404_config=	config
405_crunch=	crunch
406.endif
407
408.if ${MK_USB} != "no"
409.if ${MACHINE_ARCH} != "ia64"
410_uathload=	uathload
411.endif
412_uhsoctl=	uhsoctl
413#_usbdevs=	usbdevs
414_usbconfig=	usbconfig
415.endif
416
417.if ${MK_WIRELESS} != "no"
418_ancontrol=	ancontrol
419_wlandebug=	wlandebug
420_wpa=		wpa
421.endif
422
423.if ${MACHINE_ARCH} == "arm"
424_kgmon=		kgmon
425.endif
426
427.if ${MACHINE_ARCH} == "i386"
428.if ${MK_APM} != "no"
429_apm=		apm
430_apmd=		apmd
431.endif
432_asf=		asf
433.if ${MK_TOOLCHAIN} != "no"
434_btxld=		btxld
435.endif
436_cpucontrol=	cpucontrol
437_kgmon=		kgmon
438_kgzip=		kgzip
439_lptcontrol=	lptcontrol
440.if ${MK_NCP} != "no"
441_mount_nwfs=	mount_nwfs
442.endif
443_mount_smbfs=	mount_smbfs
444_mptable=	mptable
445.if ${MK_NDIS} != "no"
446_ndiscvt=	ndiscvt
447.endif
448_pnpinfo=	pnpinfo
449_sicontrol=	sicontrol
450_spkrtest=	spkrtest
451_zzz=		zzz
452.if ${MACHINE} == "i386"
453.if ${MK_ACPI} != "no"
454_acpi=		acpi
455.endif
456_boot0cfg=	boot0cfg
457.if ${MK_WIRELESS} != "no"
458_wlconfig=	wlconfig
459.endif
460.elif ${MACHINE} == "pc98"
461_boot98cfg=	boot98cfg
462.endif
463.endif
464
465# kgzip: builds, but missing support files
466# mptable: broken (not 64 bit clean)
467# pnpinfo: crashes (not really useful anyway)
468.if ${MACHINE_ARCH} == "amd64"
469.if ${MK_ACPI} != "no"
470_acpi=		acpi
471.endif
472.if ${MK_APM} != "no"
473_apm=		apm
474.endif
475_asf=		asf
476_boot0cfg=	boot0cfg
477.if ${MK_TOOLCHAIN} != "no"
478_btxld=		btxld
479.endif
480_cpucontrol=	cpucontrol
481_kgmon=		kgmon
482_lptcontrol=	lptcontrol
483.if ${MK_NCP} != "no"
484_mount_nwfs=	mount_nwfs
485.endif
486_mount_smbfs=	mount_smbfs
487_mptable=	mptable
488.if ${MK_NDIS} != "no"
489_ndiscvt=	ndiscvt
490.endif
491_sicontrol=	sicontrol
492_spkrtest=	spkrtest
493_zzz=		zzz
494.endif
495
496.if ${MACHINE_ARCH} == "ia64"
497.if ${MK_ACPI} != "no"
498_acpi=		acpi
499.endif
500_kgmon=		kgmon
501_mount_smbfs=	mount_smbfs
502_zzz=		zzz
503.endif
504
505.if ${MACHINE_ARCH} == "powerpc"
506_mount_smbfs=	mount_smbfs
507_nvram=		nvram
508_ofwdump=	ofwdump
509.endif
510
511.if ${MACHINE_ARCH} == "sparc64"
512_eeprom=	eeprom
513_mount_smbfs=	mount_smbfs
514_ofwdump=	ofwdump
515.endif
516
517.include <bsd.subdir.mk>
518