]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
o Fix a typo.
[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         ${_cxxfilt} \
40         dirname \
41         dpv \
42         du \
43         elf2aout \
44         ${_elfcopy} \
45         elfdump \
46         enigma \
47         env \
48         expand \
49         false \
50         fetch \
51         find \
52         fmt \
53         fold \
54         fstat \
55         fsync \
56         gcore \
57         gencat \
58         getconf \
59         getent \
60         getopt \
61         grep \
62         gzip \
63         head \
64         hexdump \
65         ${_iconv} \
66         id \
67         ident \
68         ipcrm \
69         ipcs \
70         join \
71         jot \
72         ${_kdump} \
73         keylogin \
74         keylogout \
75         killall \
76         ktrace \
77         ktrdump \
78         lam \
79         lastcomm \
80         ldd \
81         leave \
82         less \
83         lessecho \
84         lesskey \
85         limits \
86         locale \
87         lock \
88         lockf \
89         logger \
90         login \
91         logins \
92         logname \
93         look \
94         lorder \
95         lsvfs \
96         lzmainfo \
97         m4 \
98         ${_makewhatis} \
99         ${_man} \
100         mandoc \
101         mesg \
102         minigzip \
103         ministat \
104         ${_mkcsmapper} \
105         mkdep \
106         ${_mkesdb} \
107         mkfifo \
108         mkimg \
109         mklocale \
110         mktemp \
111         mkulzma \
112         mkuzip \
113         mt \
114         ncal \
115         netstat \
116         newgrp \
117         nfsstat \
118         nice \
119         nl \
120         ${_nm} \
121         numactl \
122         nohup \
123         opieinfo \
124         opiekey \
125         opiepasswd \
126         pagesize \
127         passwd \
128         paste \
129         patch \
130         pathchk \
131         perror \
132         pr \
133         printenv \
134         printf \
135         procstat \
136         protect \
137         rctl \
138         ${_readelf} \
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         soelim \
156         sort \
157         split \
158         stat \
159         stdbuf \
160         ${_strings} \
161         su \
162         systat \
163         tabs \
164         tail \
165         tar \
166         tcopy \
167         tee \
168         ${_tests} \
169         time \
170         timeout \
171         tip \
172         top \
173         touch \
174         tput \
175         tr \
176         true \
177         truncate \
178         ${_truss} \
179         tset \
180         tsort \
181         tty \
182         uname \
183         unexpand \
184         uniq \
185         unzip \
186         units \
187         unvis \
188         uudecode \
189         uuencode \
190         vis \
191         vmstat \
192         w \
193         wall \
194         wc \
195         what \
196         whereis \
197         which \
198         whois \
199         write \
200         xargs \
201         xinstall \
202         xo \
203         xz \
204         xzdec \
205         yes \
206         ${_ypcat} \
207         ${_ypmatch} \
208         ${_ypwhich}
209
210 # NB: keep these sorted by MK_* knobs
211
212 .if ${MK_AT} != "no"
213 SUBDIR+=        at
214 .endif
215
216 .if ${MK_ATM} != "no"
217 SUBDIR+=        atm
218 .endif
219
220 .if ${MK_BLUETOOTH} != "no"
221 SUBDIR+=        bluetooth
222 .endif
223
224 .if ${MK_BSD_CPIO} != "no"
225 SUBDIR+=        cpio
226 .endif
227
228 .if ${MK_CALENDAR} != "no"
229 SUBDIR+=        calendar
230 .endif
231
232 .if ${MK_CLANG} != "no"
233 _clang=         clang
234 .endif
235
236 .if ${MK_EE} != "no"
237 SUBDIR+=        ee
238 .endif
239
240 .if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
241 _addr2line=     addr2line
242 _cxxfilt=       cxxfilt
243 _elfcopy=       elfcopy
244 _nm=            nm
245 _readelf=       readelf
246 _size=          size
247 _strings=       strings
248 .endif
249
250 .if ${MK_FILE} != "no"
251 SUBDIR+=        file
252 .endif
253
254 .if ${MK_FINGER} != "no"
255 SUBDIR+=        finger
256 .endif
257
258 .if ${MK_FTP} != "no"
259 SUBDIR+=        ftp
260 .endif
261
262 .if ${MK_GPL_DTC} != "yes"
263 SUBDIR+=        dtc
264 .endif
265
266 .if ${MK_GROFF} != "no"
267 SUBDIR+=        vgrind
268 .endif
269
270 .if ${MK_HESIOD} != "no"
271 SUBDIR+=        hesinfo
272 .endif
273
274 .if ${MK_ICONV} != "no"
275 _iconv=         iconv
276 _mkcsmapper=    mkcsmapper
277 _mkesdb=        mkesdb
278 .endif
279
280 .if ${MK_ISCSI} != "no"
281 SUBDIR+=        iscsictl
282 .endif
283
284 .if ${MK_KDUMP} != "no"
285 SUBDIR+=        kdump
286 .if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build
287 SUBDIR+=        truss
288 .endif
289 .endif
290
291 .if ${MK_KERBEROS_SUPPORT} != "no"
292 SUBDIR+=        compile_et
293 .endif
294
295 .if ${MK_LDNS_UTILS} != "no"
296 SUBDIR+=        drill
297 SUBDIR+=        host
298 .endif
299
300 .if ${MK_LOCATE} != "no"
301 SUBDIR+=        locate
302 .endif
303
304 # XXX msgs?
305 .if ${MK_MAIL} != "no"
306 SUBDIR+=        biff
307 SUBDIR+=        from
308 SUBDIR+=        mail
309 SUBDIR+=        msgs
310 .endif
311
312 .if ${MK_MAKE} != "no"
313 SUBDIR+=        bmake
314 .endif
315
316 .if ${MK_MAN_UTILS} != "no"
317 SUBDIR+=        catman
318 .if ${MK_MANDOCDB} == "no"
319 _makewhatis=    makewhatis
320 .endif
321 _man=           man
322 .endif
323
324 .if ${MK_NETCAT} != "no"
325 SUBDIR+=        nc
326 .endif
327
328 .if ${MK_NIS} != "no"
329 SUBDIR+=        ypcat
330 SUBDIR+=        ypmatch
331 SUBDIR+=        ypwhich
332 .endif
333
334 .if ${MK_OPENSSH} != "no"
335 SUBDIR+=        ssh-copy-id
336 .endif
337
338 .if ${MK_OPENSSL} != "no"
339 SUBDIR+=        bc
340 SUBDIR+=        chkey
341 SUBDIR+=        dc
342 SUBDIR+=        newkey
343 .endif
344
345 .if ${MK_QUOTAS} != "no"
346 SUBDIR+=        quota
347 .endif
348
349 .if ${MK_RCMDS} != "no"
350 SUBDIR+=        rlogin
351 SUBDIR+=        rsh
352 SUBDIR+=        ruptime
353 SUBDIR+=        rwho
354 .endif
355
356 .if ${MK_SENDMAIL} != "no"
357 SUBDIR+=        vacation
358 .endif
359
360 .if ${MK_TALK} != "no"
361 SUBDIR+=        talk
362 .endif
363
364 .if ${MK_TELNET} != "no"
365 SUBDIR+=        telnet
366 .endif
367
368 .if ${MK_TESTS} != "no"
369 _tests=         tests
370 .endif
371
372 .if ${MK_TEXTPROC} != "no"
373 SUBDIR+=        checknr
374 SUBDIR+=        colcrt
375 SUBDIR+=        ul
376 .endif
377
378 .if ${MK_TFTP} != "no"
379 SUBDIR+=        tftp
380 .endif
381
382 .if ${MK_TOOLCHAIN} != "no"
383 SUBDIR+=        ar
384 SUBDIR+=        c89
385 SUBDIR+=        c99
386 SUBDIR+=        ctags
387 SUBDIR+=        file2c
388 .if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build
389 SUBDIR+=        gprof
390 .endif
391 SUBDIR+=        indent
392 SUBDIR+=        lex
393 SUBDIR+=        mkstr
394 SUBDIR+=        rpcgen
395 SUBDIR+=        unifdef
396 .if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
397 SUBDIR+=        xlint
398 .endif
399 SUBDIR+=        xstr
400 SUBDIR+=        yacc
401 .endif
402
403 .if ${MK_VI} != "no"
404 SUBDIR+=        vi
405 .endif
406
407 .if ${MK_VT} != "no"
408 SUBDIR+=        vtfontcvt
409 .endif
410
411 .if ${MK_USB} != "no"
412 SUBDIR+=        usbhidaction
413 SUBDIR+=        usbhidctl
414 .endif
415
416 .if ${MK_UTMPX} != "no"
417 SUBDIR+=        last
418 SUBDIR+=        users
419 SUBDIR+=        who
420 .endif
421
422 .if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
423 SUBDIR+=        svn
424 .endif
425
426 .include <bsd.arch.inc.mk>
427
428 SUBDIR:=        ${SUBDIR:O}
429
430 SUBDIR_PARALLEL=
431
432 .include <bsd.subdir.mk>