Makefile revision 121468
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 121468 2003-10-24 15:44:10Z simokawa $
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	jail \
48	jexec \
49	jls \
50	kbdcontrol \
51	kbdmap \
52	kernbb \
53	kldxref \
54	lastlogin \
55	mailwrapper \
56	manctl \
57	memcontrol \
58	mergemaster \
59	mixer \
60	mlxcontrol \
61	mount_portalfs \
62	mountd \
63	moused \
64	mrouted \
65	mtest \
66	mtree \
67	ndp \
68	newsyslog \
69	nfsd \
70	ngctl \
71	ntp \
72	nghook \
73	pciconf \
74	periodic \
75	pkg_install \
76	ppp \
77	pppd \
78	pppstats \
79	procctl \
80	pstat \
81	pw \
82	pwd_mkdb \
83	quot \
84	quotaon \
85	rarpd \
86	raycontrol \
87	repquota \
88	rmt \
89	rpcbind \
90	rpc.lockd \
91	rpc.statd \
92	rpc.umntall \
93	rpc.yppasswdd \
94	rpc.ypupdated \
95	rpc.ypxfrd \
96	rrenumd \
97	rtadvd \
98	rtprio \
99	rtsold \
100	rwhod \
101	sa \
102	setfmac \
103	setkey \
104	setpmac \
105	sliplogin \
106	slstat \
107	spray \
108	${_sysinstall} \
109	syslogd \
110	tcpdchk \
111	tcpdmatch \
112	tcpdump \
113	timed \
114	traceroute \
115	trpt \
116	tzsetup \
117	ugidfw \
118	vidcontrol \
119	vipw \
120	vnconfig \
121	watch \
122	watchdogd \
123	wicontrol \
124	yp_mkdb \
125	ypbind \
126	yppoll \
127	yppush \
128	ypserv \
129	ypset \
130	zic
131
132.if !defined(NOATM)
133SUBDIR+=atm
134.endif
135
136.if !defined(NOINET6)
137SUBDIR+=mld6query \
138	rip6query \
139	route6d \
140	traceroute6 
141.endif
142
143.if !defined(NO_IPFILTER)
144SUBDIR+=ipftest \
145	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