Makefile revision 190864
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 190864 2009-04-09 12:20:37Z ru $
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	${_praliases} \
133	${_praudit} \
134	procctl \
135	pstat \
136	pw \
137	pwd_mkdb \
138	quot \
139	${_quotaon} \
140	rarpd \
141	${_raycontrol} \
142	${_repquota} \
143	${_rip6query} \
144	rmt \
145	${_rndc} \
146	${_rndc-confgen} \
147	${_route6d} \
148	rpcbind \
149	rpc.lockd \
150	rpc.statd \
151	rpc.umntall \
152	${_rpc.yppasswdd} \
153	${_rpc.ypupdated} \
154	${_rpc.ypxfrd} \
155	${_rrenumd} \
156	${_rtadvd} \
157	rtprio \
158	${_rtsold} \
159	${_rwhod} \
160	${_sa} \
161	${_sade} \
162	${_sendmail} \
163	setfib \
164	setfmac \
165	setpmac \
166	${_sicontrol} \
167	smbmsg \
168	snapinfo \
169	${_spkrtest} \
170	spray \
171	${_sysinstall} \
172	syslogd \
173	tcpdchk \
174	tcpdmatch \
175	tcpdrop \
176	tcpdump \
177	timed \
178	traceroute \
179	${_traceroute6} \
180	trpt \
181	tzsetup \
182	${_uathload} \
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_pmcannotate=	pmcannotate
352_pmccontrol=	pmccontrol
353_pmcstat=	pmcstat
354.endif
355
356.if ${MK_PORTSNAP} != "no"
357_portsnap=	portsnap
358.endif
359
360.if ${MK_PPP} != "no"
361_ppp=		ppp
362#_pppctl handled below
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_SYSINSTALL} != "no"
384.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
385    ${MACHINE_ARCH} == "sparc64"
386_sade=		sade
387.endif
388.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
389_sysinstall=	sysinstall
390.endif
391.endif
392
393.if ${MK_TOOLCHAIN} != "no"
394_config=	config
395_crunch=	crunch
396.endif
397
398.if ${MK_USB} != "no"
399.if ${MACHINE_ARCH} != "ia64"
400_uathload=	uathload
401.endif
402#_usbdevs=	usbdevs
403_usbconfig=	usbconfig
404.endif
405
406.if ${MK_WIRELESS} != "no"
407_ancontrol=	ancontrol
408_raycontrol=	raycontrol
409_wlandebug=	wlandebug
410_wpa=		wpa
411.endif
412
413.if ${MACHINE_ARCH} == "arm"
414_kgmon=		kgmon
415.endif
416
417.if ${MACHINE_ARCH} == "i386"
418.if ${MK_APM} != "no"
419_apm=		apm
420_apmd=		apmd
421.endif
422_asf=		asf
423.if ${MK_TOOLCHAIN} != "no"
424_btxld=		btxld
425.endif
426_cpucontrol=	cpucontrol
427_kgmon=		kgmon
428_kgzip=		kgzip
429_lptcontrol=	lptcontrol
430.if ${MK_NCP} != "no"
431_mount_nwfs=	mount_nwfs
432.endif
433_mount_smbfs=	mount_smbfs
434_mptable=	mptable
435.if ${MK_NDIS} != "no"
436_ndiscvt=	ndiscvt
437.endif
438_pnpinfo=	pnpinfo
439_sicontrol=	sicontrol
440_spkrtest=	spkrtest
441_zzz=		zzz
442.if ${MACHINE} == "i386"
443.if ${MK_ACPI} != "no"
444_acpi=		acpi
445.endif
446_boot0cfg=	boot0cfg
447.if ${MK_WIRELESS} != "no"
448_wlconfig=	wlconfig
449.endif
450.elif ${MACHINE} == "pc98"
451_boot98cfg=	boot98cfg
452.endif
453.endif
454
455# kgzip: builds, but missing support files
456# mptable: broken (not 64 bit clean)
457# pnpinfo: crashes (not really useful anyway)
458.if ${MACHINE_ARCH} == "amd64"
459.if ${MK_ACPI} != "no"
460_acpi=		acpi
461.endif
462_asf=		asf
463_boot0cfg=	boot0cfg
464.if ${MK_TOOLCHAIN} != "no"
465_btxld=		btxld
466.endif
467_cpucontrol=	cpucontrol
468_kgmon=		kgmon
469_lptcontrol=	lptcontrol
470.if ${MK_NCP} != "no"
471_mount_nwfs=	mount_nwfs
472.endif
473_mount_smbfs=	mount_smbfs
474_mptable=	mptable
475.if ${MK_NDIS} != "no"
476_ndiscvt=	ndiscvt
477.endif
478_sicontrol=	sicontrol
479_spkrtest=	spkrtest
480_zzz=		zzz
481.endif
482
483.if ${MACHINE_ARCH} == "ia64"
484.if ${MK_ACPI} != "no"
485_acpi=		acpi
486.endif
487_kgmon=		kgmon
488_mount_smbfs=	mount_smbfs
489_zzz=		zzz
490.endif
491
492.if ${MACHINE_ARCH} == "powerpc"
493_mount_smbfs=	mount_smbfs
494_nvram=		nvram
495_ofwdump=	ofwdump
496.endif
497
498.if ${MACHINE_ARCH} == "sparc64"
499_eeprom=	eeprom
500_ofwdump=	ofwdump
501.endif
502
503.include <bsd.subdir.mk>
504