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