Makefile revision 190791
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 190791 2009-04-07 01:58:29Z 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_uathload=	uathload
401#_usbdevs=	usbdevs
402_usbconfig=	usbconfig
403.endif
404
405.if ${MK_WIRELESS} != "no"
406_ancontrol=	ancontrol
407_raycontrol=	raycontrol
408_wlandebug=	wlandebug
409_wpa=		wpa
410.endif
411
412.if ${MACHINE_ARCH} == "arm"
413_kgmon=		kgmon
414.endif
415
416.if ${MACHINE_ARCH} == "i386"
417.if ${MK_APM} != "no"
418_apm=		apm
419_apmd=		apmd
420.endif
421_asf=		asf
422.if ${MK_TOOLCHAIN} != "no"
423_btxld=		btxld
424.endif
425_cpucontrol=	cpucontrol
426_kgmon=		kgmon
427_kgzip=		kgzip
428_lptcontrol=	lptcontrol
429.if ${MK_NCP} != "no"
430_mount_nwfs=	mount_nwfs
431.endif
432_mount_smbfs=	mount_smbfs
433_mptable=	mptable
434.if ${MK_NDIS} != "no"
435_ndiscvt=	ndiscvt
436.endif
437_pnpinfo=	pnpinfo
438_sicontrol=	sicontrol
439_spkrtest=	spkrtest
440_zzz=		zzz
441.if ${MACHINE} == "i386"
442.if ${MK_ACPI} != "no"
443_acpi=		acpi
444.endif
445_boot0cfg=	boot0cfg
446.if ${MK_WIRELESS} != "no"
447_wlconfig=	wlconfig
448.endif
449.elif ${MACHINE} == "pc98"
450_boot98cfg=	boot98cfg
451.endif
452.endif
453
454# kgzip: builds, but missing support files
455# mptable: broken (not 64 bit clean)
456# pnpinfo: crashes (not really useful anyway)
457.if ${MACHINE_ARCH} == "amd64"
458.if ${MK_ACPI} != "no"
459_acpi=		acpi
460.endif
461_asf=		asf
462_boot0cfg=	boot0cfg
463.if ${MK_TOOLCHAIN} != "no"
464_btxld=		btxld
465.endif
466_cpucontrol=	cpucontrol
467_kgmon=		kgmon
468_lptcontrol=	lptcontrol
469.if ${MK_NCP} != "no"
470_mount_nwfs=	mount_nwfs
471.endif
472_mount_smbfs=	mount_smbfs
473_mptable=	mptable
474.if ${MK_NDIS} != "no"
475_ndiscvt=	ndiscvt
476.endif
477_sicontrol=	sicontrol
478_spkrtest=	spkrtest
479_zzz=		zzz
480.endif
481
482.if ${MACHINE_ARCH} == "ia64"
483.if ${MK_ACPI} != "no"
484_acpi=		acpi
485.endif
486_kgmon=		kgmon
487_mount_smbfs=	mount_smbfs
488_zzz=		zzz
489.endif
490
491.if ${MACHINE_ARCH} == "powerpc"
492_mount_smbfs=	mount_smbfs
493_nvram=		nvram
494_ofwdump=	ofwdump
495.endif
496
497.if ${MACHINE_ARCH} == "sparc64"
498_eeprom=	eeprom
499_ofwdump=	ofwdump
500.endif
501
502.include <bsd.subdir.mk>
503