xref: /freebsd/usr.sbin/Makefile (revision 282a3889ebf826db9839be296ff1dd903f6d6d6e)
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	${_arlcontrol} \
16	arp \
17	${_asf} \
18	${_atm} \
19	${_audit} \
20	${_auditd} \
21	${_auditreduce} \
22	${_authpf} \
23	${_bluetooth} \
24	${_boot0cfg} \
25	${_boot98cfg} \
26	bootparamd \
27	bsnmpd \
28	${_btxld} \
29	burncd \
30	${_cached} \
31	cdcontrol \
32	chkgrp \
33	chown \
34	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	${_ftp-proxy} \
60	fwcontrol \
61	getfmac \
62	getpmac \
63	gstat \
64	${_i4b} \
65	ifmcstat \
66	inetd \
67	iostat \
68	${_ip6addrctl} \
69	ipfwpcap \
70	${_IPXrouted} \
71	jail \
72	jexec \
73	jls \
74	kbdcontrol \
75	kbdmap \
76	${_keyserv} \
77	${_kgmon} \
78	${_kgzip} \
79	kldxref \
80	lastlogin \
81	lmcconfig \
82	${_lpr} \
83	${_lptcontrol} \
84	${_mailstats} \
85	mailwrapper \
86	${_makemap} \
87	manctl \
88	memcontrol \
89	mergemaster \
90	mixer \
91	${_mld6query} \
92	mlxcontrol \
93	mountd \
94	${_mount_nwfs} \
95	mount_portalfs \
96	${_mount_smbfs} \
97	moused \
98	${_mptable} \
99	mtest \
100	mtree \
101	${_named} \
102	${_named-checkconf} \
103	${_named-checkzone} \
104	${_named.reload} \
105	${_ndiscvt} \
106	${_ndp} \
107	newsyslog \
108	nfsd \
109	ngctl \
110	nghook \
111	nologin \
112	ntp \
113	${_nvram} \
114	${_ofwdump} \
115	pccard \
116	pciconf \
117	periodic \
118	pkg_install \
119	pmccontrol \
120	pmcstat \
121	${_pnpinfo} \
122	portsnap \
123	powerd \
124	ppp \
125	${_pppctl} \
126	pppd \
127	pppstats \
128	${_praliases} \
129	${_praudit} \
130	procctl \
131	pstat \
132	pw \
133	pwd_mkdb \
134	quot \
135	quotaon \
136	rarpd \
137	raycontrol \
138	repquota \
139	${_rip6query} \
140	rmt \
141	${_rndc} \
142	${_rndc-confgen} \
143	${_route6d} \
144	rpcbind \
145	rpc.lockd \
146	rpc.statd \
147	rpc.umntall \
148	${_rpc.yppasswdd} \
149	${_rpc.ypupdated} \
150	${_rpc.ypxfrd} \
151	${_rrenumd} \
152	${_rtadvd} \
153	rtprio \
154	${_rtsold} \
155	rwhod \
156	sa \
157	sade \
158	${_sendmail} \
159	setfmac \
160	setpmac \
161	${_sicontrol} \
162	sliplogin \
163	slstat \
164	smbmsg \
165	snapinfo \
166	${_spkrtest} \
167	spray \
168	${_sysinstall} \
169	syslogd \
170	tcpdchk \
171	tcpdmatch \
172	tcpdrop \
173	tcpdump \
174	timed \
175	traceroute \
176	${_traceroute6} \
177	trpt \
178	tzsetup \
179	ugidfw \
180	${_usbdevs} \
181	vidcontrol \
182	vipw \
183	watch \
184	watchdogd \
185	${_wlconfig} \
186	wpa \
187	${_ypbind} \
188	${_yp_mkdb} \
189	${_yppoll} \
190	${_yppush} \
191	${_ypserv} \
192	${_ypset} \
193	zic \
194	${_zzz}
195
196.if ${MACHINE_ARCH} != "arm"
197_sysinstall=	sysinstall
198.endif
199
200# Disabled in 7.0 as netatm is not MPSAFE.
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_PF} != "no"
234_ftp-proxy=	ftp-proxy
235.endif
236
237.if ${MK_INET6} != "no"
238_faithd=	faithd
239_ip6addrctl=	ip6addrctl
240_mld6query=	mld6query
241_ndp=		ndp
242_rip6query=	rip6query
243_route6d=	route6d
244_rrenumd=	rrenumd
245_rtadvd=	rtadvd
246_rtsold=	rtsold
247_traceroute6=	traceroute6
248.endif
249
250.if ${MK_IPX} != "no"
251_IPXrouted=	IPXrouted
252.endif
253
254.if ${MK_NIS} != "no"
255_rpc.yppasswdd=	rpc.yppasswdd
256_rpc.ypupdated=	rpc.ypupdated
257_rpc.ypxfrd=	rpc.ypxfrd
258_ypbind=	ypbind
259_yp_mkdb=	yp_mkdb
260_yppoll=	yppoll
261_yppush=	yppush
262_ypserv=	ypserv
263_ypset=		ypset
264.endif
265
266.if ${MK_AUTHPF} != "no"
267_authpf=	authpf
268.endif
269
270.if ${MK_LPR} != "no"
271_lpr=		lpr
272.endif
273
274.if ${MK_NS_CACHING} != "no"
275.if ${MK_LIBTHR} != "no" || \
276    (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
277_cached=	cached
278.endif
279.endif
280
281.if ${MK_SENDMAIL} != "no"
282_editmap=	editmap
283_mailstats=	mailstats
284_makemap=	makemap
285_praliases=	praliases
286_sendmail=	sendmail
287.endif
288
289.if ${MK_USB} != "no"
290_usbdevs=	usbdevs
291.endif
292
293.if ${MACHINE_ARCH} == "arm"
294_kgmon=		kgmon
295.endif
296
297.if ${MACHINE_ARCH} == "i386"
298_apm=		apm
299_apmd=		apmd
300_asf=		asf
301_btxld=		btxld
302.if ${MK_I4B} != "no"
303_i4b=		i4b
304.endif
305_kgmon=		kgmon
306_kgzip=		kgzip
307_lptcontrol=	lptcontrol
308.if ${MK_NCP} != "no"
309_mount_nwfs=	mount_nwfs
310.endif
311_mount_smbfs=	mount_smbfs
312_mptable=	mptable
313_ndiscvt=	ndiscvt
314_pnpinfo=	pnpinfo
315.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
316_pppctl=	pppctl
317.endif
318_sicontrol=	sicontrol
319_spkrtest=	spkrtest
320_zzz=		zzz
321.if ${MACHINE} == "i386"
322.if ${MK_ACPI} != "no"
323_acpi=		acpi
324.endif
325_arlcontrol=	arlcontrol
326_boot0cfg=	boot0cfg
327_wlconfig=	wlconfig
328.elif ${MACHINE} == "pc98"
329_boot98cfg=	boot98cfg
330.endif
331.endif
332
333# kgzip: builds, but missing support files
334# mptable: broken (not 64 bit clean)
335# pnpinfo: crashes (not really useful anyway)
336.if ${MACHINE_ARCH} == "amd64"
337.if ${MK_ACPI} != "no"
338_acpi=		acpi
339.endif
340_asf=		asf
341_boot0cfg=	boot0cfg
342_btxld=		btxld
343_kgmon=		kgmon
344_lptcontrol=	lptcontrol
345.if ${MK_NCP} != "no"
346_mount_nwfs=	mount_nwfs
347.endif
348_mount_smbfs=	mount_smbfs
349_mptable=	mptable
350_ndiscvt=	ndiscvt
351.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
352_pppctl=	pppctl
353.endif
354_sicontrol=	sicontrol
355_spkrtest=	spkrtest
356_zzz=		zzz
357.endif
358
359.if ${MACHINE_ARCH} == "ia64"
360.if ${MK_ACPI} != "no"
361_acpi=		acpi
362.endif
363_kgmon=		kgmon
364_mount_smbfs=	mount_smbfs
365.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
366_pppctl=	pppctl
367.endif
368_zzz=		zzz
369.endif
370
371.if ${MACHINE_ARCH} == "powerpc"
372_mount_smbfs=	mount_smbfs
373_nvram=		nvram
374.endif
375
376.if ${MACHINE_ARCH} == "sparc64"
377_eeprom=	eeprom
378_ofwdump=	ofwdump
379.if ${MK_LIBTHR} != "no"
380_pppctl=	pppctl
381.endif
382.endif
383
384.include <bsd.subdir.mk>
385