xref: /freebsd/usr.sbin/Makefile (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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	cdcontrol \
31	chkgrp \
32	chown \
33	chroot \
34	ckdist \
35	config \
36	cron \
37	crunch \
38	ctm \
39	daemon \
40	dconschat \
41	devinfo \
42	digictl \
43	diskinfo \
44	${_dnssec-keygen} \
45	${_dnssec-signzone} \
46	${_editmap} \
47	edquota \
48	${_eeprom} \
49	extattr \
50	extattrctl \
51	${_faithd} \
52	fdcontrol \
53	fdformat \
54	fdread \
55	fdwrite \
56	flowctl \
57	freebsd-update \
58	${_ftp-proxy} \
59	fwcontrol \
60	getfmac \
61	getpmac \
62	gstat \
63	${_i4b} \
64	ifmcstat \
65	inetd \
66	iostat \
67	${_ip6addrctl} \
68	ipfwpcap \
69	${_IPXrouted} \
70	jail \
71	jexec \
72	jls \
73	kbdcontrol \
74	kbdmap \
75	${_keyserv} \
76	${_kgmon} \
77	${_kgzip} \
78	kldxref \
79	lastlogin \
80	lmcconfig \
81	${_lpr} \
82	${_lptcontrol} \
83	${_mailstats} \
84	mailwrapper \
85	${_makemap} \
86	manctl \
87	memcontrol \
88	mergemaster \
89	mixer \
90	${_mld6query} \
91	mlxcontrol \
92	mountd \
93	${_mount_nwfs} \
94	mount_portalfs \
95	${_mount_smbfs} \
96	moused \
97	${_mptable} \
98	mtest \
99	mtree \
100	${_named} \
101	${_named-checkconf} \
102	${_named-checkzone} \
103	${_named.reload} \
104	${_ndiscvt} \
105	${_ndp} \
106	newsyslog \
107	nfsd \
108	ngctl \
109	nghook \
110	nologin \
111	${_nscd} \
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	wlandebug \
186	${_wlconfig} \
187	wpa \
188	${_ypbind} \
189	${_yp_mkdb} \
190	${_yppoll} \
191	${_yppush} \
192	${_ypserv} \
193	${_ypset} \
194	zic \
195	${_zzz}
196
197.if ${MACHINE_ARCH} != "arm"
198_sysinstall=	sysinstall
199.endif
200
201# Disabled in 7.0 as netatm is not MPSAFE.
202#.if ${MK_ATM} != "no"
203#_atm=		atm
204#.endif
205
206.if ${MK_AUDIT} != "no"
207_audit= 	audit
208_auditd=	auditd
209_auditreduce=	auditreduce
210_praudit=	praudit
211.endif
212
213.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
214_dnssec-keygen=		dnssec-keygen
215_dnssec-signzone=	dnssec-signzone
216.endif
217.if ${MK_BIND_NAMED} != "no"
218_named=			named
219_named-checkconf=	named-checkconf
220_named-checkzone=	named-checkzone
221_named.reload=		named.reload
222_rndc=			rndc
223_rndc-confgen=		rndc-confgen
224.endif
225
226.if ${MK_BLUETOOTH} != "no"
227_bluetooth=	bluetooth
228.endif
229
230.if ${MK_OPENSSL} != "no"
231_keyserv=	keyserv
232.endif
233
234.if ${MK_PF} != "no"
235_ftp-proxy=	ftp-proxy
236.endif
237
238.if ${MK_INET6} != "no"
239_faithd=	faithd
240_ip6addrctl=	ip6addrctl
241_mld6query=	mld6query
242_ndp=		ndp
243_rip6query=	rip6query
244_route6d=	route6d
245_rrenumd=	rrenumd
246_rtadvd=	rtadvd
247_rtsold=	rtsold
248_traceroute6=	traceroute6
249.endif
250
251.if ${MK_IPX} != "no"
252_IPXrouted=	IPXrouted
253.endif
254
255.if ${MK_NIS} != "no"
256_rpc.yppasswdd=	rpc.yppasswdd
257_rpc.ypupdated=	rpc.ypupdated
258_rpc.ypxfrd=	rpc.ypxfrd
259_ypbind=	ypbind
260_yp_mkdb=	yp_mkdb
261_yppoll=	yppoll
262_yppush=	yppush
263_ypserv=	ypserv
264_ypset=		ypset
265.endif
266
267.if ${MK_AUTHPF} != "no"
268_authpf=	authpf
269.endif
270
271.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
272_pppctl=	pppctl
273.endif
274
275.if ${MK_LPR} != "no"
276_lpr=		lpr
277.endif
278
279.if ${MK_NS_CACHING} != "no"
280.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
281_nscd=		nscd
282.endif
283.endif
284
285.if ${MK_SENDMAIL} != "no"
286_editmap=	editmap
287_mailstats=	mailstats
288_makemap=	makemap
289_praliases=	praliases
290_sendmail=	sendmail
291.endif
292
293.if ${MK_USB} != "no"
294_usbdevs=	usbdevs
295.endif
296
297.if ${MACHINE_ARCH} == "arm"
298_kgmon=		kgmon
299.endif
300
301.if ${MACHINE_ARCH} == "i386"
302_apm=		apm
303_apmd=		apmd
304_asf=		asf
305_btxld=		btxld
306.if ${MK_I4B} != "no"
307_i4b=		i4b
308.endif
309_kgmon=		kgmon
310_kgzip=		kgzip
311_lptcontrol=	lptcontrol
312.if ${MK_NCP} != "no"
313_mount_nwfs=	mount_nwfs
314.endif
315_mount_smbfs=	mount_smbfs
316_mptable=	mptable
317_ndiscvt=	ndiscvt
318_pnpinfo=	pnpinfo
319_sicontrol=	sicontrol
320_spkrtest=	spkrtest
321_zzz=		zzz
322.if ${MACHINE} == "i386"
323.if ${MK_ACPI} != "no"
324_acpi=		acpi
325.endif
326_arlcontrol=	arlcontrol
327_boot0cfg=	boot0cfg
328_wlconfig=	wlconfig
329.elif ${MACHINE} == "pc98"
330_boot98cfg=	boot98cfg
331.endif
332.endif
333
334# kgzip: builds, but missing support files
335# mptable: broken (not 64 bit clean)
336# pnpinfo: crashes (not really useful anyway)
337.if ${MACHINE_ARCH} == "amd64"
338.if ${MK_ACPI} != "no"
339_acpi=		acpi
340.endif
341_asf=		asf
342_boot0cfg=	boot0cfg
343_btxld=		btxld
344_kgmon=		kgmon
345_lptcontrol=	lptcontrol
346.if ${MK_NCP} != "no"
347_mount_nwfs=	mount_nwfs
348.endif
349_mount_smbfs=	mount_smbfs
350_mptable=	mptable
351_ndiscvt=	ndiscvt
352_sicontrol=	sicontrol
353_spkrtest=	spkrtest
354_zzz=		zzz
355.endif
356
357.if ${MACHINE_ARCH} == "ia64"
358.if ${MK_ACPI} != "no"
359_acpi=		acpi
360.endif
361_kgmon=		kgmon
362_mount_smbfs=	mount_smbfs
363_zzz=		zzz
364.endif
365
366.if ${MACHINE_ARCH} == "powerpc"
367_mount_smbfs=	mount_smbfs
368_nvram=		nvram
369.endif
370
371.if ${MACHINE_ARCH} == "sparc64"
372_eeprom=	eeprom
373_ofwdump=	ofwdump
374.endif
375
376.include <bsd.subdir.mk>
377