Makefile revision 183422
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 183422 2008-09-27 22:24:50Z antoine $
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_jexec=		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_slstat=	slstat
381.endif
382
383.if ${MK_SYSINSTALL} != "no"
384.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
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_usbdevs=	usbdevs
399.endif
400
401.if ${MK_WIRELESS} != "no"
402_ancontrol=	ancontrol
403_raycontrol=	raycontrol
404_wlandebug=	wlandebug
405_wpa=		wpa
406.endif
407
408.if ${MACHINE_ARCH} == "arm"
409_kgmon=		kgmon
410.endif
411
412.if ${MACHINE_ARCH} == "i386"
413.if ${MK_APM} != "no"
414_apm=		apm
415_apmd=		apmd
416.endif
417_asf=		asf
418.if ${MK_TOOLCHAIN} != "no"
419_btxld=		btxld
420.endif
421_cpucontrol=	cpucontrol
422_kgmon=		kgmon
423_kgzip=		kgzip
424_lptcontrol=	lptcontrol
425.if ${MK_NCP} != "no"
426_mount_nwfs=	mount_nwfs
427.endif
428_mount_smbfs=	mount_smbfs
429_mptable=	mptable
430.if ${MK_NDIS} != "no"
431_ndiscvt=	ndiscvt
432.endif
433_pnpinfo=	pnpinfo
434_sicontrol=	sicontrol
435_spkrtest=	spkrtest
436_zzz=		zzz
437.if ${MACHINE} == "i386" 
438.if ${MK_ACPI} != "no"
439_acpi=		acpi
440.endif
441_boot0cfg=	boot0cfg
442.if ${MK_WIRELESS} != "no"
443_wlconfig=	wlconfig
444.endif
445.elif ${MACHINE} == "pc98"
446_boot98cfg=	boot98cfg
447.endif
448.endif
449
450# kgzip: builds, but missing support files
451# mptable: broken (not 64 bit clean)
452# pnpinfo: crashes (not really useful anyway)
453.if ${MACHINE_ARCH} == "amd64"
454.if ${MK_ACPI} != "no"
455_acpi=		acpi
456.endif
457_asf=		asf
458_boot0cfg=	boot0cfg
459.if ${MK_TOOLCHAIN} != "no"
460_btxld=		btxld
461.endif
462_cpucontrol=	cpucontrol
463_kgmon=		kgmon
464_lptcontrol=	lptcontrol
465.if ${MK_NCP} != "no"
466_mount_nwfs=	mount_nwfs
467.endif
468_mount_smbfs=	mount_smbfs
469_mptable=	mptable
470.if ${MK_NDIS} != "no"
471_ndiscvt=	ndiscvt
472.endif
473_sicontrol=	sicontrol
474_spkrtest=	spkrtest
475_zzz=		zzz
476.endif
477
478.if ${MACHINE_ARCH} == "ia64"
479.if ${MK_ACPI} != "no"
480_acpi=		acpi
481.endif
482_kgmon=		kgmon
483_mount_smbfs=	mount_smbfs
484_zzz=		zzz
485.endif
486
487.if ${MACHINE_ARCH} == "powerpc"
488_mount_smbfs=	mount_smbfs
489_nvram=		nvram
490_ofwdump=	ofwdump
491.endif
492
493.if ${MACHINE_ARCH} == "sparc64"
494_eeprom=	eeprom
495_ofwdump=	ofwdump
496.endif
497
498.include <bsd.subdir.mk>
499