Makefile revision 192811
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 192811 2009-05-26 15:19:04Z rmacklem $
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	nfscbd \
114	nfsd \
115	nfsdumpstate \
116	nfsrevoke \
117	nfsuserd \
118	${_ngctl} \
119	${_nghook} \
120	nologin \
121	${_nscd} \
122	${_ntp} \
123	${_nvram} \
124	${_ofwdump} \
125	pciconf \
126	periodic \
127	${_pkg_install} \
128	${_pmcannotate} \
129	${_pmccontrol} \
130	${_pmcstat} \
131	${_pnpinfo} \
132	${_portsnap} \
133	powerd \
134	${_ppp} \
135	${_pppctl} \
136	${_praliases} \
137	${_praudit} \
138	procctl \
139	pstat \
140	pw \
141	pwd_mkdb \
142	quot \
143	${_quotaon} \
144	rarpd \
145	${_repquota} \
146	${_rip6query} \
147	rmt \
148	${_rndc} \
149	${_rndc-confgen} \
150	${_route6d} \
151	rpcbind \
152	rpc.lockd \
153	rpc.statd \
154	rpc.umntall \
155	${_rpc.yppasswdd} \
156	${_rpc.ypupdated} \
157	${_rpc.ypxfrd} \
158	${_rrenumd} \
159	${_rtadvd} \
160	rtprio \
161	${_rtsold} \
162	${_rwhod} \
163	${_sa} \
164	${_sade} \
165	${_sendmail} \
166	setfib \
167	setfmac \
168	setpmac \
169	${_sicontrol} \
170	smbmsg \
171	snapinfo \
172	${_spkrtest} \
173	spray \
174	${_sysinstall} \
175	syslogd \
176	tcpdchk \
177	tcpdmatch \
178	tcpdrop \
179	tcpdump \
180	timed \
181	traceroute \
182	${_traceroute6} \
183	trpt \
184	tzsetup \
185	${_uathload} \
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.endif
367
368.if ${MK_QUOTAS} != "no"
369_edquota=	edquota
370_quotaon=	quotaon
371_repquota=	repquota
372.endif
373
374.if ${MK_RCMDS} != "no"
375_rwhod=		rwhod
376.endif
377
378.if ${MK_SENDMAIL} != "no"
379_editmap=	editmap
380_mailstats=	mailstats
381_makemap=	makemap
382_praliases=	praliases
383_sendmail=	sendmail
384.endif
385
386.if ${MK_SYSINSTALL} != "no"
387.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
388    ${MACHINE_ARCH} == "sparc64"
389_sade=		sade
390.endif
391.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
392_sysinstall=	sysinstall
393.endif
394.endif
395
396.if ${MK_TOOLCHAIN} != "no"
397_config=	config
398_crunch=	crunch
399.endif
400
401.if ${MK_USB} != "no"
402.if ${MACHINE_ARCH} != "ia64"
403_uathload=	uathload
404.endif
405#_usbdevs=	usbdevs
406_usbconfig=	usbconfig
407.endif
408
409.if ${MK_WIRELESS} != "no"
410_ancontrol=	ancontrol
411_wlandebug=	wlandebug
412_wpa=		wpa
413.endif
414
415.if ${MACHINE_ARCH} == "arm"
416_kgmon=		kgmon
417.endif
418
419.if ${MACHINE_ARCH} == "i386"
420.if ${MK_APM} != "no"
421_apm=		apm
422_apmd=		apmd
423.endif
424_asf=		asf
425.if ${MK_TOOLCHAIN} != "no"
426_btxld=		btxld
427.endif
428_cpucontrol=	cpucontrol
429_kgmon=		kgmon
430_kgzip=		kgzip
431_lptcontrol=	lptcontrol
432.if ${MK_NCP} != "no"
433_mount_nwfs=	mount_nwfs
434.endif
435_mount_smbfs=	mount_smbfs
436_mptable=	mptable
437.if ${MK_NDIS} != "no"
438_ndiscvt=	ndiscvt
439.endif
440_pnpinfo=	pnpinfo
441_sicontrol=	sicontrol
442_spkrtest=	spkrtest
443_zzz=		zzz
444.if ${MACHINE} == "i386"
445.if ${MK_ACPI} != "no"
446_acpi=		acpi
447.endif
448_boot0cfg=	boot0cfg
449.if ${MK_WIRELESS} != "no"
450_wlconfig=	wlconfig
451.endif
452.elif ${MACHINE} == "pc98"
453_boot98cfg=	boot98cfg
454.endif
455.endif
456
457# kgzip: builds, but missing support files
458# mptable: broken (not 64 bit clean)
459# pnpinfo: crashes (not really useful anyway)
460.if ${MACHINE_ARCH} == "amd64"
461.if ${MK_ACPI} != "no"
462_acpi=		acpi
463.endif
464_asf=		asf
465_boot0cfg=	boot0cfg
466.if ${MK_TOOLCHAIN} != "no"
467_btxld=		btxld
468.endif
469_cpucontrol=	cpucontrol
470_kgmon=		kgmon
471_lptcontrol=	lptcontrol
472.if ${MK_NCP} != "no"
473_mount_nwfs=	mount_nwfs
474.endif
475_mount_smbfs=	mount_smbfs
476_mptable=	mptable
477.if ${MK_NDIS} != "no"
478_ndiscvt=	ndiscvt
479.endif
480_sicontrol=	sicontrol
481_spkrtest=	spkrtest
482_zzz=		zzz
483.endif
484
485.if ${MACHINE_ARCH} == "ia64"
486.if ${MK_ACPI} != "no"
487_acpi=		acpi
488.endif
489_kgmon=		kgmon
490_mount_smbfs=	mount_smbfs
491_zzz=		zzz
492.endif
493
494.if ${MACHINE_ARCH} == "powerpc"
495_mount_smbfs=	mount_smbfs
496_nvram=		nvram
497_ofwdump=	ofwdump
498.endif
499
500.if ${MACHINE_ARCH} == "sparc64"
501_eeprom=	eeprom
502_ofwdump=	ofwdump
503.endif
504
505.include <bsd.subdir.mk>
506