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