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