Makefile revision 202982
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 202982 2010-01-25 18:52:47Z yongari $
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	service \
171	setfib \
172	setfmac \
173	setpmac \
174	${_sicontrol} \
175	smbmsg \
176	snapinfo \
177	${_spkrtest} \
178	spray \
179	${_sysinstall} \
180	syslogd \
181	tcpdchk \
182	tcpdmatch \
183	tcpdrop \
184	tcpdump \
185	timed \
186	traceroute \
187	${_traceroute6} \
188	trpt \
189	tzsetup \
190	${_uathload} \
191	ugidfw \
192	${_uhsoctl} \
193	${_usbdevs} \
194	${_usbconfig} \
195	${_vidcontrol} \
196	vipw \
197	wake \
198	watch \
199	watchdogd \
200	${_wlandebug} \
201	${_wlconfig} \
202	${_wpa} \
203	${_ypbind} \
204	${_yp_mkdb} \
205	${_yppoll} \
206	${_yppush} \
207	${_ypserv} \
208	${_ypset} \
209	zic \
210	${_zzz}
211
212# NB: keep these sorted by MK_* knobs
213
214.if ${MK_ACCT} != "no"
215_ac=		ac
216_accton=	accton
217_sa=		sa
218.endif
219
220.if ${MK_AMD} != "no"
221_amd=		amd
222.endif
223
224.if ${MK_AUDIT} != "no"
225_audit=		audit
226_auditd=	auditd
227_auditreduce=	auditreduce
228_praudit=	praudit
229.endif
230
231.if ${MK_AUTHPF} != "no"
232_authpf=	authpf
233.endif
234
235.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
236_dnssec-dsfromkey=	dnssec-dsfromkey
237_dnssec-keyfromlabel=	dnssec-keyfromlabel
238_dnssec-keygen=		dnssec-keygen
239_dnssec-signzone=	dnssec-signzone
240.endif
241.if ${MK_BIND_NAMED} != "no"
242_named=			named
243_named-checkconf=	named-checkconf
244_named-checkzone=	named-checkzone
245_named.reload=		named.reload
246_rndc=			rndc
247_rndc-confgen=		rndc-confgen
248.endif
249
250.if ${MK_BLUETOOTH} != "no"
251_bluetooth=	bluetooth
252.endif
253
254.if ${MK_BSNMP} != "no"
255_bsnmpd=	bsnmpd
256.endif
257
258.if ${MK_CTM} != "no"
259_ctm=		ctm
260.endif
261
262.if ${MK_FLOPPY} != "no"
263_fdcontrol=	fdcontrol
264_fdformat=	fdformat
265_fdread=	fdread
266_fdwrite=	fdwrite
267.endif
268
269.if ${MK_FREEBSD_UPDATE} != "no"
270_freebsd-update= freebsd-update
271.endif
272
273.if ${MK_GSSAPI} != no
274_gssd=		gssd
275.endif
276
277.if ${MK_INET6} != "no"
278_faithd=	faithd
279_ip6addrctl=	ip6addrctl
280_mld6query=	mld6query
281_ndp=		ndp
282_rip6query=	rip6query
283_route6d=	route6d
284_rrenumd=	rrenumd
285_rtadvd=	rtadvd
286_rtsold=	rtsold
287_traceroute6=	traceroute6
288.endif
289
290.if ${MK_IPFW} != "no"
291_ipfwpcap=	ipfwpcap
292.endif
293
294.if ${MK_IPX} != "no"
295_IPXrouted=	IPXrouted
296.endif
297
298.if ${MK_JAIL} != "no"
299_jail=		jail
300_jexec=		jexec
301_jls=		jls
302.endif
303
304# XXX MK_SYSCONS
305# XXX is moused w/ usb useful?
306.if ${MK_LEGACY_CONSOLE} != "no"
307_kbdcontrol=	kbdcontrol
308_kbdmap=	kbdmap
309_moused=	moused
310_vidcontrol=	vidcontrol
311.endif
312
313.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
314.if ${MK_PPP} != "no"
315_pppctl=	pppctl
316.endif
317.if ${MK_NS_CACHING} != "no"
318_nscd=		nscd
319.endif
320.endif
321
322.if ${MK_LPR} != "no"
323_lpr=		lpr
324.endif
325
326.if ${MK_NETGRAPH} != "no"
327_flowctl=	flowctl
328_lmcconfig=	lmcconfig
329_ngctl=		ngctl
330_nghook=	nghook
331.endif
332
333.if ${MK_NIS} != "no"
334_rpc.yppasswdd=	rpc.yppasswdd
335_rpc.ypupdated=	rpc.ypupdated
336_rpc.ypxfrd=	rpc.ypxfrd
337_ypbind=	ypbind
338_yp_mkdb=	yp_mkdb
339_yppoll=	yppoll
340_yppush=	yppush
341_ypserv=	ypserv
342_ypset=		ypset
343.endif
344
345.if ${MK_NTP} != "no"
346_ntp=		ntp
347.endif
348
349.if ${MK_OPENSSL} != "no"
350_keyserv=	keyserv
351.endif
352
353.if ${MK_PF} != "no"
354_ftp-proxy=	ftp-proxy
355.endif
356
357.if ${MK_PKGTOOLS} != "no"
358_pkg_install=	pkg_install
359.endif
360
361# XXX MK_TOOLCHAIN?
362.if ${MK_PMC} != "no"
363_pmcannotate=	pmcannotate
364_pmccontrol=	pmccontrol
365_pmcstat=	pmcstat
366.endif
367
368.if ${MK_PORTSNAP} != "no"
369_portsnap=	portsnap
370.endif
371
372.if ${MK_PPP} != "no"
373_ppp=		ppp
374#_pppctl handled below
375.endif
376
377.if ${MK_QUOTAS} != "no"
378_edquota=	edquota
379_quotaon=	quotaon
380_repquota=	repquota
381.endif
382
383.if ${MK_RCMDS} != "no"
384_rwhod=		rwhod
385.endif
386
387.if ${MK_SENDMAIL} != "no"
388_editmap=	editmap
389_mailstats=	mailstats
390_makemap=	makemap
391_praliases=	praliases
392_sendmail=	sendmail
393.endif
394
395.if ${MK_SYSINSTALL} != "no"
396.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
397    ${MACHINE_ARCH} == "sparc64"
398_sade=		sade
399.endif
400.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
401_sysinstall=	sysinstall
402.endif
403.endif
404
405.if ${MK_TOOLCHAIN} != "no"
406_config=	config
407_crunch=	crunch
408.endif
409
410.if ${MK_USB} != "no"
411.if ${MACHINE_ARCH} != "ia64"
412_uathload=	uathload
413.endif
414_uhsoctl=	uhsoctl
415#_usbdevs=	usbdevs
416_usbconfig=	usbconfig
417.endif
418
419.if ${MK_WIRELESS} != "no"
420_ancontrol=	ancontrol
421_wlandebug=	wlandebug
422_wpa=		wpa
423.endif
424
425.if ${MACHINE_ARCH} == "arm"
426_kgmon=		kgmon
427.endif
428
429.if ${MACHINE_ARCH} == "i386"
430.if ${MK_APM} != "no"
431_apm=		apm
432_apmd=		apmd
433.endif
434_asf=		asf
435.if ${MK_TOOLCHAIN} != "no"
436_btxld=		btxld
437.endif
438_cpucontrol=	cpucontrol
439_kgmon=		kgmon
440_kgzip=		kgzip
441_lptcontrol=	lptcontrol
442.if ${MK_NCP} != "no"
443_mount_nwfs=	mount_nwfs
444.endif
445_mount_smbfs=	mount_smbfs
446_mptable=	mptable
447.if ${MK_NDIS} != "no"
448_ndiscvt=	ndiscvt
449.endif
450_pnpinfo=	pnpinfo
451_sicontrol=	sicontrol
452_spkrtest=	spkrtest
453_zzz=		zzz
454.if ${MACHINE} == "i386"
455.if ${MK_ACPI} != "no"
456_acpi=		acpi
457.endif
458_boot0cfg=	boot0cfg
459.if ${MK_WIRELESS} != "no"
460_wlconfig=	wlconfig
461.endif
462.elif ${MACHINE} == "pc98"
463_boot98cfg=	boot98cfg
464.endif
465.endif
466
467# kgzip: builds, but missing support files
468# mptable: broken (not 64 bit clean)
469# pnpinfo: crashes (not really useful anyway)
470.if ${MACHINE_ARCH} == "amd64"
471.if ${MK_ACPI} != "no"
472_acpi=		acpi
473.endif
474.if ${MK_APM} != "no"
475_apm=		apm
476.endif
477_asf=		asf
478_boot0cfg=	boot0cfg
479.if ${MK_TOOLCHAIN} != "no"
480_btxld=		btxld
481.endif
482_cpucontrol=	cpucontrol
483_kgmon=		kgmon
484_lptcontrol=	lptcontrol
485.if ${MK_NCP} != "no"
486_mount_nwfs=	mount_nwfs
487.endif
488_mount_smbfs=	mount_smbfs
489_mptable=	mptable
490.if ${MK_NDIS} != "no"
491_ndiscvt=	ndiscvt
492.endif
493_sicontrol=	sicontrol
494_spkrtest=	spkrtest
495_zzz=		zzz
496.endif
497
498.if ${MACHINE_ARCH} == "ia64"
499.if ${MK_ACPI} != "no"
500_acpi=		acpi
501.endif
502_kgmon=		kgmon
503_mount_smbfs=	mount_smbfs
504_zzz=		zzz
505.endif
506
507.if ${MACHINE_ARCH} == "powerpc"
508_mount_smbfs=	mount_smbfs
509_nvram=		nvram
510_ofwdump=	ofwdump
511.endif
512
513.if ${MACHINE_ARCH} == "sparc64"
514_eeprom=	eeprom
515_mount_smbfs=	mount_smbfs
516_ofwdump=	ofwdump
517.endif
518
519.include <bsd.subdir.mk>
520