Makefile revision 191144
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 191144 2009-04-16 14:43:59Z rwatson $
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	${_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	smbmsg \
167	snapinfo \
168	${_spkrtest} \
169	spray \
170	${_sysinstall} \
171	syslogd \
172	tcpdchk \
173	tcpdmatch \
174	tcpdrop \
175	tcpdump \
176	timed \
177	traceroute \
178	${_traceroute6} \
179	trpt \
180	tzsetup \
181	${_uathload} \
182	ugidfw \
183	${_usbdevs} \
184	${_usbconfig} \
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_pmcannotate=	pmcannotate
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.endif
363
364.if ${MK_QUOTAS} != "no"
365_edquota=	edquota
366_quotaon=	quotaon
367_repquota=	repquota
368.endif
369
370.if ${MK_RCMDS} != "no"
371_rwhod=		rwhod
372.endif
373
374.if ${MK_SENDMAIL} != "no"
375_editmap=	editmap
376_mailstats=	mailstats
377_makemap=	makemap
378_praliases=	praliases
379_sendmail=	sendmail
380.endif
381
382.if ${MK_SYSINSTALL} != "no"
383.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
384    ${MACHINE_ARCH} == "sparc64"
385_sade=		sade
386.endif
387.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
388_sysinstall=	sysinstall
389.endif
390.endif
391
392.if ${MK_TOOLCHAIN} != "no"
393_config=	config
394_crunch=	crunch
395.endif
396
397.if ${MK_USB} != "no"
398.if ${MACHINE_ARCH} != "ia64"
399_uathload=	uathload
400.endif
401#_usbdevs=	usbdevs
402_usbconfig=	usbconfig
403.endif
404
405.if ${MK_WIRELESS} != "no"
406_ancontrol=	ancontrol
407_wlandebug=	wlandebug
408_wpa=		wpa
409.endif
410
411.if ${MACHINE_ARCH} == "arm"
412_kgmon=		kgmon
413.endif
414
415.if ${MACHINE_ARCH} == "i386"
416.if ${MK_APM} != "no"
417_apm=		apm
418_apmd=		apmd
419.endif
420_asf=		asf
421.if ${MK_TOOLCHAIN} != "no"
422_btxld=		btxld
423.endif
424_cpucontrol=	cpucontrol
425_kgmon=		kgmon
426_kgzip=		kgzip
427_lptcontrol=	lptcontrol
428.if ${MK_NCP} != "no"
429_mount_nwfs=	mount_nwfs
430.endif
431_mount_smbfs=	mount_smbfs
432_mptable=	mptable
433.if ${MK_NDIS} != "no"
434_ndiscvt=	ndiscvt
435.endif
436_pnpinfo=	pnpinfo
437_sicontrol=	sicontrol
438_spkrtest=	spkrtest
439_zzz=		zzz
440.if ${MACHINE} == "i386"
441.if ${MK_ACPI} != "no"
442_acpi=		acpi
443.endif
444_boot0cfg=	boot0cfg
445.if ${MK_WIRELESS} != "no"
446_wlconfig=	wlconfig
447.endif
448.elif ${MACHINE} == "pc98"
449_boot98cfg=	boot98cfg
450.endif
451.endif
452
453# kgzip: builds, but missing support files
454# mptable: broken (not 64 bit clean)
455# pnpinfo: crashes (not really useful anyway)
456.if ${MACHINE_ARCH} == "amd64"
457.if ${MK_ACPI} != "no"
458_acpi=		acpi
459.endif
460_asf=		asf
461_boot0cfg=	boot0cfg
462.if ${MK_TOOLCHAIN} != "no"
463_btxld=		btxld
464.endif
465_cpucontrol=	cpucontrol
466_kgmon=		kgmon
467_lptcontrol=	lptcontrol
468.if ${MK_NCP} != "no"
469_mount_nwfs=	mount_nwfs
470.endif
471_mount_smbfs=	mount_smbfs
472_mptable=	mptable
473.if ${MK_NDIS} != "no"
474_ndiscvt=	ndiscvt
475.endif
476_sicontrol=	sicontrol
477_spkrtest=	spkrtest
478_zzz=		zzz
479.endif
480
481.if ${MACHINE_ARCH} == "ia64"
482.if ${MK_ACPI} != "no"
483_acpi=		acpi
484.endif
485_kgmon=		kgmon
486_mount_smbfs=	mount_smbfs
487_zzz=		zzz
488.endif
489
490.if ${MACHINE_ARCH} == "powerpc"
491_mount_smbfs=	mount_smbfs
492_nvram=		nvram
493_ofwdump=	ofwdump
494.endif
495
496.if ${MACHINE_ARCH} == "sparc64"
497_eeprom=	eeprom
498_ofwdump=	ofwdump
499.endif
500
501.include <bsd.subdir.mk>
502