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