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