]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel
[FreeBSD/FreeBSD.git] / usr.bin / Makefile
1 #       From: @(#)Makefile      8.3 (Berkeley) 1/7/94
2 # $FreeBSD$
3
4 .include <src.opts.mk>
5
6 # XXX MISSING:          deroff diction graph learn plot
7 #                       spell spline struct xsend
8 # XXX Use GNU versions: diff ld patch
9 # Moved to secure: bdes
10 #
11
12 SUBDIR= ${_addr2line} \
13         alias \
14         apply \
15         asa \
16         awk \
17         banner \
18         basename \
19         brandelf \
20         bsdiff \
21         bzip2 \
22         bzip2recover \
23         cap_mkdb \
24         chat \
25         chpass \
26         cksum \
27         ${_clang} \
28         cmp \
29         col \
30         colldef \
31         colrm \
32         column \
33         comm \
34         compress \
35         cpuset \
36         csplit \
37         ctlstat \
38         cut \
39         demandoc \
40         dirname \
41         dpv \
42         du \
43         elf2aout \
44         ${_elfcopy} \
45         elfdump \
46         enigma \
47         env \
48         expand \
49         false \
50         fetch \
51         file \
52         find \
53         finger \
54         fmt \
55         fold \
56         fstat \
57         fsync \
58         ftp \
59         gcore \
60         gencat \
61         getconf \
62         getent \
63         getopt \
64         grep \
65         gzip \
66         head \
67         hexdump \
68         ${_iconv} \
69         id \
70         ipcrm \
71         ipcs \
72         join \
73         jot \
74         ${_kdump} \
75         keylogin \
76         keylogout \
77         killall \
78         ktrace \
79         ktrdump \
80         lam \
81         lastcomm \
82         ldd \
83         leave \
84         less \
85         lessecho \
86         lesskey \
87         limits \
88         locale \
89         lock \
90         lockf \
91         logger \
92         login \
93         logins \
94         logname \
95         look \
96         lorder \
97         lsvfs \
98         lzmainfo \
99         m4 \
100         ${_makewhatis} \
101         ${_man} \
102         mandoc \
103         mesg \
104         minigzip \
105         ministat \
106         ${_mkcsmapper} \
107         mkdep \
108         ${_mkesdb} \
109         mkfifo \
110         mkimg \
111         mklocale \
112         mktemp \
113         mkulzma \
114         mkuzip \
115         mt \
116         ncal \
117         netstat \
118         newgrp \
119         nfsstat \
120         nice \
121         nl \
122         ${_nm} \
123         nohup \
124         opieinfo \
125         opiekey \
126         opiepasswd \
127         pagesize \
128         passwd \
129         paste \
130         patch \
131         pathchk \
132         perror \
133         pr \
134         printenv \
135         printf \
136         procstat \
137         protect \
138         rctl \
139         renice \
140         rev \
141         revoke \
142         rpcinfo \
143         rs \
144         rup \
145         rusers \
146         rwall \
147         script \
148         sed \
149         send-pr \
150         seq \
151         shar \
152         showmount \
153         ${_size} \
154         sockstat \
155         soeliminate \
156         sort \
157         split \
158         stat \
159         stdbuf \
160         ${_strings} \
161         su \
162         systat \
163         tabs \
164         tail \
165         talk \
166         tar \
167         tcopy \
168         tee \
169         ${_tests} \
170         tftp \
171         time \
172         timeout \
173         tip \
174         top \
175         touch \
176         tput \
177         tr \
178         true \
179         truncate \
180         ${_truss} \
181         tset \
182         tsort \
183         tty \
184         uname \
185         unexpand \
186         uniq \
187         unzip \
188         units \
189         unvis \
190         uudecode \
191         uuencode \
192         vis \
193         vmstat \
194         w \
195         wall \
196         wc \
197         what \
198         whereis \
199         which \
200         whois \
201         write \
202         xargs \
203         xinstall \
204         ${_xlint} \
205         xo \
206         ${_xstr} \
207         xz \
208         xzdec \
209         ${_yacc} \
210         yes \
211         ${_ypcat} \
212         ${_ypmatch} \
213         ${_ypwhich}
214
215 # NB: keep these sorted by MK_* knobs
216
217 .if ${MK_AT} != "no"
218 SUBDIR+=        at
219 .endif
220
221 .if ${MK_ATM} != "no"
222 SUBDIR+=        atm
223 .endif
224
225 .if ${MK_BLUETOOTH} != "no"
226 SUBDIR+=        bluetooth
227 .endif
228
229 .if ${MK_BSD_CPIO} != "no"
230 SUBDIR+=        cpio
231 .endif
232
233 .if ${MK_CALENDAR} != "no"
234 SUBDIR+=        calendar
235 .endif
236
237 .if ${MK_CLANG} != "no"
238 _clang=         clang
239 .endif
240
241 .if ${MK_EE} != "no"
242 SUBDIR+=        ee
243 .endif
244
245 .if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
246 _addr2line=     addr2line
247 _elfcopy=       elfcopy
248 _nm=            nm
249 _size=          size
250 _strings=       strings
251 .endif
252
253 .if ${MK_FMAKE} != "no"
254 SUBDIR+=        make
255 .endif
256
257 .if ${MK_GPL_DTC} != "yes"
258 SUBDIR+=        dtc
259 .endif
260
261 .if ${MK_GROFF} != "no"
262 SUBDIR+=        vgrind
263 .endif
264
265 .if ${MK_HESIOD} != "no"
266 SUBDIR+=        hesinfo
267 .endif
268
269 .if ${MK_ICONV} != "no"
270 _iconv=         iconv
271 _mkcsmapper=    mkcsmapper
272 _mkesdb=        mkesdb
273 .endif
274
275 .if ${MK_ISCSI} != "no"
276 SUBDIR+=        iscsictl
277 .endif
278
279 .if ${MK_KDUMP} != "no"
280 SUBDIR+=        kdump
281 SUBDIR+=        truss
282 .endif
283
284 .if ${MK_KERBEROS_SUPPORT} != "no"
285 SUBDIR+=        compile_et
286 .endif
287
288 .if ${MK_LDNS_UTILS} != "no"
289 SUBDIR+=        drill
290 SUBDIR+=        host
291 .endif
292
293 .if ${MK_LOCATE} != "no"
294 SUBDIR+=        locate
295 .endif
296
297 # XXX msgs?
298 .if ${MK_MAIL} != "no"
299 SUBDIR+=        biff
300 SUBDIR+=        from
301 SUBDIR+=        mail
302 SUBDIR+=        msgs
303 .endif
304
305 .if ${MK_MAKE} != "no"
306 SUBDIR+=        bmake
307 .endif
308
309 .if ${MK_MAN_UTILS} != "no"
310 SUBDIR+=        catman
311 _makewhatis=    makewhatis
312 _man=           man
313 .endif
314
315 .if ${MK_NETCAT} != "no"
316 SUBDIR+=        nc
317 .endif
318
319 .if ${MK_NIS} != "no"
320 SUBDIR+=        ypcat
321 SUBDIR+=        ypmatch
322 SUBDIR+=        ypwhich
323 .endif
324
325 .if ${MK_OPENSSH} != "no"
326 SUBDIR+=        ssh-copy-id
327 .endif
328
329 .if ${MK_OPENSSL} != "no"
330 SUBDIR+=        bc
331 SUBDIR+=        chkey
332 SUBDIR+=        dc
333 SUBDIR+=        newkey
334 .endif
335
336 .if ${MK_QUOTAS} != "no"
337 SUBDIR+=        quota
338 .endif
339
340 .if ${MK_RCMDS} != "no"
341 SUBDIR+=        rlogin
342 SUBDIR+=        rsh
343 SUBDIR+=        ruptime
344 SUBDIR+=        rwho
345 .endif
346
347 .if ${MK_SENDMAIL} != "no"
348 SUBDIR+=        vacation
349 .endif
350
351 .if ${MK_TELNET} != "no"
352 SUBDIR+=        telnet
353 .endif
354
355 .if ${MK_TESTS} != "no"
356 _tests=         tests
357 .endif
358
359 .if ${MK_TEXTPROC} != "no"
360 SUBDIR+=        checknr
361 SUBDIR+=        colcrt
362 SUBDIR+=        ul
363 .endif
364
365 .if ${MK_TOOLCHAIN} != "no"
366 SUBDIR+=        ar
367 SUBDIR+=        c89
368 SUBDIR+=        c99
369 SUBDIR+=        ctags
370 SUBDIR+=        file2c
371 SUBDIR+=        gprof
372 SUBDIR+=        indent
373 SUBDIR+=        lex
374 SUBDIR+=        mkstr
375 SUBDIR+=        rpcgen
376 SUBDIR+=        unifdef
377 SUBDIR+=        xlint
378 SUBDIR+=        xstr
379 SUBDIR+=        yacc
380 .endif
381
382 .if ${MK_VI} != "no"
383 SUBDIR+=        vi
384 .endif
385
386 .if ${MK_VT} != "no"
387 SUBDIR+=        vtfontcvt
388 .endif
389
390 .if ${MK_USB} != "no"
391 SUBDIR+=        usbhidaction
392 SUBDIR+=        usbhidctl
393 .endif
394
395 .if ${MK_UTMPX} != "no"
396 SUBDIR+=        last
397 SUBDIR+=        users
398 SUBDIR+=        who
399 .endif
400
401 .if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
402 SUBDIR+=        svn
403 .endif
404
405 .include <bsd.arch.inc.mk>
406
407 SUBDIR:=        ${SUBDIR:O}
408
409 SUBDIR_PARALLEL=
410
411 .include <bsd.subdir.mk>