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