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