Makefile revision 190836
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 190836 2009-04-08 03:53:20Z weongyo $
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	i2c \
69	ifmcstat \
70	inetd \
71	iostat \
72	${_ip6addrctl} \
73	${_ipfwpcap} \
74	${_IPXrouted} \
75	${_jail} \
76	${_jexec} \
77	${_jls} \
78	${_kbdcontrol} \
79	${_kbdmap} \
80	${_keyserv} \
81	${_kgmon} \
82	${_kgzip} \
83	kldxref \
84	lastlogin \
85	${_lmcconfig} \
86	${_lpr} \
87	${_lptcontrol} \
88	${_mailstats} \
89	mailwrapper \
90	makefs \
91	${_makemap} \
92	manctl \
93	memcontrol \
94	mergemaster \
95	mixer \
96	${_mld6query} \
97	mlxcontrol \
98	mountd \
99	${_mount_nwfs} \
100	mount_portalfs \
101	${_mount_smbfs} \
102	${_moused} \
103	${_mptable} \
104	mtest \
105	mtree \
106	${_named} \
107	${_named-checkconf} \
108	${_named-checkzone} \
109	${_named.reload} \
110	${_ndiscvt} \
111	${_ndp} \
112	newsyslog \
113	nfsd \
114	${_ngctl} \
115	${_nghook} \
116	nologin \
117	${_nscd} \
118	${_ntp} \
119	${_nvram} \
120	${_ofwdump} \
121	pciconf \
122	periodic \
123	${_pkg_install} \
124	${_pmcannotate} \
125	${_pmccontrol} \
126	${_pmcstat} \
127	${_pnpinfo} \
128	${_portsnap} \
129	powerd \
130	${_ppp} \
131	${_pppctl} \
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	${_slstat} \
168	smbmsg \
169	snapinfo \
170	${_spkrtest} \
171	spray \
172	${_sysinstall} \
173	syslogd \
174	tcpdchk \
175	tcpdmatch \
176	tcpdrop \
177	tcpdump \
178	timed \
179	traceroute \
180	${_traceroute6} \
181	trpt \
182	tzsetup \
183	${_uathload} \
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.endif
365
366.if ${MK_QUOTAS} != "no"
367_edquota=	edquota
368_quotaon=	quotaon
369_repquota=	repquota
370.endif
371
372.if ${MK_RCMDS} != "no"
373_rwhod=		rwhod
374.endif
375
376.if ${MK_SENDMAIL} != "no"
377_editmap=	editmap
378_mailstats=	mailstats
379_makemap=	makemap
380_praliases=	praliases
381_sendmail=	sendmail
382.endif
383
384.if ${MK_SYSINSTALL} != "no"
385.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
386    ${MACHINE_ARCH} == "sparc64"
387_sade=		sade
388.endif
389.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
390_sysinstall=	sysinstall
391.endif
392.endif
393
394.if ${MK_TOOLCHAIN} != "no"
395_config=	config
396_crunch=	crunch
397.endif
398
399.if ${MK_USB} != "no"
400.if ${MACHINE_ARCH} != "ia64"
401_uathload=	uathload
402.endif
403#_usbdevs=	usbdevs
404_usbconfig=	usbconfig
405.endif
406
407.if ${MK_WIRELESS} != "no"
408_ancontrol=	ancontrol
409_raycontrol=	raycontrol
410_wlandebug=	wlandebug
411_wpa=		wpa
412.endif
413
414.if ${MACHINE_ARCH} == "arm"
415_kgmon=		kgmon
416.endif
417
418.if ${MACHINE_ARCH} == "i386"
419.if ${MK_APM} != "no"
420_apm=		apm
421_apmd=		apmd
422.endif
423_asf=		asf
424.if ${MK_TOOLCHAIN} != "no"
425_btxld=		btxld
426.endif
427_cpucontrol=	cpucontrol
428_kgmon=		kgmon
429_kgzip=		kgzip
430_lptcontrol=	lptcontrol
431.if ${MK_NCP} != "no"
432_mount_nwfs=	mount_nwfs
433.endif
434_mount_smbfs=	mount_smbfs
435_mptable=	mptable
436.if ${MK_NDIS} != "no"
437_ndiscvt=	ndiscvt
438.endif
439_pnpinfo=	pnpinfo
440_sicontrol=	sicontrol
441_spkrtest=	spkrtest
442_zzz=		zzz
443.if ${MACHINE} == "i386"
444.if ${MK_ACPI} != "no"
445_acpi=		acpi
446.endif
447_boot0cfg=	boot0cfg
448.if ${MK_WIRELESS} != "no"
449_wlconfig=	wlconfig
450.endif
451.elif ${MACHINE} == "pc98"
452_boot98cfg=	boot98cfg
453.endif
454.endif
455
456# kgzip: builds, but missing support files
457# mptable: broken (not 64 bit clean)
458# pnpinfo: crashes (not really useful anyway)
459.if ${MACHINE_ARCH} == "amd64"
460.if ${MK_ACPI} != "no"
461_acpi=		acpi
462.endif
463_asf=		asf
464_boot0cfg=	boot0cfg
465.if ${MK_TOOLCHAIN} != "no"
466_btxld=		btxld
467.endif
468_cpucontrol=	cpucontrol
469_kgmon=		kgmon
470_lptcontrol=	lptcontrol
471.if ${MK_NCP} != "no"
472_mount_nwfs=	mount_nwfs
473.endif
474_mount_smbfs=	mount_smbfs
475_mptable=	mptable
476.if ${MK_NDIS} != "no"
477_ndiscvt=	ndiscvt
478.endif
479_sicontrol=	sicontrol
480_spkrtest=	spkrtest
481_zzz=		zzz
482.endif
483
484.if ${MACHINE_ARCH} == "ia64"
485.if ${MK_ACPI} != "no"
486_acpi=		acpi
487.endif
488_kgmon=		kgmon
489_mount_smbfs=	mount_smbfs
490_zzz=		zzz
491.endif
492
493.if ${MACHINE_ARCH} == "powerpc"
494_mount_smbfs=	mount_smbfs
495_nvram=		nvram
496_ofwdump=	ofwdump
497.endif
498
499.if ${MACHINE_ARCH} == "sparc64"
500_eeprom=	eeprom
501_ofwdump=	ofwdump
502.endif
503
504.include <bsd.subdir.mk>
505