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