xref: /freebsd/usr.sbin/Makefile (revision 3193579b66fd7067f898dbc54bdea81a0e6f9bd0)
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
3
4.if ${MACHINE_ARCH} != "powerpc"
5_sysinstall=sysinstall
6.endif
7
8# XXX MISSING:		mkproto
9SUBDIR=	IPXrouted \
10	ac \
11	accton \
12	adduser \
13	amd \
14	ancontrol \
15	arp \
16	bootparamd \
17	bsnmpd \
18	burncd \
19	cdcontrol \
20	chkgrp \
21	chown \
22	chroot \
23	ckdist \
24	config \
25	cron \
26	crunch \
27	ctm \
28	daemon \
29	dconschat \
30	devinfo \
31	digictl \
32	diskinfo \
33	edquota \
34	extattr \
35	extattrctl \
36	faithd \
37	fdcontrol \
38	fdformat \
39	fdread \
40	fdwrite \
41	fwcontrol \
42	getfmac \
43	getpmac \
44	gstat \
45	ifmcstat \
46	inetd \
47	iostat \
48	ip6addrctl \
49	jail \
50	jexec \
51	jls \
52	kbdcontrol \
53	kbdmap \
54	kernbb \
55	kldxref \
56	lastlogin \
57	mailwrapper \
58	manctl \
59	memcontrol \
60	mergemaster \
61	mixer \
62	mlxcontrol \
63	mount_portalfs \
64	mountd \
65	moused \
66	mrouted \
67	mtest \
68	mtree \
69	ndp \
70	newsyslog \
71	nfsd \
72	ngctl \
73	ntp \
74	nghook \
75	pciconf \
76	periodic \
77	pkg_install \
78	ppp \
79	pppd \
80	pppstats \
81	procctl \
82	pstat \
83	pw \
84	pwd_mkdb \
85	quot \
86	quotaon \
87	rarpd \
88	raycontrol \
89	repquota \
90	rmt \
91	rpcbind \
92	rpc.lockd \
93	rpc.statd \
94	rpc.umntall \
95	rpc.yppasswdd \
96	rpc.ypupdated \
97	rpc.ypxfrd \
98	rrenumd \
99	rtadvd \
100	rtprio \
101	rtsold \
102	rwhod \
103	sa \
104	setfmac \
105	setkey \
106	setpmac \
107	sliplogin \
108	slstat \
109	spray \
110	${_sysinstall} \
111	syslogd \
112	tcpdchk \
113	tcpdmatch \
114	tcpdump \
115	timed \
116	traceroute \
117	trpt \
118	tzsetup \
119	ugidfw \
120	vidcontrol \
121	vipw \
122	vnconfig \
123	watch \
124	watchdogd \
125	wicontrol \
126	yp_mkdb \
127	ypbind \
128	yppoll \
129	yppush \
130	ypserv \
131	ypset \
132	zic
133
134.if !defined(NOATM)
135SUBDIR+=atm
136.endif
137
138.if !defined(NOINET6)
139SUBDIR+=mld6query \
140	rip6query \
141	route6d \
142	traceroute6
143.endif
144
145.if !defined(NO_IPFILTER)
146SUBDIR+=ipresend \
147	ipsend \
148	iptest
149.endif
150
151.if !defined(NO_USB)
152SUBDIR+=usbd \
153	usbdevs
154.endif
155.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc"
156SUBDIR+=pppctl
157.endif
158
159.if !defined(NO_BIND)
160SUBDIR+=named \
161	named.reload \
162	named.restart \
163	ndc \
164	nslookup \
165	nsupdate
166.endif
167
168.if !defined(NO_LPR)
169SUBDIR+=lpr
170.endif
171
172.if !defined(NO_SENDMAIL)
173SUBDIR+=editmap \
174	mailstats \
175	makemap \
176	praliases \
177	sendmail
178.endif
179
180.if ${MACHINE_ARCH} == "alpha"
181SUBDIR+=elf2exe \
182	pnpinfo
183.endif
184
185.if ${MACHINE_ARCH} == "i386"
186SUBDIR+=apm \
187	apmd \
188	asf \
189	bluetooth \
190	btxld \
191	kgmon \
192	kgzip \
193	lptcontrol \
194	mount_nwfs \
195	mount_smbfs \
196	mptable \
197	pccard \
198	pcvt \
199	pnpinfo \
200	sgsc \
201	sicontrol \
202	spkrtest \
203	stallion \
204	wlconfig \
205	zzz
206
207.if !defined(NO_ACPI)
208SUBDIR+=acpi
209.endif
210
211.if !defined(NO_I4B)
212SUBDIR+=i4b
213.endif
214
215.endif
216
217.if ${MACHINE_ARCH} == "ia64"
218SUBDIR+=acpi \
219	zzz
220.endif
221
222# kgmon: builds, but no kernel profiling
223# kgzip: builds, but missing support files
224# mptable: broken (not 64 bit clean)
225# pnpinfo: crashes (not really useful anyway)
226.if ${MACHINE_ARCH} == "amd64"
227SUBDIR+=acpi \
228	asf \
229	boot0cfg \
230	btxld \
231	lptcontrol \
232	mount_nwfs \
233	mount_smbfs \
234	mptable \
235	sicontrol \
236	spkrtest \
237	zzz
238.endif
239
240.if ${MACHINE} == "i386"
241SUBDIR+=boot0cfg
242.endif
243
244.if ${MACHINE} == "pc98"
245SUBDIR+=boot98cfg
246.endif
247
248.if ${MACHINE_ARCH} == "sparc64"
249SUBDIR+=ofwdump
250.endif
251
252.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
253SUBDIR+=keyserv
254.endif
255
256.include <bsd.subdir.mk>
257