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