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