Makefile revision 197536
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 197536 2009-09-27 14:00:16Z jkim $
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-dsfromkey} \
47	${_dnssec-keyfromlabel} \
48	${_dnssec-keygen} \
49	${_dnssec-signzone} \
50	dumpcis \
51	${_editmap} \
52	${_edquota} \
53	${_eeprom} \
54	extattr \
55	extattrctl \
56	${_faithd} \
57	${_fdcontrol} \
58	${_fdformat} \
59	${_fdread} \
60	${_fdwrite} \
61	fifolog \
62	${_flowctl} \
63	${_freebsd-update} \
64	${_ftp-proxy} \
65	fwcontrol \
66	getfmac \
67	getpmac \
68	gstat \
69	${_gssd} \
70	i2c \
71	ifmcstat \
72	inetd \
73	iostat \
74	${_ip6addrctl} \
75	${_ipfwpcap} \
76	${_IPXrouted} \
77	${_jail} \
78	${_jexec} \
79	${_jls} \
80	${_kbdcontrol} \
81	${_kbdmap} \
82	${_keyserv} \
83	${_kgmon} \
84	${_kgzip} \
85	kldxref \
86	lastlogin \
87	${_lmcconfig} \
88	${_lpr} \
89	${_lptcontrol} \
90	${_mailstats} \
91	mailwrapper \
92	makefs \
93	${_makemap} \
94	manctl \
95	memcontrol \
96	mergemaster \
97	mfiutil \
98	mixer \
99	${_mld6query} \
100	mlxcontrol \
101	mountd \
102	${_mount_nwfs} \
103	mount_portalfs \
104	${_mount_smbfs} \
105	${_moused} \
106	${_mptable} \
107	mptutil \
108	mtest \
109	mtree \
110	${_named} \
111	${_named-checkconf} \
112	${_named-checkzone} \
113	${_named.reload} \
114	${_ndiscvt} \
115	${_ndp} \
116	newsyslog \
117	nfscbd \
118	nfsd \
119	nfsdumpstate \
120	nfsrevoke \
121	nfsuserd \
122	${_ngctl} \
123	${_nghook} \
124	nologin \
125	${_nscd} \
126	${_ntp} \
127	${_nvram} \
128	${_ofwdump} \
129	pciconf \
130	periodic \
131	${_pkg_install} \
132	${_pmcannotate} \
133	${_pmccontrol} \
134	${_pmcstat} \
135	${_pnpinfo} \
136	${_portsnap} \
137	powerd \
138	${_ppp} \
139	${_pppctl} \
140	${_praliases} \
141	${_praudit} \
142	procctl \
143	pstat \
144	pw \
145	pwd_mkdb \
146	quot \
147	${_quotaon} \
148	rarpd \
149	${_repquota} \
150	${_rip6query} \
151	rmt \
152	${_rndc} \
153	${_rndc-confgen} \
154	${_route6d} \
155	rpcbind \
156	rpc.lockd \
157	rpc.statd \
158	rpc.umntall \
159	${_rpc.yppasswdd} \
160	${_rpc.ypupdated} \
161	${_rpc.ypxfrd} \
162	${_rrenumd} \
163	${_rtadvd} \
164	rtprio \
165	${_rtsold} \
166	${_rwhod} \
167	${_sa} \
168	${_sade} \
169	${_sendmail} \
170	setfib \
171	setfmac \
172	setpmac \
173	${_sicontrol} \
174	smbmsg \
175	snapinfo \
176	${_spkrtest} \
177	spray \
178	${_sysinstall} \
179	syslogd \
180	tcpdchk \
181	tcpdmatch \
182	tcpdrop \
183	tcpdump \
184	timed \
185	traceroute \
186	${_traceroute6} \
187	trpt \
188	tzsetup \
189	${_uathload} \
190	ugidfw \
191	${_usbdevs} \
192	${_usbconfig} \
193	${_vidcontrol} \
194	vipw \
195	wake \
196	watch \
197	watchdogd \
198	${_wlandebug} \
199	${_wlconfig} \
200	${_wpa} \
201	${_ypbind} \
202	${_yp_mkdb} \
203	${_yppoll} \
204	${_yppush} \
205	${_ypserv} \
206	${_ypset} \
207	zic \
208	${_zzz}
209
210# NB: keep these sorted by MK_* knobs
211
212.if ${MK_ACCT} != "no"
213_ac=		ac
214_accton=	accton
215_sa=		sa
216.endif
217
218.if ${MK_AMD} != "no"
219_amd=		amd
220.endif
221
222.if ${MK_AUDIT} != "no"
223_audit=		audit
224_auditd=	auditd
225_auditreduce=	auditreduce
226_praudit=	praudit
227.endif
228
229.if ${MK_AUTHPF} != "no"
230_authpf=	authpf
231.endif
232
233.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
234_dnssec-dsfromkey=	dnssec-dsfromkey
235_dnssec-keyfromlabel=	dnssec-keyfromlabel
236_dnssec-keygen=		dnssec-keygen
237_dnssec-signzone=	dnssec-signzone
238.endif
239.if ${MK_BIND_NAMED} != "no"
240_named=			named
241_named-checkconf=	named-checkconf
242_named-checkzone=	named-checkzone
243_named.reload=		named.reload
244_rndc=			rndc
245_rndc-confgen=		rndc-confgen
246.endif
247
248.if ${MK_BLUETOOTH} != "no"
249_bluetooth=	bluetooth
250.endif
251
252.if ${MK_BSNMP} != "no"
253_bsnmpd=	bsnmpd
254.endif
255
256.if ${MK_CTM} != "no"
257_ctm=		ctm
258.endif
259
260.if ${MK_FLOPPY} != "no"
261_fdcontrol=	fdcontrol
262_fdformat=	fdformat
263_fdread=	fdread
264_fdwrite=	fdwrite
265.endif
266
267.if ${MK_FREEBSD_UPDATE} != "no"
268_freebsd-update= freebsd-update
269.endif
270
271.if ${MK_GSSAPI} != no
272_gssd=		gssd
273.endif
274
275.if ${MK_INET6} != "no"
276_faithd=	faithd
277_ip6addrctl=	ip6addrctl
278_mld6query=	mld6query
279_ndp=		ndp
280_rip6query=	rip6query
281_route6d=	route6d
282_rrenumd=	rrenumd
283_rtadvd=	rtadvd
284_rtsold=	rtsold
285_traceroute6=	traceroute6
286.endif
287
288.if ${MK_IPFW} != "no"
289_ipfwpcap=	ipfwpcap
290.endif
291
292.if ${MK_IPX} != "no"
293_IPXrouted=	IPXrouted
294.endif
295
296.if ${MK_JAIL} != "no"
297_jail=		jail
298_jexec=		jexec
299_jls=		jls
300.endif
301
302# XXX MK_SYSCONS
303# XXX is moused w/ usb useful?
304.if ${MK_LEGACY_CONSOLE} != "no"
305_kbdcontrol=	kbdcontrol
306_kbdmap=	kbdmap
307_moused=	moused
308_vidcontrol=	vidcontrol
309.endif
310
311.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
312.if ${MK_PPP} != "no"
313_pppctl=	pppctl
314.endif
315.if ${MK_NS_CACHING} != "no"
316_nscd=		nscd
317.endif
318.endif
319
320.if ${MK_LPR} != "no"
321_lpr=		lpr
322.endif
323
324.if ${MK_NETGRAPH} != "no"
325_flowctl=	flowctl
326_lmcconfig=	lmcconfig
327_ngctl=		ngctl
328_nghook=	nghook
329.endif
330
331.if ${MK_NIS} != "no"
332_rpc.yppasswdd=	rpc.yppasswdd
333_rpc.ypupdated=	rpc.ypupdated
334_rpc.ypxfrd=	rpc.ypxfrd
335_ypbind=	ypbind
336_yp_mkdb=	yp_mkdb
337_yppoll=	yppoll
338_yppush=	yppush
339_ypserv=	ypserv
340_ypset=		ypset
341.endif
342
343.if ${MK_NTP} != "no"
344_ntp=		ntp
345.endif
346
347.if ${MK_OPENSSL} != "no"
348_keyserv=	keyserv
349.endif
350
351.if ${MK_PF} != "no"
352_ftp-proxy=	ftp-proxy
353.endif
354
355.if ${MK_PKGTOOLS} != "no"
356_pkg_install=	pkg_install
357.endif
358
359# XXX MK_TOOLCHAIN?
360.if ${MK_PMC} != "no"
361_pmcannotate=	pmcannotate
362_pmccontrol=	pmccontrol
363_pmcstat=	pmcstat
364.endif
365
366.if ${MK_PORTSNAP} != "no"
367_portsnap=	portsnap
368.endif
369
370.if ${MK_PPP} != "no"
371_ppp=		ppp
372#_pppctl handled below
373.endif
374
375.if ${MK_QUOTAS} != "no"
376_edquota=	edquota
377_quotaon=	quotaon
378_repquota=	repquota
379.endif
380
381.if ${MK_RCMDS} != "no"
382_rwhod=		rwhod
383.endif
384
385.if ${MK_SENDMAIL} != "no"
386_editmap=	editmap
387_mailstats=	mailstats
388_makemap=	makemap
389_praliases=	praliases
390_sendmail=	sendmail
391.endif
392
393.if ${MK_SYSINSTALL} != "no"
394.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
395    ${MACHINE_ARCH} == "sparc64"
396_sade=		sade
397.endif
398.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
399_sysinstall=	sysinstall
400.endif
401.endif
402
403.if ${MK_TOOLCHAIN} != "no"
404_config=	config
405_crunch=	crunch
406.endif
407
408.if ${MK_USB} != "no"
409.if ${MACHINE_ARCH} != "ia64"
410_uathload=	uathload
411.endif
412#_usbdevs=	usbdevs
413_usbconfig=	usbconfig
414.endif
415
416.if ${MK_WIRELESS} != "no"
417_ancontrol=	ancontrol
418_wlandebug=	wlandebug
419_wpa=		wpa
420.endif
421
422.if ${MACHINE_ARCH} == "arm"
423_kgmon=		kgmon
424.endif
425
426.if ${MACHINE_ARCH} == "i386"
427.if ${MK_APM} != "no"
428_apm=		apm
429_apmd=		apmd
430.endif
431_asf=		asf
432.if ${MK_TOOLCHAIN} != "no"
433_btxld=		btxld
434.endif
435_cpucontrol=	cpucontrol
436_kgmon=		kgmon
437_kgzip=		kgzip
438_lptcontrol=	lptcontrol
439.if ${MK_NCP} != "no"
440_mount_nwfs=	mount_nwfs
441.endif
442_mount_smbfs=	mount_smbfs
443_mptable=	mptable
444.if ${MK_NDIS} != "no"
445_ndiscvt=	ndiscvt
446.endif
447_pnpinfo=	pnpinfo
448_sicontrol=	sicontrol
449_spkrtest=	spkrtest
450_zzz=		zzz
451.if ${MACHINE} == "i386"
452.if ${MK_ACPI} != "no"
453_acpi=		acpi
454.endif
455_boot0cfg=	boot0cfg
456.if ${MK_WIRELESS} != "no"
457_wlconfig=	wlconfig
458.endif
459.elif ${MACHINE} == "pc98"
460_boot98cfg=	boot98cfg
461.endif
462.endif
463
464# kgzip: builds, but missing support files
465# mptable: broken (not 64 bit clean)
466# pnpinfo: crashes (not really useful anyway)
467.if ${MACHINE_ARCH} == "amd64"
468.if ${MK_ACPI} != "no"
469_acpi=		acpi
470.endif
471.if ${MK_APM} != "no"
472_apm=		apm
473.endif
474_asf=		asf
475_boot0cfg=	boot0cfg
476.if ${MK_TOOLCHAIN} != "no"
477_btxld=		btxld
478.endif
479_cpucontrol=	cpucontrol
480_kgmon=		kgmon
481_lptcontrol=	lptcontrol
482.if ${MK_NCP} != "no"
483_mount_nwfs=	mount_nwfs
484.endif
485_mount_smbfs=	mount_smbfs
486_mptable=	mptable
487.if ${MK_NDIS} != "no"
488_ndiscvt=	ndiscvt
489.endif
490_sicontrol=	sicontrol
491_spkrtest=	spkrtest
492_zzz=		zzz
493.endif
494
495.if ${MACHINE_ARCH} == "ia64"
496.if ${MK_ACPI} != "no"
497_acpi=		acpi
498.endif
499_kgmon=		kgmon
500_mount_smbfs=	mount_smbfs
501_zzz=		zzz
502.endif
503
504.if ${MACHINE_ARCH} == "powerpc"
505_mount_smbfs=	mount_smbfs
506_nvram=		nvram
507_ofwdump=	ofwdump
508.endif
509
510.if ${MACHINE_ARCH} == "sparc64"
511_eeprom=	eeprom
512_ofwdump=	ofwdump
513.endif
514
515.include <bsd.subdir.mk>
516