Makefile revision 164616
1204917Sdes#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2162852Sdes# $FreeBSD: head/usr.sbin/Makefile 164616 2006-11-26 14:36:34Z ru $
3162852Sdes
4162852Sdes.include <bsd.own.mk>
5162852Sdes
6162852Sdes# XXX MISSING:		mkproto
7162852SdesSUBDIR=	ac \
8162852Sdes	accton \
9162852Sdes	${_acpi} \
10162852Sdes	adduser \
11162852Sdes	amd \
12162852Sdes	ancontrol \
13162852Sdes	${_apm} \
14162852Sdes	${_apmd} \
15162852Sdes	${_arlcontrol} \
16162852Sdes	arp \
17162852Sdes	${_asf} \
18162852Sdes	${_atm} \
19162852Sdes	${_audit} \
20162852Sdes	${_auditd} \
21162852Sdes	${_auditreduce} \
22162852Sdes	${_authpf} \
23181111Sdes	${_bluetooth} \
24162852Sdes	${_boot0cfg} \
25162852Sdes	${_boot98cfg} \
26204917Sdes	bootparamd \
27162852Sdes	bsnmpd \
28162852Sdes	${_btxld} \
29204917Sdes	burncd \
30204917Sdes	${_cached} \
31204917Sdes	cdcontrol \
32204917Sdes	chkgrp \
33204917Sdes	chown \
34162852Sdes	chroot \
35	ckdist \
36	config \
37	cron \
38	crunch \
39	ctm \
40	daemon \
41	dconschat \
42	devinfo \
43	digictl \
44	diskinfo \
45	${_dnssec-keygen} \
46	${_dnssec-signzone} \
47	${_editmap} \
48	edquota \
49	${_eeprom} \
50	extattr \
51	extattrctl \
52	${_faithd} \
53	fdcontrol \
54	fdformat \
55	fdread \
56	fdwrite \
57	flowctl \
58	freebsd-update \
59	fwcontrol \
60	getfmac \
61	getpmac \
62	gstat \
63	${_i4b} \
64	ifmcstat \
65	inetd \
66	iostat \
67	${_ip6addrctl} \
68	ipfwpcap \
69	${_IPXrouted} \
70	jail \
71	jexec \
72	jls \
73	kbdcontrol \
74	kbdmap \
75	${_keyserv} \
76	${_kgmon} \
77	${_kgzip} \
78	kldxref \
79	lastlogin \
80	lmcconfig \
81	${_lpr} \
82	${_lptcontrol} \
83	${_mailstats} \
84	mailwrapper \
85	${_makemap} \
86	manctl \
87	memcontrol \
88	mergemaster \
89	mixer \
90	${_mld6query} \
91	mlxcontrol \
92	mountd \
93	${_mount_nwfs} \
94	mount_portalfs \
95	${_mount_smbfs} \
96	moused \
97	${_mptable} \
98	mtest \
99	mtree \
100	${_named} \
101	${_named-checkconf} \
102	${_named-checkzone} \
103	${_named.reload} \
104	${_ndiscvt} \
105	${_ndp} \
106	newsyslog \
107	nfsd \
108	${_ngctl} \
109	nghook \
110	nologin \
111	ntp \
112	${_nvram} \
113	${_ofwdump} \
114	pccard \
115	pciconf \
116	periodic \
117	pkg_install \
118	pmccontrol \
119	pmcstat \
120	${_pnpinfo} \
121	portsnap \
122	powerd \
123	ppp \
124	${_pppctl} \
125	pppd \
126	pppstats \
127	${_praliases} \
128	${_praudit} \
129	procctl \
130	pstat \
131	pw \
132	pwd_mkdb \
133	quot \
134	quotaon \
135	rarpd \
136	raycontrol \
137	repquota \
138	${_rip6query} \
139	rmt \
140	${_rndc} \
141	${_rndc-confgen} \
142	${_route6d} \
143	rpcbind \
144	rpc.lockd \
145	rpc.statd \
146	rpc.umntall \
147	${_rpc.yppasswdd} \
148	${_rpc.ypupdated} \
149	${_rpc.ypxfrd} \
150	${_rrenumd} \
151	${_rtadvd} \
152	rtprio \
153	${_rtsold} \
154	rwhod \
155	sa \
156	sade \
157	${_sendmail} \
158	setfmac \
159	setpmac \
160	${_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	vnconfig \
183	watch \
184	watchdogd \
185	wicontrol \
186	${_wlconfig} \
187	wpa \
188	${_ypbind} \
189	${_yp_mkdb} \
190	${_yppoll} \
191	${_yppush} \
192	${_ypserv} \
193	${_ypset} \
194	zic \
195	${_zzz}
196
197.if ${MACHINE_ARCH} != "arm"
198_sysinstall=	sysinstall
199.endif
200
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_INET6} != "no"
234_faithd=	faithd
235_ip6addrctl=	ip6addrctl
236_mld6query=	mld6query
237_ndp=		ndp
238_rip6query=	rip6query
239_route6d=	route6d
240_rrenumd=	rrenumd
241_rtadvd=	rtadvd
242_rtsold=	rtsold
243_traceroute6=	traceroute6
244.endif
245
246.if ${MK_IPX} != "no"
247_IPXrouted=	IPXrouted
248.endif
249
250.if ${MK_NIS} != "no"
251_rpc.yppasswdd=	rpc.yppasswdd
252_rpc.ypupdated=	rpc.ypupdated
253_rpc.ypxfrd=	rpc.ypxfrd
254_ypbind=	ypbind
255_yp_mkdb=	yp_mkdb
256_yppoll=	yppoll
257_yppush=	yppush
258_ypserv=	ypserv
259_ypset=		ypset
260.endif
261
262.if ${MK_AUTHPF} != "no"
263_authpf=	authpf
264.endif
265
266.if ${MK_LIBTHR} != "no" || \
267    (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
268_ngctl=		ngctl
269.endif
270
271.if ${MK_LPR} != "no"
272_lpr=		lpr
273.endif
274
275.if ${MK_NS_CACHING} != "no"
276.if ${MK_LIBTHR} != "no" || \
277    (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
278_cached=	cached
279.endif
280.endif
281
282.if ${MK_SENDMAIL} != "no"
283_editmap=	editmap
284_mailstats=	mailstats
285_makemap=	makemap
286_praliases=	praliases
287_sendmail=	sendmail
288.endif
289
290.if ${MK_USB} != "no"
291_usbdevs=	usbdevs
292.endif
293
294.if ${MACHINE_ARCH} == "arm"
295_kgmon=		kgmon
296.endif
297
298.if ${MACHINE_ARCH} == "i386"
299_apm=		apm
300_apmd=		apmd
301_asf=		asf
302_btxld=		btxld
303.if ${MK_I4B} != "no"
304_i4b=		i4b
305.endif
306_kgmon=		kgmon
307_kgzip=		kgzip
308_lptcontrol=	lptcontrol
309.if ${MK_NCP} != "no"
310_mount_nwfs=	mount_nwfs
311.endif
312_mount_smbfs=	mount_smbfs
313_mptable=	mptable
314_ndiscvt=	ndiscvt
315_pnpinfo=	pnpinfo
316.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
317_pppctl=	pppctl
318.endif
319_sicontrol=	sicontrol
320_spkrtest=	spkrtest
321_zzz=		zzz
322.if ${MACHINE} == "i386" 
323.if ${MK_ACPI} != "no"
324_acpi=		acpi
325.endif
326_arlcontrol=	arlcontrol
327_boot0cfg=	boot0cfg
328_wlconfig=	wlconfig
329.elif ${MACHINE} == "pc98"
330_boot98cfg=	boot98cfg
331.endif
332.endif
333
334# kgzip: builds, but missing support files
335# mptable: broken (not 64 bit clean)
336# pnpinfo: crashes (not really useful anyway)
337.if ${MACHINE_ARCH} == "amd64"
338.if ${MK_ACPI} != "no"
339_acpi=		acpi
340.endif
341_asf=		asf
342_boot0cfg=	boot0cfg
343_btxld=		btxld
344_kgmon=		kgmon
345_lptcontrol=	lptcontrol
346.if ${MK_NCP} != "no"
347_mount_nwfs=	mount_nwfs
348.endif
349_mount_smbfs=	mount_smbfs
350_mptable=	mptable
351_ndiscvt=	ndiscvt
352.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
353_pppctl=	pppctl
354.endif
355_sicontrol=	sicontrol
356_spkrtest=	spkrtest
357_zzz=		zzz
358.endif
359
360.if ${MACHINE_ARCH} == "ia64"
361.if ${MK_ACPI} != "no"
362_acpi=		acpi
363.endif
364_kgmon=		kgmon
365_mount_smbfs=	mount_smbfs
366.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
367_pppctl=	pppctl
368.endif
369_zzz=		zzz
370.endif
371
372.if ${MACHINE_ARCH} == "powerpc"
373_mount_smbfs=	mount_smbfs
374_nvram=		nvram
375.endif
376
377.if ${MACHINE_ARCH} == "sparc64"
378_eeprom=	eeprom
379_ofwdump=	ofwdump
380.if ${MK_LIBTHR} != "no"
381_pppctl=	pppctl
382.endif
383.endif
384
385.include <bsd.subdir.mk>
386