Makefile revision 121817
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 121817 2003-10-31 18:54:46Z brooks $
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+=ipresend \
146	ipsend \
147	iptest
148.endif
149
150.if !defined(NO_USB)
151SUBDIR+=usbd \
152	usbdevs
153.endif
154.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc"
155SUBDIR+=pppctl
156.endif
157
158.if !defined(NO_BIND)
159SUBDIR+=named \
160	named.reload \
161	named.restart \
162	ndc \
163	nslookup \
164	nsupdate
165.endif
166
167.if !defined(NO_LPR)
168SUBDIR+=lpr
169.endif
170
171.if !defined(NO_SENDMAIL)
172SUBDIR+=editmap \
173	mailstats \
174	makemap \
175	praliases \
176	sendmail
177.endif
178
179.if ${MACHINE_ARCH} == "alpha"
180SUBDIR+=elf2exe \
181	pnpinfo
182.endif
183
184.if ${MACHINE_ARCH} == "i386"
185SUBDIR+=apm \
186	apmd \
187	asf \
188	bluetooth \
189	btxld \
190	kgmon \
191	kgzip \
192	lptcontrol \
193	mount_nwfs \
194	mount_smbfs \
195	mptable \
196	pccard \
197	pcvt \
198	pnpinfo \
199	sgsc \
200	sicontrol \
201	spkrtest \
202	stallion \
203	wlconfig \
204	zzz
205
206.if !defined(NO_ACPI)
207SUBDIR+=acpi
208.endif
209
210.if !defined(NO_I4B)
211SUBDIR+=i4b
212.endif
213
214.endif
215
216.if ${MACHINE_ARCH} == "ia64"
217SUBDIR+=acpi
218.endif
219
220# kgmon: builds, but no kernel profiling
221# kgzip: builds, but missing support files
222# mptable: broken (not 64 bit clean)
223# pnpinfo: crashes (not really useful anyway)
224.if ${MACHINE_ARCH} == "amd64"
225SUBDIR+=acpi \
226	asf \
227	boot0cfg \
228	btxld \
229	lptcontrol \
230	mount_nwfs \
231	mount_smbfs \
232	mptable \
233	sicontrol \
234	spkrtest \
235	zzz
236.endif
237
238.if ${MACHINE} == "i386"
239SUBDIR+=boot0cfg
240.endif
241
242.if ${MACHINE} == "pc98"
243SUBDIR+=boot98cfg
244.endif
245
246.if ${MACHINE_ARCH} == "sparc64"
247SUBDIR+=ofwdump
248.endif
249
250.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
251SUBDIR+=keyserv
252.endif
253
254.include <bsd.subdir.mk>
255