Makefile revision 158115
1171169Smlaier#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2171169Smlaier# $FreeBSD: head/usr.sbin/Makefile 158115 2006-04-28 12:03:38Z ume $
3171169Smlaier
4171169Smlaier.include <bsd.own.mk>
5171169Smlaier
6171169Smlaier# XXX MISSING:		mkproto
7171169SmlaierSUBDIR=	ac \
8171169Smlaier	accton \
9171169Smlaier	${_acpi} \
10171169Smlaier	adduser \
11171169Smlaier	amd \
12171169Smlaier	ancontrol \
13171169Smlaier	${_apm} \
14171169Smlaier	${_apmd} \
15171169Smlaier	${_arlcontrol} \
16171169Smlaier	arp \
17171169Smlaier	${_audit} \
18171169Smlaier	${_auditd} \
19171169Smlaier	${_auditreduce} \
20171169Smlaier	${_asf} \
21171169Smlaier	${_atm} \
22171169Smlaier	${_authpf} \
23171169Smlaier	${_bluetooth} \
24171169Smlaier	${_boot0cfg} \
25171169Smlaier	${_boot98cfg} \
26171169Smlaier	bootparamd \
27171169Smlaier	bsnmpd \
28171169Smlaier	${_btxld} \
29171169Smlaier	burncd \
30171169Smlaier	${_cached} \
31171169Smlaier	cdcontrol \
32171169Smlaier	chkgrp \
33171169Smlaier	chown \
34171169Smlaier	chroot \
35171169Smlaier	ckdist \
36171169Smlaier	config \
37171169Smlaier	cron \
38171169Smlaier	crunch \
39171169Smlaier	ctm \
40171169Smlaier	daemon \
41171169Smlaier	dconschat \
42171169Smlaier	devinfo \
43171169Smlaier	digictl \
44171169Smlaier	diskinfo \
45171169Smlaier	${_dnssec-keygen} \
46171169Smlaier	${_dnssec-signzone} \
47171169Smlaier	${_editmap} \
48171169Smlaier	edquota \
49171169Smlaier	${_eeprom} \
50171169Smlaier	${_elf2exe} \
51171169Smlaier	extattr \
52171169Smlaier	extattrctl \
53171169Smlaier	faithd \
54171169Smlaier	fdcontrol \
55171169Smlaier	fdformat \
56171169Smlaier	fdread \
57171169Smlaier	fdwrite \
58171169Smlaier	flowctl \
59171169Smlaier	fwcontrol \
60171169Smlaier	getfmac \
61171169Smlaier	getpmac \
62171169Smlaier	gstat \
63171169Smlaier	${_i4b} \
64171169Smlaier	ifmcstat \
65171169Smlaier	inetd \
66171169Smlaier	iostat \
67171169Smlaier	ip6addrctl \
68171169Smlaier	ipfwpcap \
69171169Smlaier	${_IPXrouted} \
70171169Smlaier	jail \
71171169Smlaier	jexec \
72171169Smlaier	jls \
73171169Smlaier	kbdcontrol \
74171169Smlaier	kbdmap \
75171169Smlaier	${_keyserv} \
76171169Smlaier	${_kgmon} \
77171169Smlaier	${_kgzip} \
78171169Smlaier	kldxref \
79171169Smlaier	lastlogin \
80171169Smlaier	${_lpr} \
81171169Smlaier	${_lptcontrol} \
82171169Smlaier	lmcconfig \
83171169Smlaier	${_mailstats} \
84171169Smlaier	mailwrapper \
85171169Smlaier	${_makemap} \
86171169Smlaier	manctl \
87171169Smlaier	memcontrol \
88171169Smlaier	mergemaster \
89171169Smlaier	mixer \
90171169Smlaier	${_mld6query} \
91171169Smlaier	mlxcontrol \
92171169Smlaier	mountd \
93171169Smlaier	${_mount_nwfs} \
94171169Smlaier	mount_portalfs \
95171169Smlaier	${_mount_smbfs} \
96171169Smlaier	moused \
97171169Smlaier	${_mptable} \
98171169Smlaier	mrouted \
99171169Smlaier	mtest \
100171169Smlaier	mtree \
101171169Smlaier	${_named} \
102171169Smlaier	${_named-checkconf} \
103171169Smlaier	${_named-checkzone} \
104171169Smlaier	${_named.reload} \
105171169Smlaier	${_ndiscvt} \
106171169Smlaier	ndp \
107171169Smlaier	newsyslog \
108171169Smlaier	nfsd \
109171169Smlaier	ngctl \
110171169Smlaier	nghook \
111171169Smlaier	nologin \
112171169Smlaier	ntp \
113171169Smlaier	${_ofwdump} \
114171169Smlaier	${_pccard} \
115171169Smlaier	pciconf \
116171169Smlaier	${_pcvt} \
117171169Smlaier	periodic \
118171169Smlaier	pkg_install \
119171169Smlaier	pmccontrol \
120171169Smlaier	pmcstat \
121171169Smlaier	${_pnpinfo} \
122171169Smlaier	portsnap \
123171169Smlaier	powerd \
124171169Smlaier	ppp \
125171169Smlaier	${_pppctl} \
126171169Smlaier	pppd \
127171169Smlaier	pppstats \
128171169Smlaier	${_praliases} \
129171169Smlaier	${_praudit} \
130171169Smlaier	procctl \
131171169Smlaier	pstat \
132171169Smlaier	pw \
133171169Smlaier	pwd_mkdb \
134171169Smlaier	quot \
135171169Smlaier	quotaon \
136171169Smlaier	rarpd \
137171169Smlaier	raycontrol \
138171169Smlaier	repquota \
139171169Smlaier	${_rip6query} \
140171169Smlaier	rmt \
141171169Smlaier	${_rndc} \
142171169Smlaier	${_rndc-confgen} \
143171169Smlaier	${_route6d} \
144171169Smlaier	rpcbind \
145171169Smlaier	rpc.lockd \
146171169Smlaier	rpc.statd \
147171169Smlaier	rpc.umntall \
148171169Smlaier	${_rpc.yppasswdd} \
149171169Smlaier	${_rpc.ypupdated} \
150171169Smlaier	${_rpc.ypxfrd} \
151171169Smlaier	rrenumd \
152171169Smlaier	rtadvd \
153171169Smlaier	rtprio \
154171169Smlaier	rtsold \
155171169Smlaier	rwhod \
156171169Smlaier	sa \
157171169Smlaier	${_sendmail} \
158171169Smlaier	setfmac \
159171169Smlaier	setpmac \
160171169Smlaier	${_sicontrol} \
161171169Smlaier	sliplogin \
162171169Smlaier	slstat \
163171169Smlaier	smbmsg \
164171169Smlaier	snapinfo \
165171169Smlaier	${_spkrtest} \
166171169Smlaier	spray \
167171169Smlaier	${_sysinstall} \
168171169Smlaier	syslogd \
169171169Smlaier	tcpdchk \
170171169Smlaier	tcpdmatch \
171171169Smlaier	tcpdrop \
172171169Smlaier	tcpdump \
173171169Smlaier	timed \
174171169Smlaier	traceroute \
175171169Smlaier	${_traceroute6} \
176171169Smlaier	trpt \
177171169Smlaier	tzsetup \
178171169Smlaier	ugidfw \
179171169Smlaier	${_usbdevs} \
180171169Smlaier	vidcontrol \
181171169Smlaier	vipw \
182171169Smlaier	vnconfig \
183171169Smlaier	watch \
184171169Smlaier	watchdogd \
185171169Smlaier	wicontrol \
186171169Smlaier	${_wlconfig} \
187171169Smlaier	wpa \
188171169Smlaier	${_ypbind} \
189171169Smlaier	${_yp_mkdb} \
190171169Smlaier	${_yppoll} \
191171169Smlaier	${_yppush} \
192171169Smlaier	${_ypserv} \
193171169Smlaier	${_ypset} \
194171169Smlaier	zic \
195171169Smlaier	${_zzz}
196171169Smlaier
197171169Smlaier.if ${MACHINE_ARCH} != "arm"
198171169Smlaier_sysinstall=	sysinstall
199171169Smlaier.endif
200171169Smlaier
201171169Smlaier.if ${MK_ATM} != "no"
202171169Smlaier_atm=		atm
203171169Smlaier.endif
204171169Smlaier
205171169Smlaier.if ${MK_AUDIT} != "no"
206171169Smlaier_audit= 	audit
207171169Smlaier_auditd=	auditd
208171169Smlaier_auditreduce=	auditreduce
209171169Smlaier_praudit=	praudit
210171169Smlaier.endif
211171169Smlaier
212171169Smlaier.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
213171169Smlaier_dnssec-keygen=		dnssec-keygen
214171169Smlaier_dnssec-signzone=	dnssec-signzone
215171169Smlaier.endif
216171169Smlaier.if ${MK_BIND_NAMED} != "no"
217171169Smlaier_named=			named
218171169Smlaier_named-checkconf=	named-checkconf
219171169Smlaier_named-checkzone=	named-checkzone
220171169Smlaier_named.reload=		named.reload
221171169Smlaier_rndc=			rndc
222171169Smlaier_rndc-confgen=		rndc-confgen
223171169Smlaier.endif
224171169Smlaier
225171169Smlaier.if ${MK_BLUETOOTH} != "no"
226171169Smlaier_bluetooth=	bluetooth
227171169Smlaier.endif
228171169Smlaier
229171169Smlaier.if ${MK_NS_CACHING} != "no"
230171169Smlaier_cached=       cached
231171169Smlaier.endif
232171169Smlaier
233171169Smlaier.if ${MK_OPENSSL} != "no"
234171169Smlaier_keyserv=	keyserv
235171169Smlaier.endif
236171169Smlaier
237171169Smlaier.if ${MK_INET6} != "no"
238171169Smlaier_mld6query=	mld6query
239171169Smlaier_rip6query=	rip6query
240171169Smlaier_route6d=	route6d
241171169Smlaier_traceroute6=	traceroute6
242171169Smlaier.endif
243171169Smlaier
244171169Smlaier.if ${MK_IPX} != "no"
245171169Smlaier_IPXrouted=	IPXrouted
246171169Smlaier.endif
247171169Smlaier
248171169Smlaier.if ${MK_NIS} != "no"
249171169Smlaier_rpc.yppasswdd=	rpc.yppasswdd
250171169Smlaier_rpc.ypupdated=	rpc.ypupdated
251171169Smlaier_rpc.ypxfrd=	rpc.ypxfrd
252171169Smlaier_ypbind=	ypbind
253171169Smlaier_yp_mkdb=	yp_mkdb
254171169Smlaier_yppoll=	yppoll
255171169Smlaier_yppush=	yppush
256171169Smlaier_ypserv=	ypserv
257171169Smlaier_ypset=		ypset
258171169Smlaier.endif
259171169Smlaier
260171169Smlaier.if ${MK_AUTHPF} != "no"
261171169Smlaier_authpf=	authpf
262171169Smlaier.endif
263171169Smlaier
264171169Smlaier.if ${MK_LPR} != "no"
265171169Smlaier_lpr=		lpr
266171169Smlaier.endif
267171169Smlaier
268171169Smlaier.if ${MK_SENDMAIL} != "no"
269171169Smlaier_editmap=	editmap
270171169Smlaier_mailstats=	mailstats
271171169Smlaier_makemap=	makemap
272171169Smlaier_praliases=	praliases
273171169Smlaier_sendmail=	sendmail
274171169Smlaier.endif
275171169Smlaier
276171169Smlaier.if ${MK_USB} != "no"
277171169Smlaier_usbdevs=	usbdevs
278171169Smlaier.endif
279171169Smlaier
280171169Smlaier.if ${MACHINE_ARCH} == "arm"
281171169Smlaier_kgmon=		kgmon
282171169Smlaier.endif
283171169Smlaier
284171169Smlaier.if ${MACHINE_ARCH} == "i386"
285171169Smlaier_apm=		apm
286171169Smlaier_apmd=		apmd
287171169Smlaier_asf=		asf
288171169Smlaier_btxld=		btxld
289171169Smlaier.if ${MK_I4B} != "no"
290171169Smlaier_i4b=		i4b
291171169Smlaier.endif
292171169Smlaier_kgmon=		kgmon
293171169Smlaier_kgzip=		kgzip
294171169Smlaier_lptcontrol=	lptcontrol
295171169Smlaier.if ${MK_NCP} != "no"
296171169Smlaier_mount_nwfs=	mount_nwfs
297171169Smlaier.endif
298171169Smlaier_mount_smbfs=	mount_smbfs
299171169Smlaier_mptable=	mptable
300171169Smlaier_ndiscvt=	ndiscvt
301171169Smlaier_pccard=	pccard
302171169Smlaier_pnpinfo=	pnpinfo
303171169Smlaier.if ${MK_LIBPTHREAD} != "no"
304171169Smlaier_pppctl=	pppctl
305171169Smlaier.endif
306171169Smlaier_sicontrol=	sicontrol
307171169Smlaier_spkrtest=	spkrtest
308171169Smlaier_zzz=		zzz
309171169Smlaier.if ${MACHINE} == "i386" 
310171169Smlaier.if ${MK_ACPI} != "no"
311171169Smlaier_acpi=		acpi
312171169Smlaier.endif
313171169Smlaier_arlcontrol=	arlcontrol
314171169Smlaier_boot0cfg=	boot0cfg
315171169Smlaier.if ${MK_PCVT} != "no"
316171169Smlaier_pcvt=		pcvt
317171169Smlaier.endif
318171169Smlaier_wlconfig=	wlconfig
319171169Smlaier.elif ${MACHINE} == "pc98"
320171169Smlaier_boot98cfg=	boot98cfg
321171169Smlaier.endif
322171169Smlaier.endif
323171169Smlaier
324171169Smlaier.if ${MACHINE_ARCH} == "alpha"
325171169Smlaier_elf2exe=	elf2exe
326171169Smlaier_pnpinfo=	pnpinfo
327171169Smlaier.if ${MK_LIBTHR} != "no"
328171169Smlaier_pppctl=	pppctl
329171169Smlaier.endif
330171169Smlaier.endif
331171169Smlaier
332171169Smlaier# kgzip: builds, but missing support files
333171169Smlaier# mptable: broken (not 64 bit clean)
334171169Smlaier# pnpinfo: crashes (not really useful anyway)
335171169Smlaier.if ${MACHINE_ARCH} == "amd64"
336171169Smlaier.if ${MK_ACPI} != "no"
337171169Smlaier_acpi=		acpi
338171169Smlaier.endif
339171169Smlaier_asf=		asf
340171169Smlaier_boot0cfg=	boot0cfg
341171169Smlaier_btxld=		btxld
342171169Smlaier_kgmon=		kgmon
343171169Smlaier_lptcontrol=	lptcontrol
344171169Smlaier.if ${MK_NCP} != "no"
345171169Smlaier_mount_nwfs=	mount_nwfs
346171169Smlaier.endif
347171169Smlaier_mount_smbfs=	mount_smbfs
348171169Smlaier_mptable=	mptable
349171169Smlaier_ndiscvt=	ndiscvt
350171169Smlaier.if ${MK_LIBPTHREAD} != "no"
351171169Smlaier_pppctl=	pppctl
352171169Smlaier.endif
353171169Smlaier_sicontrol=	sicontrol
354171169Smlaier_spkrtest=	spkrtest
355171169Smlaier_zzz=		zzz
356171169Smlaier.endif
357171169Smlaier
358171169Smlaier.if ${MACHINE_ARCH} == "ia64"
359171169Smlaier.if ${MK_ACPI} != "no"
360171169Smlaier_acpi=		acpi
361171169Smlaier.endif
362171169Smlaier_kgmon=		kgmon
363171169Smlaier.if ${MK_LIBPTHREAD} != "no"
364171169Smlaier_pppctl=	pppctl
365171169Smlaier.endif
366171169Smlaier_zzz=		zzz
367171169Smlaier.endif
368171169Smlaier
369171169Smlaier.if ${MACHINE_ARCH} == "powerpc"
370171169Smlaier_mount_smbfs=	mount_smbfs
371171169Smlaier.endif
372171169Smlaier
373171169Smlaier.if ${MACHINE_ARCH} == "sparc64"
374171169Smlaier_eeprom=	eeprom
375171169Smlaier_ofwdump=	ofwdump
376171169Smlaier.if ${MK_LIBTHR} != "no"
377171169Smlaier_pppctl=	pppctl
378171169Smlaier.endif
379171169Smlaier.endif
380171169Smlaier
381171169Smlaier.include <bsd.subdir.mk>
382171169Smlaier