Makefile revision 185087
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 185087 2008-11-19 08:56:35Z alfred $
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	${_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_pmccontrol=	pmccontrol
352_pmcstat=	pmcstat
353.endif
354
355.if ${MK_PORTSNAP} != "no"
356_portsnap=	portsnap
357.endif
358
359.if ${MK_PPP} != "no"
360_ppp=		ppp
361#_pppctl handled below
362_pppd=		pppd
363_pppstats=	pppstats
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_SLIP} != "no"
385_sliplogin=	sliplogin
386_slstat=	slstat
387.endif
388
389.if ${MK_SYSINSTALL} != "no"
390.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
391    ${MACHINE_ARCH} == "sparc64"
392_sade=		sade
393.endif
394.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
395_sysinstall=	sysinstall
396.endif
397.endif
398
399.if ${MK_TOOLCHAIN} != "no"
400_config=	config
401_crunch=	crunch
402.endif
403
404.if ${MK_USB} != "no"
405_usbdevs=	usbdevs
406_usbconfig=	usbconfig
407.endif
408
409.if ${MK_WIRELESS} != "no"
410_ancontrol=	ancontrol
411_raycontrol=	raycontrol
412_wlandebug=	wlandebug
413_wpa=		wpa
414.endif
415
416.if ${MACHINE_ARCH} == "arm"
417_kgmon=		kgmon
418.endif
419
420.if ${MACHINE_ARCH} == "i386"
421.if ${MK_APM} != "no"
422_apm=		apm
423_apmd=		apmd
424.endif
425_asf=		asf
426.if ${MK_TOOLCHAIN} != "no"
427_btxld=		btxld
428.endif
429_cpucontrol=	cpucontrol
430_kgmon=		kgmon
431_kgzip=		kgzip
432_lptcontrol=	lptcontrol
433.if ${MK_NCP} != "no"
434_mount_nwfs=	mount_nwfs
435.endif
436_mount_smbfs=	mount_smbfs
437_mptable=	mptable
438.if ${MK_NDIS} != "no"
439_ndiscvt=	ndiscvt
440.endif
441_pnpinfo=	pnpinfo
442_sicontrol=	sicontrol
443_spkrtest=	spkrtest
444_zzz=		zzz
445.if ${MACHINE} == "i386"
446.if ${MK_ACPI} != "no"
447_acpi=		acpi
448.endif
449_boot0cfg=	boot0cfg
450.if ${MK_WIRELESS} != "no"
451_wlconfig=	wlconfig
452.endif
453.elif ${MACHINE} == "pc98"
454_boot98cfg=	boot98cfg
455.endif
456.endif
457
458# kgzip: builds, but missing support files
459# mptable: broken (not 64 bit clean)
460# pnpinfo: crashes (not really useful anyway)
461.if ${MACHINE_ARCH} == "amd64"
462.if ${MK_ACPI} != "no"
463_acpi=		acpi
464.endif
465_asf=		asf
466_boot0cfg=	boot0cfg
467.if ${MK_TOOLCHAIN} != "no"
468_btxld=		btxld
469.endif
470_cpucontrol=	cpucontrol
471_kgmon=		kgmon
472_lptcontrol=	lptcontrol
473.if ${MK_NCP} != "no"
474_mount_nwfs=	mount_nwfs
475.endif
476_mount_smbfs=	mount_smbfs
477_mptable=	mptable
478.if ${MK_NDIS} != "no"
479_ndiscvt=	ndiscvt
480.endif
481_sicontrol=	sicontrol
482_spkrtest=	spkrtest
483_zzz=		zzz
484.endif
485
486.if ${MACHINE_ARCH} == "ia64"
487.if ${MK_ACPI} != "no"
488_acpi=		acpi
489.endif
490_kgmon=		kgmon
491_mount_smbfs=	mount_smbfs
492_zzz=		zzz
493.endif
494
495.if ${MACHINE_ARCH} == "powerpc"
496_mount_smbfs=	mount_smbfs
497_nvram=		nvram
498_ofwdump=	ofwdump
499.endif
500
501.if ${MACHINE_ARCH} == "sparc64"
502_eeprom=	eeprom
503_ofwdump=	ofwdump
504.endif
505
506.include <bsd.subdir.mk>
507