Makefile revision 153430
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 153430 2005-12-15 01:04:51Z iedowse $
3
4# XXX MISSING:		mkproto
5SUBDIR=	ac \
6	accton \
7	${_acpi} \
8	adduser \
9	amd \
10	ancontrol \
11	${_apm} \
12	${_apmd} \
13	${_arlcontrol} \
14	arp \
15	${_asf} \
16	${_atm} \
17	${_authpf} \
18	${_bluetooth} \
19	${_boot0cfg} \
20	${_boot98cfg} \
21	bootparamd \
22	bsnmpd \
23	${_btxld} \
24	burncd \
25	cdcontrol \
26	chkgrp \
27	chown \
28	chroot \
29	ckdist \
30	config \
31	cron \
32	crunch \
33	ctm \
34	daemon \
35	dconschat \
36	devinfo \
37	digictl \
38	diskinfo \
39	${_dnssec-keygen} \
40	${_dnssec-signzone} \
41	${_editmap} \
42	edquota \
43	${_eeprom} \
44	${_elf2exe} \
45	extattr \
46	extattrctl \
47	faithd \
48	fdcontrol \
49	fdformat \
50	fdread \
51	fdwrite \
52	flowctl \
53	fwcontrol \
54	getfmac \
55	getpmac \
56	gstat \
57	${_i4b} \
58	ifmcstat \
59	inetd \
60	iostat \
61	ip6addrctl \
62	ipfwpcap \
63	IPXrouted \
64	jail \
65	jexec \
66	jls \
67	kbdcontrol \
68	kbdmap \
69	${_keyserv} \
70	${_kgmon} \
71	${_kgzip} \
72	kldxref \
73	lastlogin \
74	${_lpr} \
75	${_lptcontrol} \
76	lmcconfig \
77	${_mailstats} \
78	mailwrapper \
79	${_makemap} \
80	manctl \
81	memcontrol \
82	mergemaster \
83	mixer \
84	${_mld6query} \
85	mlxcontrol \
86	mountd \
87	${_mount_nwfs} \
88	mount_portalfs \
89	${_mount_smbfs} \
90	moused \
91	${_mptable} \
92	mrouted \
93	mtest \
94	mtree \
95	${_named} \
96	${_named-checkconf} \
97	${_named-checkzone} \
98	${_named.reload} \
99	${_ndiscvt} \
100	ndp \
101	newsyslog \
102	nfsd \
103	ngctl \
104	nghook \
105	nologin \
106	ntp \
107	${_ofwdump} \
108	${_pccard} \
109	pciconf \
110	${_pcvt} \
111	periodic \
112	pkg_install \
113	pmccontrol \
114	pmcstat \
115	${_pnpinfo} \
116	portsnap \
117	powerd \
118	ppp \
119	${_pppctl} \
120	pppd \
121	pppstats \
122	${_praliases} \
123	procctl \
124	pstat \
125	pw \
126	pwd_mkdb \
127	quot \
128	quotaon \
129	rarpd \
130	raycontrol \
131	repquota \
132	${_rip6query} \
133	rmt \
134	${_rndc} \
135	${_rndc-confgen} \
136	${_route6d} \
137	rpcbind \
138	rpc.lockd \
139	rpc.statd \
140	rpc.umntall \
141	${_rpc.yppasswdd} \
142	${_rpc.ypupdated} \
143	${_rpc.ypxfrd} \
144	rrenumd \
145	rtadvd \
146	rtprio \
147	rtsold \
148	rwhod \
149	sa \
150	${_sendmail} \
151	setfmac \
152	setpmac \
153	${_sicontrol} \
154	sliplogin \
155	slstat \
156	smbmsg \
157	snapinfo \
158	${_spkrtest} \
159	spray \
160	${_sysinstall} \
161	syslogd \
162	tcpdchk \
163	tcpdmatch \
164	tcpdrop \
165	tcpdump \
166	timed \
167	traceroute \
168	${_traceroute6} \
169	trpt \
170	tzsetup \
171	ugidfw \
172	${_usbdevs} \
173	vidcontrol \
174	vipw \
175	vnconfig \
176	watch \
177	watchdogd \
178	wicontrol \
179	${_wlconfig} \
180	wpa \
181	${_ypbind} \
182	${_yp_mkdb} \
183	${_yppoll} \
184	${_yppush} \
185	${_ypserv} \
186	${_ypset} \
187	zic \
188	${_zzz}
189
190.if ${MACHINE_ARCH} != "arm"
191_sysinstall=	sysinstall
192.endif
193
194.if !defined(NO_ATM)
195_atm=		atm
196.endif
197
198.if !defined(NO_BIND)
199.if !defined(NO_BIND_DNSSEC) && !defined(NO_CRYPT)
200_dnssec-keygen=		dnssec-keygen
201_dnssec-signzone=	dnssec-signzone
202.endif
203.if !defined(NO_BIND_NAMED)
204_named=			named
205_named-checkconf=	named-checkconf
206_named-checkzone=	named-checkzone
207_named.reload=		named.reload
208_rndc=			rndc
209_rndc-confgen=		rndc-confgen
210.endif
211.endif
212
213.if !defined(NO_BLUETOOTH)
214_bluetooth=	bluetooth
215.endif
216
217.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
218_keyserv=	keyserv
219.endif
220
221.if !defined(NO_INET6)
222_mld6query=	mld6query
223_rip6query=	rip6query
224_route6d=	route6d
225_traceroute6=	traceroute6
226.endif
227
228.if !defined(NO_NIS)
229_rpc.yppasswdd=	rpc.yppasswdd
230_rpc.ypupdated=	rpc.ypupdated
231_rpc.ypxfrd=	rpc.ypxfrd
232_ypbind=	ypbind
233_yp_mkdb=	yp_mkdb
234_yppoll=	yppoll
235_yppush=	yppush
236_ypserv=	ypserv
237_ypset=		ypset
238.endif
239
240.if !defined(NO_PF) && !defined(NO_AUTHPF)
241_authpf=	authpf
242.endif
243
244.if !defined(NO_LPR)
245_lpr=		lpr
246.endif
247
248.if !defined(NO_SENDMAIL)
249_editmap=	editmap
250_mailstats=	mailstats
251_makemap=	makemap
252_praliases=	praliases
253_sendmail=	sendmail
254.endif
255
256.if !defined(NO_USB)
257_usbdevs=	usbdevs
258.endif
259
260.if ${MACHINE_ARCH} == "arm"
261_kgmon=		kgmon
262.endif
263
264.if ${MACHINE_ARCH} == "i386"
265_apm=		apm
266_apmd=		apmd
267_asf=		asf
268_btxld=		btxld
269.if !defined(NO_I4B)
270_i4b=		i4b
271.endif
272_kgmon=		kgmon
273_kgzip=		kgzip
274_lptcontrol=	lptcontrol
275_mount_nwfs=	mount_nwfs
276_mount_smbfs=	mount_smbfs
277_mptable=	mptable
278_ndiscvt=	ndiscvt
279_pccard=	pccard
280_pnpinfo=	pnpinfo
281.if !defined(NO_LIBPTHREAD)
282_pppctl=	pppctl
283.endif
284_sicontrol=	sicontrol
285_spkrtest=	spkrtest
286_zzz=		zzz
287.if ${MACHINE} == "i386" 
288.if !defined(NO_ACPI)
289_acpi=		acpi
290.endif
291_arlcontrol=	arlcontrol
292_boot0cfg=	boot0cfg
293.if !defined(NO_PCVT)
294_pcvt=		pcvt
295.endif
296_wlconfig=	wlconfig
297.elif ${MACHINE} == "pc98"
298_boot98cfg=	boot98cfg
299.endif
300.endif
301
302.if ${MACHINE_ARCH} == "alpha"
303_elf2exe=	elf2exe
304_pnpinfo=	pnpinfo
305.if !defined(NO_LIBC_R)
306_pppctl=	pppctl
307.endif
308.endif
309
310# kgzip: builds, but missing support files
311# mptable: broken (not 64 bit clean)
312# pnpinfo: crashes (not really useful anyway)
313.if ${MACHINE_ARCH} == "amd64"
314.if !defined(NO_ACPI)
315_acpi=		acpi
316.endif
317_asf=		asf
318_boot0cfg=	boot0cfg
319_btxld=		btxld
320_kgmon=		kgmon
321_lptcontrol=	lptcontrol
322_mount_nwfs=	mount_nwfs
323_mount_smbfs=	mount_smbfs
324_mptable=	mptable
325_ndiscvt=	ndiscvt
326.if !defined(NO_LIBPTHREAD)
327_pppctl=	pppctl
328.endif
329_sicontrol=	sicontrol
330_spkrtest=	spkrtest
331_zzz=		zzz
332.endif
333
334.if ${MACHINE_ARCH} == "ia64"
335.if !defined(NO_ACPI)
336_acpi=		acpi
337.endif
338_kgmon=		kgmon
339.if !defined(NO_LIBPTHREAD)
340_pppctl=	pppctl
341.endif
342_zzz=		zzz
343.endif
344
345.if ${MACHINE_ARCH} == "powerpc"
346_mount_smbfs=	mount_smbfs
347.endif
348
349.if ${MACHINE_ARCH} == "sparc64"
350_eeprom=	eeprom
351_ofwdump=	ofwdump
352.if !defined(NO_LIBC_R)
353_pppctl=	pppctl
354.endif
355.endif
356
357.include <bsd.subdir.mk>
358