Makefile revision 121748
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 121748 2003-10-30 17:46:40Z ume $
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	burncd \
18	cdcontrol \
19	chkgrp \
20	chown \
21	chroot \
22	ckdist \
23	config \
24	cron \
25	crunch \
26	ctm \
27	daemon \
28	dconschat \
29	devinfo \
30	digictl \
31	diskinfo \
32	edquota \
33	extattr \
34	extattrctl \
35	faithd \
36	fdcontrol \
37	fdformat \
38	fdread \
39	fdwrite \
40	fwcontrol \
41	getfmac \
42	getpmac \
43	gstat \
44	ifmcstat \
45	inetd \
46	iostat \
47	ip6addrctl \
48	jail \
49	jexec \
50	jls \
51	kbdcontrol \
52	kbdmap \
53	kernbb \
54	kldxref \
55	lastlogin \
56	mailwrapper \
57	manctl \
58	memcontrol \
59	mergemaster \
60	mixer \
61	mlxcontrol \
62	mount_portalfs \
63	mountd \
64	moused \
65	mrouted \
66	mtest \
67	mtree \
68	ndp \
69	newsyslog \
70	nfsd \
71	ngctl \
72	ntp \
73	nghook \
74	pciconf \
75	periodic \
76	pkg_install \
77	ppp \
78	pppd \
79	pppstats \
80	procctl \
81	pstat \
82	pw \
83	pwd_mkdb \
84	quot \
85	quotaon \
86	rarpd \
87	raycontrol \
88	repquota \
89	rmt \
90	rpcbind \
91	rpc.lockd \
92	rpc.statd \
93	rpc.umntall \
94	rpc.yppasswdd \
95	rpc.ypupdated \
96	rpc.ypxfrd \
97	rrenumd \
98	rtadvd \
99	rtprio \
100	rtsold \
101	rwhod \
102	sa \
103	setfmac \
104	setkey \
105	setpmac \
106	sliplogin \
107	slstat \
108	spray \
109	${_sysinstall} \
110	syslogd \
111	tcpdchk \
112	tcpdmatch \
113	tcpdump \
114	timed \
115	traceroute \
116	trpt \
117	tzsetup \
118	ugidfw \
119	vidcontrol \
120	vipw \
121	vnconfig \
122	watch \
123	watchdogd \
124	wicontrol \
125	yp_mkdb \
126	ypbind \
127	yppoll \
128	yppush \
129	ypserv \
130	ypset \
131	zic
132
133.if !defined(NOATM)
134SUBDIR+=atm
135.endif
136
137.if !defined(NOINET6)
138SUBDIR+=mld6query \
139	rip6query \
140	route6d \
141	traceroute6 
142.endif
143
144.if !defined(NO_IPFILTER)
145SUBDIR+=ipftest \
146	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.endif
220
221# kgmon: builds, but no kernel profiling
222# kgzip: builds, but missing support files
223# mptable: broken (not 64 bit clean)
224# pnpinfo: crashes (not really useful anyway)
225.if ${MACHINE_ARCH} == "amd64"
226SUBDIR+=acpi \
227	asf \
228	boot0cfg \
229	btxld \
230	lptcontrol \
231	mount_nwfs \
232	mount_smbfs \
233	mptable \
234	sicontrol \
235	spkrtest \
236	zzz
237.endif
238
239.if ${MACHINE} == "i386"
240SUBDIR+=boot0cfg
241.endif
242
243.if ${MACHINE} == "pc98"
244SUBDIR+=boot98cfg
245.endif
246
247.if ${MACHINE_ARCH} == "sparc64"
248SUBDIR+=ofwdump
249.endif
250
251.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
252SUBDIR+=keyserv
253.endif
254
255.include <bsd.subdir.mk>
256