Makefile revision 183242
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 183242 2008-09-21 22:02:26Z sam $
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	${_editmap} \
49	${_edquota} \
50	${_eeprom} \
51	extattr \
52	extattrctl \
53	${_faithd} \
54	${_fdcontrol} \
55	${_fdformat} \
56	${_fdread} \
57	${_fdwrite} \
58	fifolog \
59	${_flowctl} \
60	${_freebsd-update} \
61	${_ftp-proxy} \
62	fwcontrol \
63	getfmac \
64	getpmac \
65	gstat \
66	ifmcstat \
67	inetd \
68	iostat \
69	${_ip6addrctl} \
70	${_ipfwpcap} \
71	${_IPXrouted} \
72	${_jail} \
73	${_jexec} \
74	${_jls} \
75	${_kbdcontrol} \
76	${_kbdmap} \
77	${_keyserv} \
78	${_kgmon} \
79	${_kgzip} \
80	kldxref \
81	lastlogin \
82	${_lmcconfig} \
83	${_lpr} \
84	${_lptcontrol} \
85	${_mailstats} \
86	mailwrapper \
87	${_makemap} \
88	manctl \
89	memcontrol \
90	mergemaster \
91	mixer \
92	${_mld6query} \
93	mlxcontrol \
94	mountd \
95	${_mount_nwfs} \
96	mount_portalfs \
97	${_mount_smbfs} \
98	${_moused} \
99	${_mptable} \
100	mtest \
101	mtree \
102	${_named} \
103	${_named-checkconf} \
104	${_named-checkzone} \
105	${_named.reload} \
106	${_ndiscvt} \
107	${_ndp} \
108	newsyslog \
109	nfsd \
110	${_ngctl} \
111	${_nghook} \
112	nologin \
113	${_nscd} \
114	${_ntp} \
115	${_nvram} \
116	${_ofwdump} \
117	pccard \
118	pciconf \
119	periodic \
120	${_pkg_install} \
121	${_pmccontrol} \
122	${_pmcstat} \
123	${_pnpinfo} \
124	${_portsnap} \
125	powerd \
126	${_ppp} \
127	${_pppctl} \
128	${_pppd} \
129	${_pppstats} \
130	${_praliases} \
131	${_praudit} \
132	procctl \
133	pstat \
134	pw \
135	pwd_mkdb \
136	quot \
137	${_quotaon} \
138	rarpd \
139	${_raycontrol} \
140	${_repquota} \
141	${_rip6query} \
142	rmt \
143	${_rndc} \
144	${_rndc-confgen} \
145	${_route6d} \
146	rpcbind \
147	rpc.lockd \
148	rpc.statd \
149	rpc.umntall \
150	${_rpc.yppasswdd} \
151	${_rpc.ypupdated} \
152	${_rpc.ypxfrd} \
153	${_rrenumd} \
154	${_rtadvd} \
155	rtprio \
156	${_rtsold} \
157	${_rwhod} \
158	${_sa} \
159	${_sade} \
160	${_sendmail} \
161	setfib \
162	setfmac \
163	setpmac \
164	${_sicontrol} \
165	${_sliplogin} \
166	${_slstat} \
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	ugidfw \
183	${_usbdevs} \
184	${_vidcontrol} \
185	vipw \
186	watch \
187	watchdogd \
188	${_wlandebug} \
189	${_wlconfig} \
190	${_wpa} \
191	${_ypbind} \
192	${_yp_mkdb} \
193	${_yppoll} \
194	${_yppush} \
195	${_ypserv} \
196	${_ypset} \
197	zic \
198	${_zzz}
199
200# NB: keep these sorted by MK_* knobs
201
202.if ${MK_ACCT} != "no"
203_ac=		ac
204_accton=	accton
205_sa=		sa
206.endif
207
208.if ${MK_AMD} != "no"
209_amd=		amd
210.endif
211
212.if ${MK_AUDIT} != "no"
213_audit= 	audit
214_auditd=	auditd
215_auditreduce=	auditreduce
216_praudit=	praudit
217.endif
218
219.if ${MK_AUTHPF} != "no"
220_authpf=	authpf
221.endif
222
223.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
224_dnssec-keygen=		dnssec-keygen
225_dnssec-signzone=	dnssec-signzone
226.endif
227.if ${MK_BIND_NAMED} != "no"
228_named=			named
229_named-checkconf=	named-checkconf
230_named-checkzone=	named-checkzone
231_named.reload=		named.reload
232_rndc=			rndc
233_rndc-confgen=		rndc-confgen
234.endif
235
236.if ${MK_BLUETOOTH} != "no"
237_bluetooth=	bluetooth
238.endif
239
240.if ${MK_BSNMP} != "no"
241_bsnmpd=	bsnmpd
242.endif
243
244.if ${MK_CTM} != "no"
245_ctm=		ctm
246.endif
247
248.if ${MK_FLOPPY} != "no"
249_fdcontrol=	fdcontrol
250_fdformat=	fdformat
251_fdread=	fdread
252_fdwrite=	fdwrite
253.endif
254
255.if ${MK_FREEBSD_UPDATE} != "no"
256_freebsd-update= freebsd-update
257.endif
258
259.if ${MK_INET6} != "no"
260_faithd=	faithd
261_ip6addrctl=	ip6addrctl
262_mld6query=	mld6query
263_ndp=		ndp
264_rip6query=	rip6query
265_route6d=	route6d
266_rrenumd=	rrenumd
267_rtadvd=	rtadvd
268_rtsold=	rtsold
269_traceroute6=	traceroute6
270.endif
271
272.if ${MK_IPFW} != "no"
273_ipfwpcap=	ipfwpcap
274.endif
275
276.if ${MK_IPX} != "no"
277_IPXrouted=	IPXrouted
278.endif
279
280.if ${MK_JAIL} != "no"
281_jail=		jail
282_jexect=	jexec
283_jls=		jls
284.endif
285
286# XXX MK_SYSCONS
287# XXX is moused w/ usb useful?
288.if ${MK_LEGACY_CONSOLE} != "no"
289_kbdcontrol=	kbdcontrol
290_kbdmap=	kbdmap
291_moused=	moused
292_vidcontrol=	vidcontrol
293.endif
294
295.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
296.if ${MK_PPP} != "no"
297_pppctl=	pppctl
298.endif
299.if ${MK_NS_CACHING} != "no"
300_nscd=		nscd
301.endif
302.endif
303
304.if ${MK_LPR} != "no"
305_lpr=		lpr
306.endif
307
308.if ${MK_NETGRAPH} != "no"
309_flowctl=	flowctl
310_lmcconfig=	lmcconfig
311_ngctl=		ngctl
312_nghook=	nghook
313.endif
314
315.if ${MK_NIS} != "no"
316_rpc.yppasswdd=	rpc.yppasswdd
317_rpc.ypupdated=	rpc.ypupdated
318_rpc.ypxfrd=	rpc.ypxfrd
319_ypbind=	ypbind
320_yp_mkdb=	yp_mkdb
321_yppoll=	yppoll
322_yppush=	yppush
323_ypserv=	ypserv
324_ypset=		ypset
325.endif
326
327.if ${MK_NTP} != "no"
328_ntp=		ntp
329.endif
330
331.if ${MK_OPENSSL} != "no"
332_keyserv=	keyserv
333.endif
334
335.if ${MK_PF} != "no"
336_ftp-proxy=	ftp-proxy
337.endif
338
339.if ${MK_PKGTOOLS} != "no"
340_pkg_install=	pkg_install
341.endif
342
343# XXX MK_TOOLCHAIN?
344.if ${MK_PMC} != "no"
345_pmccontrol=	pmccontrol
346_pmcstat=	pmcstat
347.endif
348
349.if ${MK_PORTSNAP} != "no"
350_portsnap=	portsnap
351.endif
352
353.if ${MK_PPP} != "no"
354_ppp		= ppp
355#_pppctl handled below
356_pppd		= pppd
357_pppstats	= pppstats
358.endif
359
360.if ${MK_QUOTAS} != "no"
361_edquota=	edquota
362_quotaon=	quotaon
363_repquota=	repquota
364.endif
365
366.if ${MK_RCMDS} != "no"
367_rwhod=		rwhod
368.endif
369
370.if ${MK_SENDMAIL} != "no"
371_editmap=	editmap
372_mailstats=	mailstats
373_makemap=	makemap
374_praliases=	praliases
375_sendmail=	sendmail
376.endif
377
378.if ${MK_SLIP} != "no"
379_sliplogin	= sliplogin
380_slstats	= slstats
381.endif
382
383.if ${MK_SYSINSTALL} != "no"
384_sade=		sade
385.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
386_sysinstall=	sysinstall
387.endif
388.endif
389
390.if ${MK_TOOLCHAIN} != "no"
391_config=	config
392_crunch=	crunch
393.endif
394
395.if ${MK_USB} != "no"
396_usbdevs=	usbdevs
397.endif
398
399.if ${MK_WIRELESS} != "no"
400_ancontrol=	ancontrol
401_raycontrol=	raycontrol
402_wlandebug=	wlandebug
403_wpa=		wpa
404.endif
405
406.if ${MACHINE_ARCH} == "arm"
407_kgmon=		kgmon
408.endif
409
410.if ${MACHINE_ARCH} == "i386"
411.if ${MK_APM} != "no"
412_apm=		apm
413_apmd=		apmd
414.endif
415_asf=		asf
416.if ${MK_TOOLCHAIN} != "no"
417_btxld=		btxld
418.endif
419_cpucontrol=	cpucontrol
420_kgmon=		kgmon
421_kgzip=		kgzip
422_lptcontrol=	lptcontrol
423.if ${MK_NCP} != "no"
424_mount_nwfs=	mount_nwfs
425.endif
426_mount_smbfs=	mount_smbfs
427_mptable=	mptable
428.if ${MK_NDIS} != "no"
429_ndiscvt=	ndiscvt
430.endif
431_pnpinfo=	pnpinfo
432_sicontrol=	sicontrol
433_spkrtest=	spkrtest
434_zzz=		zzz
435.if ${MACHINE} == "i386" 
436.if ${MK_ACPI} != "no"
437_acpi=		acpi
438.endif
439_boot0cfg=	boot0cfg
440.if ${MK_WIRELESS} != "no"
441_wlconfig=	wlconfig
442.endif
443.elif ${MACHINE} == "pc98"
444_boot98cfg=	boot98cfg
445.endif
446.endif
447
448# kgzip: builds, but missing support files
449# mptable: broken (not 64 bit clean)
450# pnpinfo: crashes (not really useful anyway)
451.if ${MACHINE_ARCH} == "amd64"
452.if ${MK_ACPI} != "no"
453_acpi=		acpi
454.endif
455_asf=		asf
456_boot0cfg=	boot0cfg
457.if ${MK_TOOLCHAIN} != "no"
458_btxld=		btxld
459.endif
460_cpucontrol=	cpucontrol
461_kgmon=		kgmon
462_lptcontrol=	lptcontrol
463.if ${MK_NCP} != "no"
464_mount_nwfs=	mount_nwfs
465.endif
466_mount_smbfs=	mount_smbfs
467_mptable=	mptable
468.if ${MK_NDIS} != "no"
469_ndiscvt=	ndiscvt
470.endif
471_sicontrol=	sicontrol
472_spkrtest=	spkrtest
473_zzz=		zzz
474.endif
475
476.if ${MACHINE_ARCH} == "ia64"
477.if ${MK_ACPI} != "no"
478_acpi=		acpi
479.endif
480_kgmon=		kgmon
481_mount_smbfs=	mount_smbfs
482_zzz=		zzz
483.endif
484
485.if ${MACHINE_ARCH} == "powerpc"
486_mount_smbfs=	mount_smbfs
487_nvram=		nvram
488_ofwdump=	ofwdump
489.endif
490
491.if ${MACHINE_ARCH} == "sparc64"
492_eeprom=	eeprom
493_ofwdump=	ofwdump
494.endif
495
496.include <bsd.subdir.mk>
497