Deleted Added
full compact
Makefile (255570) Makefile (255597)
1# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
1# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 255570 2013-09-14 15:29:06Z trasz $
2# $FreeBSD: head/usr.sbin/Makefile 255597 2013-09-15 14:51:23Z des $
3
4.include <bsd.own.mk>
5
6SUBDIR= adduser \
7 arp \
8 bootparamd \
9 bsdconfig \
10 bsdinstall \
11 cdcontrol \
12 chkgrp \
13 chown \
14 chroot \
15 ckdist \
16 clear_locks \
17 crashinfo \
18 cron \
19 ctladm \
20 ctld \
21 daemon \
22 dconschat \
23 devinfo \
24 digictl \
25 diskinfo \
26 dumpcis \
27 etcupdate \
28 extattr \
29 extattrctl \
30 fifolog \
31 fwcontrol \
32 getfmac \
33 getpmac \
34 gstat \
35 i2c \
36 ifmcstat \
37 inetd \
38 iostat \
39 iscsid \
40 isfctl \
41 kldxref \
42 mailwrapper \
43 makefs \
44 memcontrol \
45 mergemaster \
46 mfiutil \
47 mixer \
48 mlxcontrol \
49 mountd \
50 mptutil \
51 mtest \
52 mtree \
53 newsyslog \
54 nfscbd \
55 nfsd \
56 nfsdumpstate \
57 nfsrevoke \
58 nfsuserd \
59 nmtree \
60 nologin \
61 ${_pc_sysinstall} \
62 pciconf \
63 periodic \
64 powerd \
65 procctl \
66 pstat \
67 pw \
68 pwd_mkdb \
69 quot \
70 rarpd \
71 rmt \
72 rpcbind \
73 rpc.lockd \
74 rpc.statd \
75 rpc.umntall \
76 rtprio \
77 service \
78 services_mkdb \
79 setfib \
80 setfmac \
81 setpmac \
82 smbmsg \
83 snapinfo \
84 spray \
85 syslogd \
86 sysrc \
87 tcpdchk \
88 tcpdmatch \
89 tcpdrop \
90 tcpdump \
91 timed \
92 traceroute \
93 trpt \
94 tzsetup \
95 ugidfw \
96 vipw \
97 wake \
98 watch \
99 watchdogd \
100 zic
101
102# NB: keep these sorted by MK_* knobs
103
104.if ${MK_ACCT} != "no"
105SUBDIR+= accton
106SUBDIR+= sa
107.endif
108
109.if ${MK_AMD} != "no"
110SUBDIR+= amd
111.endif
112
113.if ${MK_AUDIT} != "no"
114SUBDIR+= audit
115SUBDIR+= auditd
116.if ${MK_OPENSSL} != "no"
117SUBDIR+= auditdistd
118.endif
119SUBDIR+= auditreduce
120SUBDIR+= praudit
121.endif
122
123.if ${MK_AUTHPF} != "no"
124SUBDIR+= authpf
125.endif
126
127.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
128SUBDIR+= dnssec-dsfromkey
129SUBDIR+= dnssec-keyfromlabel
130SUBDIR+= dnssec-keygen
131SUBDIR+= dnssec-revoke
132SUBDIR+= dnssec-settime
133SUBDIR+= dnssec-signzone
134SUBDIR+= dnssec-verify
135.endif
136.if ${MK_BIND_NAMED} != "no"
137SUBDIR+= arpaname
138SUBDIR+= ddns-confgen
139SUBDIR+= genrandom
140SUBDIR+= isc-hmac-fixup
141SUBDIR+= named
142SUBDIR+= named-checkconf
143SUBDIR+= named-checkzone
144SUBDIR+= named-journalprint
145SUBDIR+= nsec3hash
146SUBDIR+= rndc
147SUBDIR+= rndc-confgen
148.endif
149
150.if ${MK_BLUETOOTH} != "no"
151SUBDIR+= bluetooth
152.endif
153
154.if ${MK_BSNMP} != "no"
155SUBDIR+= bsnmpd
156.endif
157
158.if ${MK_CTM} != "no"
159SUBDIR+= ctm
160.endif
161
162.if ${MK_FLOPPY} != "no"
163SUBDIR+= fdcontrol
164SUBDIR+= fdformat
165SUBDIR+= fdread
166SUBDIR+= fdwrite
167.endif
168
169.if ${MK_FREEBSD_UPDATE} != "no"
170SUBDIR+= freebsd-update
171.endif
172
173.if ${MK_GSSAPI} != "no"
174SUBDIR+= gssd
175.endif
176
177.if ${MK_GPIO} != "no"
178SUBDIR+= gpioctl
179.endif
180
181.if ${MK_INET6} != "no"
182SUBDIR+= faithd
183SUBDIR+= ip6addrctl
184SUBDIR+= mld6query
185SUBDIR+= ndp
186SUBDIR+= rip6query
187SUBDIR+= route6d
188SUBDIR+= rrenumd
189SUBDIR+= rtadvctl
190SUBDIR+= rtadvd
191SUBDIR+= rtsold
192SUBDIR+= traceroute6
193.endif
194
195.if ${MK_IPFW} != "no"
196SUBDIR+= ipfwpcap
197.endif
198
199.if ${MK_IPX} != "no"
200SUBDIR+= IPXrouted
201.endif
202
203.if ${MK_JAIL} != "no"
204SUBDIR+= jail
205SUBDIR+= jexec
206SUBDIR+= jls
207.endif
208
209# XXX MK_SYSCONS
210.if ${MK_LEGACY_CONSOLE} != "no"
211SUBDIR+= kbdcontrol
212SUBDIR+= kbdmap
213SUBDIR+= moused
214SUBDIR+= vidcontrol
215.endif
216
217.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
218.if ${MK_PPP} != "no"
219SUBDIR+= pppctl
220.endif
221.if ${MK_NS_CACHING} != "no"
222SUBDIR+= nscd
223.endif
224.endif
225
226.if ${MK_LPR} != "no"
227SUBDIR+= lpr
228.endif
229
230.if ${MK_MAN_UTILS} != "no"
231SUBDIR+= manctl
232.endif
233
234.if ${MK_NAND} != "no"
235SUBDIR+= nandsim
236SUBDIR+= nandtool
237.endif
238
239.if ${MK_NETGRAPH} != "no"
240SUBDIR+= flowctl
241SUBDIR+= lmcconfig
242SUBDIR+= ngctl
243SUBDIR+= nghook
244.endif
245
246.if ${MK_NIS} != "no"
247SUBDIR+= rpc.yppasswdd
248SUBDIR+= rpc.ypupdated
249SUBDIR+= rpc.ypxfrd
250SUBDIR+= ypbind
251SUBDIR+= yp_mkdb
252SUBDIR+= yppoll
253SUBDIR+= yppush
254SUBDIR+= ypserv
255SUBDIR+= ypset
256.endif
257
258.if ${MK_NTP} != "no"
259SUBDIR+= ntp
260.endif
261
262.if ${MK_OPENSSL} != "no"
263SUBDIR+= keyserv
264.endif
265
266.if ${MK_PC_SYSINSTALL} != "no"
267_pc_sysinstall= pc-sysinstall
268.endif
269
270.if ${MK_PF} != "no"
271SUBDIR+= ftp-proxy
272.endif
273
274.if ${MK_PKGBOOTSTRAP} != "no"
275SUBDIR+= pkg
276.endif
277
278.if ${MK_PKGTOOLS} != "no"
279SUBDIR+= pkg_install
280.endif
281
282# XXX MK_TOOLCHAIN?
283.if ${MK_PMC} != "no"
284SUBDIR+= pmcannotate
285SUBDIR+= pmccontrol
286SUBDIR+= pmcstat
287.endif
288
289.if ${MK_PORTSNAP} != "no"
290SUBDIR+= portsnap
291.endif
292
293.if ${MK_PPP} != "no"
294SUBDIR+= ppp
295.endif
296
297.if ${MK_QUOTAS} != "no"
298SUBDIR+= edquota
299SUBDIR+= quotaon
300SUBDIR+= repquota
301.endif
302
303.if ${MK_RCMDS} != "no"
304SUBDIR+= rwhod
305.endif
306
307.if ${MK_SENDMAIL} != "no"
308SUBDIR+= editmap
309SUBDIR+= mailstats
310SUBDIR+= makemap
311SUBDIR+= praliases
312SUBDIR+= sendmail
313.endif
314
315.if ${MK_TOOLCHAIN} != "no"
316SUBDIR+= config
317SUBDIR+= crunch
318.endif
319
3
4.include <bsd.own.mk>
5
6SUBDIR= adduser \
7 arp \
8 bootparamd \
9 bsdconfig \
10 bsdinstall \
11 cdcontrol \
12 chkgrp \
13 chown \
14 chroot \
15 ckdist \
16 clear_locks \
17 crashinfo \
18 cron \
19 ctladm \
20 ctld \
21 daemon \
22 dconschat \
23 devinfo \
24 digictl \
25 diskinfo \
26 dumpcis \
27 etcupdate \
28 extattr \
29 extattrctl \
30 fifolog \
31 fwcontrol \
32 getfmac \
33 getpmac \
34 gstat \
35 i2c \
36 ifmcstat \
37 inetd \
38 iostat \
39 iscsid \
40 isfctl \
41 kldxref \
42 mailwrapper \
43 makefs \
44 memcontrol \
45 mergemaster \
46 mfiutil \
47 mixer \
48 mlxcontrol \
49 mountd \
50 mptutil \
51 mtest \
52 mtree \
53 newsyslog \
54 nfscbd \
55 nfsd \
56 nfsdumpstate \
57 nfsrevoke \
58 nfsuserd \
59 nmtree \
60 nologin \
61 ${_pc_sysinstall} \
62 pciconf \
63 periodic \
64 powerd \
65 procctl \
66 pstat \
67 pw \
68 pwd_mkdb \
69 quot \
70 rarpd \
71 rmt \
72 rpcbind \
73 rpc.lockd \
74 rpc.statd \
75 rpc.umntall \
76 rtprio \
77 service \
78 services_mkdb \
79 setfib \
80 setfmac \
81 setpmac \
82 smbmsg \
83 snapinfo \
84 spray \
85 syslogd \
86 sysrc \
87 tcpdchk \
88 tcpdmatch \
89 tcpdrop \
90 tcpdump \
91 timed \
92 traceroute \
93 trpt \
94 tzsetup \
95 ugidfw \
96 vipw \
97 wake \
98 watch \
99 watchdogd \
100 zic
101
102# NB: keep these sorted by MK_* knobs
103
104.if ${MK_ACCT} != "no"
105SUBDIR+= accton
106SUBDIR+= sa
107.endif
108
109.if ${MK_AMD} != "no"
110SUBDIR+= amd
111.endif
112
113.if ${MK_AUDIT} != "no"
114SUBDIR+= audit
115SUBDIR+= auditd
116.if ${MK_OPENSSL} != "no"
117SUBDIR+= auditdistd
118.endif
119SUBDIR+= auditreduce
120SUBDIR+= praudit
121.endif
122
123.if ${MK_AUTHPF} != "no"
124SUBDIR+= authpf
125.endif
126
127.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
128SUBDIR+= dnssec-dsfromkey
129SUBDIR+= dnssec-keyfromlabel
130SUBDIR+= dnssec-keygen
131SUBDIR+= dnssec-revoke
132SUBDIR+= dnssec-settime
133SUBDIR+= dnssec-signzone
134SUBDIR+= dnssec-verify
135.endif
136.if ${MK_BIND_NAMED} != "no"
137SUBDIR+= arpaname
138SUBDIR+= ddns-confgen
139SUBDIR+= genrandom
140SUBDIR+= isc-hmac-fixup
141SUBDIR+= named
142SUBDIR+= named-checkconf
143SUBDIR+= named-checkzone
144SUBDIR+= named-journalprint
145SUBDIR+= nsec3hash
146SUBDIR+= rndc
147SUBDIR+= rndc-confgen
148.endif
149
150.if ${MK_BLUETOOTH} != "no"
151SUBDIR+= bluetooth
152.endif
153
154.if ${MK_BSNMP} != "no"
155SUBDIR+= bsnmpd
156.endif
157
158.if ${MK_CTM} != "no"
159SUBDIR+= ctm
160.endif
161
162.if ${MK_FLOPPY} != "no"
163SUBDIR+= fdcontrol
164SUBDIR+= fdformat
165SUBDIR+= fdread
166SUBDIR+= fdwrite
167.endif
168
169.if ${MK_FREEBSD_UPDATE} != "no"
170SUBDIR+= freebsd-update
171.endif
172
173.if ${MK_GSSAPI} != "no"
174SUBDIR+= gssd
175.endif
176
177.if ${MK_GPIO} != "no"
178SUBDIR+= gpioctl
179.endif
180
181.if ${MK_INET6} != "no"
182SUBDIR+= faithd
183SUBDIR+= ip6addrctl
184SUBDIR+= mld6query
185SUBDIR+= ndp
186SUBDIR+= rip6query
187SUBDIR+= route6d
188SUBDIR+= rrenumd
189SUBDIR+= rtadvctl
190SUBDIR+= rtadvd
191SUBDIR+= rtsold
192SUBDIR+= traceroute6
193.endif
194
195.if ${MK_IPFW} != "no"
196SUBDIR+= ipfwpcap
197.endif
198
199.if ${MK_IPX} != "no"
200SUBDIR+= IPXrouted
201.endif
202
203.if ${MK_JAIL} != "no"
204SUBDIR+= jail
205SUBDIR+= jexec
206SUBDIR+= jls
207.endif
208
209# XXX MK_SYSCONS
210.if ${MK_LEGACY_CONSOLE} != "no"
211SUBDIR+= kbdcontrol
212SUBDIR+= kbdmap
213SUBDIR+= moused
214SUBDIR+= vidcontrol
215.endif
216
217.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
218.if ${MK_PPP} != "no"
219SUBDIR+= pppctl
220.endif
221.if ${MK_NS_CACHING} != "no"
222SUBDIR+= nscd
223.endif
224.endif
225
226.if ${MK_LPR} != "no"
227SUBDIR+= lpr
228.endif
229
230.if ${MK_MAN_UTILS} != "no"
231SUBDIR+= manctl
232.endif
233
234.if ${MK_NAND} != "no"
235SUBDIR+= nandsim
236SUBDIR+= nandtool
237.endif
238
239.if ${MK_NETGRAPH} != "no"
240SUBDIR+= flowctl
241SUBDIR+= lmcconfig
242SUBDIR+= ngctl
243SUBDIR+= nghook
244.endif
245
246.if ${MK_NIS} != "no"
247SUBDIR+= rpc.yppasswdd
248SUBDIR+= rpc.ypupdated
249SUBDIR+= rpc.ypxfrd
250SUBDIR+= ypbind
251SUBDIR+= yp_mkdb
252SUBDIR+= yppoll
253SUBDIR+= yppush
254SUBDIR+= ypserv
255SUBDIR+= ypset
256.endif
257
258.if ${MK_NTP} != "no"
259SUBDIR+= ntp
260.endif
261
262.if ${MK_OPENSSL} != "no"
263SUBDIR+= keyserv
264.endif
265
266.if ${MK_PC_SYSINSTALL} != "no"
267_pc_sysinstall= pc-sysinstall
268.endif
269
270.if ${MK_PF} != "no"
271SUBDIR+= ftp-proxy
272.endif
273
274.if ${MK_PKGBOOTSTRAP} != "no"
275SUBDIR+= pkg
276.endif
277
278.if ${MK_PKGTOOLS} != "no"
279SUBDIR+= pkg_install
280.endif
281
282# XXX MK_TOOLCHAIN?
283.if ${MK_PMC} != "no"
284SUBDIR+= pmcannotate
285SUBDIR+= pmccontrol
286SUBDIR+= pmcstat
287.endif
288
289.if ${MK_PORTSNAP} != "no"
290SUBDIR+= portsnap
291.endif
292
293.if ${MK_PPP} != "no"
294SUBDIR+= ppp
295.endif
296
297.if ${MK_QUOTAS} != "no"
298SUBDIR+= edquota
299SUBDIR+= quotaon
300SUBDIR+= repquota
301.endif
302
303.if ${MK_RCMDS} != "no"
304SUBDIR+= rwhod
305.endif
306
307.if ${MK_SENDMAIL} != "no"
308SUBDIR+= editmap
309SUBDIR+= mailstats
310SUBDIR+= makemap
311SUBDIR+= praliases
312SUBDIR+= sendmail
313.endif
314
315.if ${MK_TOOLCHAIN} != "no"
316SUBDIR+= config
317SUBDIR+= crunch
318.endif
319
320.if ${MK_UNBOUND} != "no"
321SUBDIR+= unbound
322.endif
323
320.if ${MK_USB} != "no"
321SUBDIR+= uathload
322SUBDIR+= uhsoctl
323SUBDIR+= usbconfig
324SUBDIR+= usbdump
325.endif
326
327.if ${MK_UTMPX} != "no"
328SUBDIR+= ac
329SUBDIR+= lastlogin
330SUBDIR+= utx
331.endif
332
333.if ${MK_WIRELESS} != "no"
334SUBDIR+= ancontrol
335SUBDIR+= wlandebug
336SUBDIR+= wpa
337.endif
338
339.include <bsd.arch.inc.mk>
340
341SUBDIR:= ${SUBDIR:O}
342
343.include <bsd.subdir.mk>
324.if ${MK_USB} != "no"
325SUBDIR+= uathload
326SUBDIR+= uhsoctl
327SUBDIR+= usbconfig
328SUBDIR+= usbdump
329.endif
330
331.if ${MK_UTMPX} != "no"
332SUBDIR+= ac
333SUBDIR+= lastlogin
334SUBDIR+= utx
335.endif
336
337.if ${MK_WIRELESS} != "no"
338SUBDIR+= ancontrol
339SUBDIR+= wlandebug
340SUBDIR+= wpa
341.endif
342
343.include <bsd.arch.inc.mk>
344
345SUBDIR:= ${SUBDIR:O}
346
347.include <bsd.subdir.mk>