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