Makefile revision 171635
1112158Sdas#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2112158Sdas# $FreeBSD: head/usr.sbin/Makefile 171635 2007-07-28 00:12:21Z thompsa $
3112158Sdas
4112158Sdas.include <bsd.own.mk>
5112158Sdas
6112158Sdas# XXX MISSING:		mkproto
7112158SdasSUBDIR=	ac \
8112158Sdas	accton \
9112158Sdas	${_acpi} \
10112158Sdas	adduser \
11112158Sdas	amd \
12112158Sdas	ancontrol \
13112158Sdas	${_apm} \
14112158Sdas	${_apmd} \
15112158Sdas	${_arlcontrol} \
16112158Sdas	arp \
17112158Sdas	${_asf} \
18112158Sdas	${_atm} \
19112158Sdas	${_audit} \
20112158Sdas	${_auditd} \
21112158Sdas	${_auditreduce} \
22112158Sdas	${_authpf} \
23112158Sdas	${_bluetooth} \
24112158Sdas	${_boot0cfg} \
25112158Sdas	${_boot98cfg} \
26112158Sdas	bootparamd \
27112158Sdas	bsnmpd \
28112158Sdas	${_btxld} \
29112158Sdas	burncd \
30112158Sdas	${_cached} \
31112158Sdas	cdcontrol \
32112158Sdas	chkgrp \
33112158Sdas	chown \
34112158Sdas	chroot \
35112158Sdas	ckdist \
36112158Sdas	config \
37112158Sdas	cron \
38112158Sdas	crunch \
39112158Sdas	ctm \
40112158Sdas	daemon \
41112158Sdas	dconschat \
42112158Sdas	devinfo \
43112158Sdas	digictl \
44112158Sdas	diskinfo \
45112158Sdas	${_dnssec-keygen} \
46112158Sdas	${_dnssec-signzone} \
47112158Sdas	${_editmap} \
48112158Sdas	edquota \
49112158Sdas	${_eeprom} \
50112158Sdas	extattr \
51112158Sdas	extattrctl \
52112158Sdas	${_faithd} \
53112158Sdas	fdcontrol \
54112158Sdas	fdformat \
55112158Sdas	fdread \
56112158Sdas	fdwrite \
57112158Sdas	flowctl \
58112158Sdas	freebsd-update \
59112158Sdas	${_ftp-proxy} \
60112158Sdas	fwcontrol \
61112158Sdas	getfmac \
62112158Sdas	getpmac \
63112158Sdas	gstat \
64112158Sdas	${_i4b} \
65112158Sdas	ifmcstat \
66112158Sdas	inetd \
67112158Sdas	iostat \
68112158Sdas	${_ip6addrctl} \
69112158Sdas	ipfwpcap \
70112158Sdas	${_IPXrouted} \
71112158Sdas	jail \
72112158Sdas	jexec \
73112158Sdas	jls \
74112158Sdas	kbdcontrol \
75112158Sdas	kbdmap \
76112158Sdas	${_keyserv} \
77112158Sdas	${_kgmon} \
78112158Sdas	${_kgzip} \
79112158Sdas	kldxref \
80112158Sdas	lastlogin \
81112158Sdas	lmcconfig \
82112158Sdas	${_lpr} \
83112158Sdas	${_lptcontrol} \
84112158Sdas	${_mailstats} \
85112158Sdas	mailwrapper \
86112158Sdas	${_makemap} \
87112158Sdas	manctl \
88112158Sdas	memcontrol \
89112158Sdas	mergemaster \
90112158Sdas	mixer \
91112158Sdas	${_mld6query} \
92112158Sdas	mlxcontrol \
93112158Sdas	mountd \
94112158Sdas	${_mount_nwfs} \
95112158Sdas	mount_portalfs \
96112158Sdas	${_mount_smbfs} \
97112158Sdas	moused \
98112158Sdas	${_mptable} \
99112158Sdas	mtest \
100112158Sdas	mtree \
101112158Sdas	${_named} \
102112158Sdas	${_named-checkconf} \
103112158Sdas	${_named-checkzone} \
104112158Sdas	${_named.reload} \
105112158Sdas	${_ndiscvt} \
106112158Sdas	${_ndp} \
107112158Sdas	newsyslog \
108112158Sdas	nfsd \
109112158Sdas	ngctl \
110112158Sdas	nghook \
111112158Sdas	nologin \
112112158Sdas	ntp \
113112158Sdas	${_nvram} \
114112158Sdas	${_ofwdump} \
115112158Sdas	pccard \
116112158Sdas	pciconf \
117112158Sdas	periodic \
118112158Sdas	pkg_install \
119112158Sdas	pmccontrol \
120112158Sdas	pmcstat \
121112158Sdas	${_pnpinfo} \
122112158Sdas	portsnap \
123112158Sdas	powerd \
124112158Sdas	ppp \
125112158Sdas	${_pppctl} \
126112158Sdas	pppd \
127112158Sdas	pppstats \
128112158Sdas	${_praliases} \
129112158Sdas	${_praudit} \
130112158Sdas	procctl \
131112158Sdas	pstat \
132112158Sdas	pw \
133112158Sdas	pwd_mkdb \
134112158Sdas	quot \
135112158Sdas	quotaon \
136112158Sdas	rarpd \
137112158Sdas	raycontrol \
138112158Sdas	repquota \
139112158Sdas	${_rip6query} \
140112158Sdas	rmt \
141112158Sdas	${_rndc} \
142112158Sdas	${_rndc-confgen} \
143112158Sdas	${_route6d} \
144112158Sdas	rpcbind \
145112158Sdas	rpc.lockd \
146112158Sdas	rpc.statd \
147112158Sdas	rpc.umntall \
148112158Sdas	${_rpc.yppasswdd} \
149112158Sdas	${_rpc.ypupdated} \
150112158Sdas	${_rpc.ypxfrd} \
151112158Sdas	${_rrenumd} \
152112158Sdas	${_rtadvd} \
153112158Sdas	rtprio \
154112158Sdas	${_rtsold} \
155112158Sdas	rwhod \
156112158Sdas	sa \
157112158Sdas	sade \
158112158Sdas	${_sendmail} \
159112158Sdas	setfmac \
160112158Sdas	setpmac \
161112158Sdas	${_sicontrol} \
162112158Sdas	sliplogin \
163112158Sdas	slstat \
164112158Sdas	smbmsg \
165112158Sdas	snapinfo \
166112158Sdas	${_spkrtest} \
167112158Sdas	spray \
168112158Sdas	${_sysinstall} \
169112158Sdas	syslogd \
170112158Sdas	tcpdchk \
171112158Sdas	tcpdmatch \
172112158Sdas	tcpdrop \
173112158Sdas	tcpdump \
174112158Sdas	timed \
175112158Sdas	traceroute \
176112158Sdas	${_traceroute6} \
177112158Sdas	trpt \
178112158Sdas	tzsetup \
179112158Sdas	ugidfw \
180112158Sdas	${_usbdevs} \
181112158Sdas	vidcontrol \
182112158Sdas	vipw \
183112158Sdas	watch \
184112158Sdas	watchdogd \
185112158Sdas	wlandebug \
186112158Sdas	${_wlconfig} \
187112158Sdas	wpa \
188112158Sdas	${_ypbind} \
189112158Sdas	${_yp_mkdb} \
190112158Sdas	${_yppoll} \
191112158Sdas	${_yppush} \
192112158Sdas	${_ypserv} \
193112158Sdas	${_ypset} \
194112158Sdas	zic \
195112158Sdas	${_zzz}
196112158Sdas
197112158Sdas.if ${MACHINE_ARCH} != "arm"
198112158Sdas_sysinstall=	sysinstall
199112158Sdas.endif
200112158Sdas
201112158Sdas# Disabled in 7.0 as netatm is not MPSAFE.
202112158Sdas#.if ${MK_ATM} != "no"
203112158Sdas#_atm=		atm
204112158Sdas#.endif
205112158Sdas
206112158Sdas.if ${MK_AUDIT} != "no"
207112158Sdas_audit= 	audit
208112158Sdas_auditd=	auditd
209112158Sdas_auditreduce=	auditreduce
210112158Sdas_praudit=	praudit
211112158Sdas.endif
212112158Sdas
213112158Sdas.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
214112158Sdas_dnssec-keygen=		dnssec-keygen
215112158Sdas_dnssec-signzone=	dnssec-signzone
216112158Sdas.endif
217112158Sdas.if ${MK_BIND_NAMED} != "no"
218112158Sdas_named=			named
219112158Sdas_named-checkconf=	named-checkconf
220112158Sdas_named-checkzone=	named-checkzone
221112158Sdas_named.reload=		named.reload
222112158Sdas_rndc=			rndc
223112158Sdas_rndc-confgen=		rndc-confgen
224112158Sdas.endif
225112158Sdas
226112158Sdas.if ${MK_BLUETOOTH} != "no"
227112158Sdas_bluetooth=	bluetooth
228112158Sdas.endif
229112158Sdas
230112158Sdas.if ${MK_OPENSSL} != "no"
231112158Sdas_keyserv=	keyserv
232112158Sdas.endif
233112158Sdas
234112158Sdas.if ${MK_PF} != "no"
235112158Sdas_ftp-proxy=	ftp-proxy
236112158Sdas.endif
237112158Sdas
238112158Sdas.if ${MK_INET6} != "no"
239112158Sdas_faithd=	faithd
240112158Sdas_ip6addrctl=	ip6addrctl
241112158Sdas_mld6query=	mld6query
242112158Sdas_ndp=		ndp
243112158Sdas_rip6query=	rip6query
244112158Sdas_route6d=	route6d
245112158Sdas_rrenumd=	rrenumd
246112158Sdas_rtadvd=	rtadvd
247112158Sdas_rtsold=	rtsold
248112158Sdas_traceroute6=	traceroute6
249112158Sdas.endif
250112158Sdas
251112158Sdas.if ${MK_IPX} != "no"
252112158Sdas_IPXrouted=	IPXrouted
253112158Sdas.endif
254112158Sdas
255112158Sdas.if ${MK_NIS} != "no"
256112158Sdas_rpc.yppasswdd=	rpc.yppasswdd
257112158Sdas_rpc.ypupdated=	rpc.ypupdated
258112158Sdas_rpc.ypxfrd=	rpc.ypxfrd
259112158Sdas_ypbind=	ypbind
260112158Sdas_yp_mkdb=	yp_mkdb
261112158Sdas_yppoll=	yppoll
262112158Sdas_yppush=	yppush
263112158Sdas_ypserv=	ypserv
264112158Sdas_ypset=		ypset
265112158Sdas.endif
266112158Sdas
267112158Sdas.if ${MK_AUTHPF} != "no"
268112158Sdas_authpf=	authpf
269112158Sdas.endif
270112158Sdas
271112158Sdas.if ${MK_LPR} != "no"
272112158Sdas_lpr=		lpr
273112158Sdas.endif
274112158Sdas
275112158Sdas.if ${MK_NS_CACHING} != "no"
276112158Sdas.if ${MK_LIBTHR} != "no" || \
277112158Sdas    (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
278112158Sdas_cached=	cached
279112158Sdas.endif
280112158Sdas.endif
281112158Sdas
282112158Sdas.if ${MK_SENDMAIL} != "no"
283112158Sdas_editmap=	editmap
284112158Sdas_mailstats=	mailstats
285112158Sdas_makemap=	makemap
286112158Sdas_praliases=	praliases
287112158Sdas_sendmail=	sendmail
288112158Sdas.endif
289112158Sdas
290112158Sdas.if ${MK_USB} != "no"
291112158Sdas_usbdevs=	usbdevs
292112158Sdas.endif
293112158Sdas
294112158Sdas.if ${MACHINE_ARCH} == "arm"
295112158Sdas_kgmon=		kgmon
296112158Sdas.endif
297112158Sdas
298112158Sdas.if ${MACHINE_ARCH} == "i386"
299112158Sdas_apm=		apm
300112158Sdas_apmd=		apmd
301112158Sdas_asf=		asf
302112158Sdas_btxld=		btxld
303112158Sdas.if ${MK_I4B} != "no"
304112158Sdas_i4b=		i4b
305112158Sdas.endif
306112158Sdas_kgmon=		kgmon
307112158Sdas_kgzip=		kgzip
308112158Sdas_lptcontrol=	lptcontrol
309112158Sdas.if ${MK_NCP} != "no"
310112158Sdas_mount_nwfs=	mount_nwfs
311112158Sdas.endif
312112158Sdas_mount_smbfs=	mount_smbfs
313112158Sdas_mptable=	mptable
314112158Sdas_ndiscvt=	ndiscvt
315112158Sdas_pnpinfo=	pnpinfo
316112158Sdas.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
317112158Sdas_pppctl=	pppctl
318112158Sdas.endif
319112158Sdas_sicontrol=	sicontrol
320112158Sdas_spkrtest=	spkrtest
321112158Sdas_zzz=		zzz
322112158Sdas.if ${MACHINE} == "i386" 
323112158Sdas.if ${MK_ACPI} != "no"
324112158Sdas_acpi=		acpi
325112158Sdas.endif
326112158Sdas_arlcontrol=	arlcontrol
327112158Sdas_boot0cfg=	boot0cfg
328112158Sdas_wlconfig=	wlconfig
329112158Sdas.elif ${MACHINE} == "pc98"
330112158Sdas_boot98cfg=	boot98cfg
331112158Sdas.endif
332112158Sdas.endif
333112158Sdas
334112158Sdas# kgzip: builds, but missing support files
335112158Sdas# mptable: broken (not 64 bit clean)
336112158Sdas# pnpinfo: crashes (not really useful anyway)
337112158Sdas.if ${MACHINE_ARCH} == "amd64"
338112158Sdas.if ${MK_ACPI} != "no"
339112158Sdas_acpi=		acpi
340112158Sdas.endif
341112158Sdas_asf=		asf
342112158Sdas_boot0cfg=	boot0cfg
343112158Sdas_btxld=		btxld
344112158Sdas_kgmon=		kgmon
345112158Sdas_lptcontrol=	lptcontrol
346112158Sdas.if ${MK_NCP} != "no"
347112158Sdas_mount_nwfs=	mount_nwfs
348112158Sdas.endif
349112158Sdas_mount_smbfs=	mount_smbfs
350112158Sdas_mptable=	mptable
351112158Sdas_ndiscvt=	ndiscvt
352112158Sdas.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
353112158Sdas_pppctl=	pppctl
354112158Sdas.endif
355112158Sdas_sicontrol=	sicontrol
356112158Sdas_spkrtest=	spkrtest
357112158Sdas_zzz=		zzz
358112158Sdas.endif
359112158Sdas
360112158Sdas.if ${MACHINE_ARCH} == "ia64"
361112158Sdas.if ${MK_ACPI} != "no"
362112158Sdas_acpi=		acpi
363112158Sdas.endif
364112158Sdas_kgmon=		kgmon
365112158Sdas_mount_smbfs=	mount_smbfs
366112158Sdas.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
367112158Sdas_pppctl=	pppctl
368112158Sdas.endif
369112158Sdas_zzz=		zzz
370112158Sdas.endif
371112158Sdas
372112158Sdas.if ${MACHINE_ARCH} == "powerpc"
373112158Sdas_mount_smbfs=	mount_smbfs
374112158Sdas_nvram=		nvram
375112158Sdas.endif
376112158Sdas
377112158Sdas.if ${MACHINE_ARCH} == "sparc64"
378112158Sdas_eeprom=	eeprom
379112158Sdas_ofwdump=	ofwdump
380112158Sdas.if ${MK_LIBTHR} != "no"
381112158Sdas_pppctl=	pppctl
382112158Sdas.endif
383112158Sdas.endif
384112158Sdas
385112158Sdas.include <bsd.subdir.mk>
386112158Sdas