Makefile revision 174293
1222468Sbz#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2222468Sbz# $FreeBSD: head/usr.sbin/Makefile 174293 2007-12-05 15:35:25Z obrien $
3222468Sbz
4222468Sbz.include <bsd.own.mk>
5287690Sdteske
6222468Sbz# XXX MISSING:		mkproto
7222468SbzSUBDIR=	ac \
8222468Sbz	accton \
9222468Sbz	${_acpi} \
10222468Sbz	adduser \
11222468Sbz	ancontrol \
12222468Sbz	${_apm} \
13222468Sbz	${_apmd} \
14222468Sbz	${_arlcontrol} \
15222468Sbz	arp \
16222468Sbz	${_asf} \
17222468Sbz	${_atm} \
18222468Sbz	${_audit} \
19222468Sbz	${_auditd} \
20222468Sbz	${_auditreduce} \
21222468Sbz	${_authpf} \
22222468Sbz	${_bluetooth} \
23222468Sbz	${_boot0cfg} \
24222468Sbz	${_boot98cfg} \
25222468Sbz	bootparamd \
26222468Sbz	bsnmpd \
27222468Sbz	${_btxld} \
28222468Sbz	burncd \
29222468Sbz	cdcontrol \
30222468Sbz	chkgrp \
31222468Sbz	chown \
32222468Sbz	chroot \
33257842Sdteske	ckdist \
34257842Sdteske	config \
35222468Sbz	cron \
36257842Sdteske	crunch \
37257842Sdteske	ctm \
38257842Sdteske	daemon \
39257842Sdteske	dconschat \
40257842Sdteske	devinfo \
41257842Sdteske	digictl \
42257842Sdteske	diskinfo \
43222468Sbz	${_dnssec-keygen} \
44222468Sbz	${_dnssec-signzone} \
45222468Sbz	${_editmap} \
46222468Sbz	edquota \
47222468Sbz	${_eeprom} \
48222468Sbz	extattr \
49222468Sbz	extattrctl \
50222468Sbz	${_faithd} \
51222468Sbz	fdcontrol \
52222468Sbz	fdformat \
53222468Sbz	fdread \
54222468Sbz	fdwrite \
55222468Sbz	flowctl \
56222468Sbz	freebsd-update \
57222468Sbz	${_ftp-proxy} \
58222468Sbz	fwcontrol \
59222468Sbz	getfmac \
60222468Sbz	getpmac \
61222468Sbz	gstat \
62222468Sbz	${_i4b} \
63222468Sbz	ifmcstat \
64222468Sbz	inetd \
65222502Sbz	iostat \
66257842Sdteske	${_ip6addrctl} \
67222468Sbz	ipfwpcap \
68257842Sdteske	${_IPXrouted} \
69222468Sbz	jail \
70222468Sbz	jexec \
71222468Sbz	jls \
72222468Sbz	kbdcontrol \
73222468Sbz	kbdmap \
74222619Sbz	${_keyserv} \
75222468Sbz	${_kgmon} \
76222468Sbz	${_kgzip} \
77222468Sbz	kldxref \
78222468Sbz	lastlogin \
79222468Sbz	lmcconfig \
80222468Sbz	${_lpr} \
81222468Sbz	${_lptcontrol} \
82222468Sbz	${_mailstats} \
83222468Sbz	mailwrapper \
84222468Sbz	${_makemap} \
85222468Sbz	manctl \
86222468Sbz	memcontrol \
87222468Sbz	mergemaster \
88222468Sbz	mixer \
89222468Sbz	${_mld6query} \
90222468Sbz	mlxcontrol \
91222468Sbz	mountd \
92222468Sbz	${_mount_nwfs} \
93222468Sbz	mount_portalfs \
94222468Sbz	${_mount_smbfs} \
95222468Sbz	moused \
96222468Sbz	${_mptable} \
97222468Sbz	mtest \
98222468Sbz	mtree \
99222468Sbz	${_named} \
100222468Sbz	${_named-checkconf} \
101222468Sbz	${_named-checkzone} \
102222468Sbz	${_named.reload} \
103222468Sbz	${_ndiscvt} \
104222468Sbz	${_ndp} \
105222468Sbz	newsyslog \
106222468Sbz	nfsd \
107222468Sbz	ngctl \
108222468Sbz	nghook \
109222468Sbz	nologin \
110222468Sbz	${_nscd} \
111222468Sbz	ntp \
112222468Sbz	${_nvram} \
113222468Sbz	${_ofwdump} \
114222468Sbz	pccard \
115222468Sbz	pciconf \
116222468Sbz	periodic \
117222468Sbz	pkg_install \
118222468Sbz	pmccontrol \
119222468Sbz	pmcstat \
120222468Sbz	${_pnpinfo} \
121222468Sbz	portsnap \
122222468Sbz	powerd \
123222468Sbz	ppp \
124222468Sbz	${_pppctl} \
125222468Sbz	pppd \
126222468Sbz	pppstats \
127222468Sbz	${_praliases} \
128222468Sbz	${_praudit} \
129222468Sbz	procctl \
130222468Sbz	pstat \
131222468Sbz	pw \
132222468Sbz	pwd_mkdb \
133222468Sbz	quot \
134222468Sbz	quotaon \
135222468Sbz	rarpd \
136222468Sbz	raycontrol \
137222468Sbz	repquota \
138222468Sbz	${_rip6query} \
139222468Sbz	rmt \
140222468Sbz	${_rndc} \
141222468Sbz	${_rndc-confgen} \
142222468Sbz	${_route6d} \
143222619Sbz	rpcbind \
144287690Sdteske	rpc.lockd \
145222468Sbz	rpc.statd \
146287690Sdteske	rpc.umntall \
147222619Sbz	${_rpc.yppasswdd} \
148222468Sbz	${_rpc.ypupdated} \
149287690Sdteske	${_rpc.ypxfrd} \
150225429Sbz	${_rrenumd} \
151225429Sbz	${_rtadvd} \
152287690Sdteske	rtprio \
153225429Sbz	${_rtsold} \
154222468Sbz	rwhod \
155222468Sbz	sa \
156287690Sdteske	sade \
157287690Sdteske	${_sendmail} \
158257842Sdteske	setfmac \
159257842Sdteske	setpmac \
160257842Sdteske	${_sicontrol} \
161	sliplogin \
162	slstat \
163	smbmsg \
164	snapinfo \
165	${_spkrtest} \
166	spray \
167	${_sysinstall} \
168	syslogd \
169	tcpdchk \
170	tcpdmatch \
171	tcpdrop \
172	tcpdump \
173	timed \
174	traceroute \
175	${_traceroute6} \
176	trpt \
177	tzsetup \
178	ugidfw \
179	${_usbdevs} \
180	vidcontrol \
181	vipw \
182	watch \
183	watchdogd \
184	wlandebug \
185	${_wlconfig} \
186	wpa \
187	${_ypbind} \
188	${_yp_mkdb} \
189	${_yppoll} \
190	${_yppush} \
191	${_ypserv} \
192	${_ypset} \
193	zic \
194	${_zzz}
195
196.if ${MACHINE_ARCH} != "arm"
197_sysinstall=	sysinstall
198.endif
199
200# Disabled in 7.0 as netatm is not MPSAFE.
201#.if ${MK_ATM} != "no"
202#_atm=		atm
203#.endif
204
205.if ${MK_AUDIT} != "no"
206_audit= 	audit
207_auditd=	auditd
208_auditreduce=	auditreduce
209_praudit=	praudit
210.endif
211
212.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
213_dnssec-keygen=		dnssec-keygen
214_dnssec-signzone=	dnssec-signzone
215.endif
216.if ${MK_BIND_NAMED} != "no"
217_named=			named
218_named-checkconf=	named-checkconf
219_named-checkzone=	named-checkzone
220_named.reload=		named.reload
221_rndc=			rndc
222_rndc-confgen=		rndc-confgen
223.endif
224
225.if ${MK_BLUETOOTH} != "no"
226_bluetooth=	bluetooth
227.endif
228
229.if ${MK_OPENSSL} != "no"
230_keyserv=	keyserv
231.endif
232
233.if ${MK_PF} != "no"
234_ftp-proxy=	ftp-proxy
235.endif
236
237.if ${MK_INET6} != "no"
238_faithd=	faithd
239_ip6addrctl=	ip6addrctl
240_mld6query=	mld6query
241_ndp=		ndp
242_rip6query=	rip6query
243_route6d=	route6d
244_rrenumd=	rrenumd
245_rtadvd=	rtadvd
246_rtsold=	rtsold
247_traceroute6=	traceroute6
248.endif
249
250.if ${MK_IPX} != "no"
251_IPXrouted=	IPXrouted
252.endif
253
254.if ${MK_NIS} != "no"
255_rpc.yppasswdd=	rpc.yppasswdd
256_rpc.ypupdated=	rpc.ypupdated
257_rpc.ypxfrd=	rpc.ypxfrd
258_ypbind=	ypbind
259_yp_mkdb=	yp_mkdb
260_yppoll=	yppoll
261_yppush=	yppush
262_ypserv=	ypserv
263_ypset=		ypset
264.endif
265
266.if ${MK_AUTHPF} != "no"
267_authpf=	authpf
268.endif
269
270.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
271_pppctl=	pppctl
272.endif
273
274.if ${MK_LPR} != "no"
275_lpr=		lpr
276.endif
277
278.if ${MK_NS_CACHING} != "no"
279.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
280_nscd=		nscd
281.endif
282.endif
283
284.if ${MK_SENDMAIL} != "no"
285_editmap=	editmap
286_mailstats=	mailstats
287_makemap=	makemap
288_praliases=	praliases
289_sendmail=	sendmail
290.endif
291
292.if ${MK_USB} != "no"
293_usbdevs=	usbdevs
294.endif
295
296.if ${MACHINE_ARCH} == "arm"
297_kgmon=		kgmon
298.endif
299
300.if ${MACHINE_ARCH} == "i386"
301_apm=		apm
302_apmd=		apmd
303_asf=		asf
304_btxld=		btxld
305.if ${MK_I4B} != "no"
306_i4b=		i4b
307.endif
308_kgmon=		kgmon
309_kgzip=		kgzip
310_lptcontrol=	lptcontrol
311.if ${MK_NCP} != "no"
312_mount_nwfs=	mount_nwfs
313.endif
314_mount_smbfs=	mount_smbfs
315_mptable=	mptable
316_ndiscvt=	ndiscvt
317_pnpinfo=	pnpinfo
318_sicontrol=	sicontrol
319_spkrtest=	spkrtest
320_zzz=		zzz
321.if ${MACHINE} == "i386" 
322.if ${MK_ACPI} != "no"
323_acpi=		acpi
324.endif
325_arlcontrol=	arlcontrol
326_boot0cfg=	boot0cfg
327_wlconfig=	wlconfig
328.elif ${MACHINE} == "pc98"
329_boot98cfg=	boot98cfg
330.endif
331.endif
332
333# kgzip: builds, but missing support files
334# mptable: broken (not 64 bit clean)
335# pnpinfo: crashes (not really useful anyway)
336.if ${MACHINE_ARCH} == "amd64"
337.if ${MK_ACPI} != "no"
338_acpi=		acpi
339.endif
340_asf=		asf
341_boot0cfg=	boot0cfg
342_btxld=		btxld
343_kgmon=		kgmon
344_lptcontrol=	lptcontrol
345.if ${MK_NCP} != "no"
346_mount_nwfs=	mount_nwfs
347.endif
348_mount_smbfs=	mount_smbfs
349_mptable=	mptable
350_ndiscvt=	ndiscvt
351_sicontrol=	sicontrol
352_spkrtest=	spkrtest
353_zzz=		zzz
354.endif
355
356.if ${MACHINE_ARCH} == "ia64"
357.if ${MK_ACPI} != "no"
358_acpi=		acpi
359.endif
360_kgmon=		kgmon
361_mount_smbfs=	mount_smbfs
362_zzz=		zzz
363.endif
364
365.if ${MACHINE_ARCH} == "powerpc"
366_mount_smbfs=	mount_smbfs
367_nvram=		nvram
368.endif
369
370.if ${MACHINE_ARCH} == "sparc64"
371_eeprom=	eeprom
372_ofwdump=	ofwdump
373.endif
374
375.include <bsd.subdir.mk>
376