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