Makefile revision 185032
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 185032 2008-11-17 22:19:19Z 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-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	ifmcstat \
69	inetd \
70	iostat \
71	${_ip6addrctl} \
72	${_ipfwpcap} \
73	${_IPXrouted} \
74	${_jail} \
75	${_jexec} \
76	${_jls} \
77	${_kbdcontrol} \
78	${_kbdmap} \
79	${_keyserv} \
80	${_kgmon} \
81	${_kgzip} \
82	kldxref \
83	lastlogin \
84	${_lmcconfig} \
85	${_lpr} \
86	${_lptcontrol} \
87	${_mailstats} \
88	mailwrapper \
89	${_makemap} \
90	manctl \
91	memcontrol \
92	mergemaster \
93	mixer \
94	${_mld6query} \
95	mlxcontrol \
96	mountd \
97	${_mount_nwfs} \
98	mount_portalfs \
99	${_mount_smbfs} \
100	${_moused} \
101	${_mptable} \
102	mtest \
103	mtree \
104	${_named} \
105	${_named-checkconf} \
106	${_named-checkzone} \
107	${_named.reload} \
108	${_ndiscvt} \
109	${_ndp} \
110	newsyslog \
111	nfsd \
112	${_ngctl} \
113	${_nghook} \
114	nologin \
115	${_nscd} \
116	${_ntp} \
117	${_nvram} \
118	${_ofwdump} \
119	pciconf \
120	periodic \
121	${_pkg_install} \
122	${_pmccontrol} \
123	${_pmcstat} \
124	${_pnpinfo} \
125	${_portsnap} \
126	powerd \
127	${_ppp} \
128	${_pppctl} \
129	${_pppd} \
130	${_pppstats} \
131	${_praliases} \
132	${_praudit} \
133	procctl \
134	pstat \
135	pw \
136	pwd_mkdb \
137	quot \
138	${_quotaon} \
139	rarpd \
140	${_raycontrol} \
141	${_repquota} \
142	${_rip6query} \
143	rmt \
144	${_rndc} \
145	${_rndc-confgen} \
146	${_route6d} \
147	rpcbind \
148	rpc.lockd \
149	rpc.statd \
150	rpc.umntall \
151	${_rpc.yppasswdd} \
152	${_rpc.ypupdated} \
153	${_rpc.ypxfrd} \
154	${_rrenumd} \
155	${_rtadvd} \
156	rtprio \
157	${_rtsold} \
158	${_rwhod} \
159	${_sa} \
160	${_sade} \
161	${_sendmail} \
162	setfib \
163	setfmac \
164	setpmac \
165	${_sicontrol} \
166	${_sliplogin} \
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	${_vidcontrol} \
186	vipw \
187	watch \
188	watchdogd \
189	${_wlandebug} \
190	${_wlconfig} \
191	${_wpa} \
192	${_ypbind} \
193	${_yp_mkdb} \
194	${_yppoll} \
195	${_yppush} \
196	${_ypserv} \
197	${_ypset} \
198	zic \
199	${_zzz}
200
201# NB: keep these sorted by MK_* knobs
202
203.if ${MK_ACCT} != "no"
204_ac=		ac
205_accton=	accton
206_sa=		sa
207.endif
208
209.if ${MK_AMD} != "no"
210_amd=		amd
211.endif
212
213.if ${MK_AUDIT} != "no"
214_audit=		audit
215_auditd=	auditd
216_auditreduce=	auditreduce
217_praudit=	praudit
218.endif
219
220.if ${MK_AUTHPF} != "no"
221_authpf=	authpf
222.endif
223
224.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
225_dnssec-keygen=		dnssec-keygen
226_dnssec-signzone=	dnssec-signzone
227.endif
228.if ${MK_BIND_NAMED} != "no"
229_named=			named
230_named-checkconf=	named-checkconf
231_named-checkzone=	named-checkzone
232_named.reload=		named.reload
233_rndc=			rndc
234_rndc-confgen=		rndc-confgen
235.endif
236
237.if ${MK_BLUETOOTH} != "no"
238_bluetooth=	bluetooth
239.endif
240
241.if ${MK_BSNMP} != "no"
242_bsnmpd=	bsnmpd
243.endif
244
245.if ${MK_CTM} != "no"
246_ctm=		ctm
247.endif
248
249.if ${MK_FLOPPY} != "no"
250_fdcontrol=	fdcontrol
251_fdformat=	fdformat
252_fdread=	fdread
253_fdwrite=	fdwrite
254.endif
255
256.if ${MK_FREEBSD_UPDATE} != "no"
257_freebsd-update= freebsd-update
258.endif
259
260.if ${MK_GSSAPI} != no
261_gssd=		gssd
262.endif
263
264.if ${MK_INET6} != "no"
265_faithd=	faithd
266_ip6addrctl=	ip6addrctl
267_mld6query=	mld6query
268_ndp=		ndp
269_rip6query=	rip6query
270_route6d=	route6d
271_rrenumd=	rrenumd
272_rtadvd=	rtadvd
273_rtsold=	rtsold
274_traceroute6=	traceroute6
275.endif
276
277.if ${MK_IPFW} != "no"
278_ipfwpcap=	ipfwpcap
279.endif
280
281.if ${MK_IPX} != "no"
282_IPXrouted=	IPXrouted
283.endif
284
285.if ${MK_JAIL} != "no"
286_jail=		jail
287_jexec=		jexec
288_jls=		jls
289.endif
290
291# XXX MK_SYSCONS
292# XXX is moused w/ usb useful?
293.if ${MK_LEGACY_CONSOLE} != "no"
294_kbdcontrol=	kbdcontrol
295_kbdmap=	kbdmap
296_moused=	moused
297_vidcontrol=	vidcontrol
298.endif
299
300.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
301.if ${MK_PPP} != "no"
302_pppctl=	pppctl
303.endif
304.if ${MK_NS_CACHING} != "no"
305_nscd=		nscd
306.endif
307.endif
308
309.if ${MK_LPR} != "no"
310_lpr=		lpr
311.endif
312
313.if ${MK_NETGRAPH} != "no"
314_flowctl=	flowctl
315_lmcconfig=	lmcconfig
316_ngctl=		ngctl
317_nghook=	nghook
318.endif
319
320.if ${MK_NIS} != "no"
321_rpc.yppasswdd=	rpc.yppasswdd
322_rpc.ypupdated=	rpc.ypupdated
323_rpc.ypxfrd=	rpc.ypxfrd
324_ypbind=	ypbind
325_yp_mkdb=	yp_mkdb
326_yppoll=	yppoll
327_yppush=	yppush
328_ypserv=	ypserv
329_ypset=		ypset
330.endif
331
332.if ${MK_NTP} != "no"
333_ntp=		ntp
334.endif
335
336.if ${MK_OPENSSL} != "no"
337_keyserv=	keyserv
338.endif
339
340.if ${MK_PF} != "no"
341_ftp-proxy=	ftp-proxy
342.endif
343
344.if ${MK_PKGTOOLS} != "no"
345_pkg_install=	pkg_install
346.endif
347
348# XXX MK_TOOLCHAIN?
349.if ${MK_PMC} != "no"
350_pmccontrol=	pmccontrol
351_pmcstat=	pmcstat
352.endif
353
354.if ${MK_PORTSNAP} != "no"
355_portsnap=	portsnap
356.endif
357
358.if ${MK_PPP} != "no"
359_ppp=		ppp
360#_pppctl handled below
361_pppd=		pppd
362_pppstats=	pppstats
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_SLIP} != "no"
384_sliplogin=	sliplogin
385_slstat=	slstat
386.endif
387
388.if ${MK_SYSINSTALL} != "no"
389.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
390    ${MACHINE_ARCH} == "sparc64"
391_sade=		sade
392.endif
393.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
394_sysinstall=	sysinstall
395.endif
396.endif
397
398.if ${MK_TOOLCHAIN} != "no"
399_config=	config
400_crunch=	crunch
401.endif
402
403.if ${MK_USB} != "no"
404_usbdevs=	usbdevs
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