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