]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304222, and update
[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 #
10
11 SUBDIR= alias \
12         apply \
13         asa \
14         awk \
15         banner \
16         basename \
17         brandelf \
18         bsdcat \
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         diff \
38         dirname \
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         getaddrinfo \
55         getconf \
56         getent \
57         getopt \
58         grep \
59         gzip \
60         head \
61         hexdump \
62         id \
63         ident \
64         ipcrm \
65         ipcs \
66         join \
67         jot \
68         keylogin \
69         keylogout \
70         killall \
71         ktrace \
72         ktrdump \
73         lam \
74         lastcomm \
75         ldd \
76         leave \
77         less \
78         lessecho \
79         lesskey \
80         limits \
81         locale \
82         localedef \
83         lock \
84         lockf \
85         logger \
86         login \
87         logins \
88         logname \
89         look \
90         lorder \
91         lsvfs \
92         lzmainfo \
93         m4 \
94         mandoc \
95         mesg \
96         minigzip \
97         ministat \
98         mkdep \
99         mkfifo \
100         mkimg \
101         mklocale \
102         mktemp \
103         mkuzip \
104         mt \
105         ncal \
106         netstat \
107         newgrp \
108         nfsstat \
109         nice \
110         nl \
111         numactl \
112         nohup \
113         opieinfo \
114         opiekey \
115         opiepasswd \
116         pagesize \
117         passwd \
118         paste \
119         patch \
120         pathchk \
121         perror \
122         pr \
123         printenv \
124         printf \
125         proccontrol \
126         procstat \
127         protect \
128         rctl \
129         renice \
130         resizewin \
131         rev \
132         revoke \
133         rpcinfo \
134         rs \
135         rup \
136         rusers \
137         rwall \
138         script \
139         sdiff \
140         sed \
141         send-pr \
142         seq \
143         shar \
144         showmount \
145         sockstat \
146         soelim \
147         sort \
148         split \
149         stat \
150         stdbuf \
151         su \
152         systat \
153         tabs \
154         tail \
155         tar \
156         tcopy \
157         tee \
158         time \
159         timeout \
160         tip \
161         top \
162         touch \
163         tput \
164         tr \
165         true \
166         truncate \
167         tset \
168         tsort \
169         tty \
170         uname \
171         unexpand \
172         uniq \
173         unzip \
174         units \
175         unvis \
176         uudecode \
177         uuencode \
178         vis \
179         vmstat \
180         w \
181         wall \
182         wc \
183         what \
184         whereis \
185         which \
186         whois \
187         write \
188         xargs \
189         xinstall \
190         xo \
191         xz \
192         xzdec \
193         yes \
194         zstd
195
196 # NB: keep these sorted by MK_* knobs
197
198 SUBDIR.${MK_AT}+=       at
199 SUBDIR.${MK_ATM}+=      atm
200 SUBDIR.${MK_BLUETOOTH}+=        bluetooth
201 SUBDIR.${MK_BSD_CPIO}+= cpio
202 SUBDIR.${MK_CALENDAR}+= calendar
203 SUBDIR.${MK_CLANG}+=    clang
204 SUBDIR.${MK_DIALOG}+=   dpv
205 SUBDIR.${MK_EE}+=       ee
206 SUBDIR.${MK_FILE}+=     file
207 SUBDIR.${MK_FINGER}+=   finger
208 SUBDIR.${MK_FTP}+=      ftp
209 SUBDIR.${MK_GAMES}+=    caesar
210 SUBDIR.${MK_GAMES}+=    factor
211 SUBDIR.${MK_GAMES}+=    fortune
212 SUBDIR.${MK_GAMES}+=    grdc
213 SUBDIR.${MK_GAMES}+=    morse
214 SUBDIR.${MK_GAMES}+=    number
215 SUBDIR.${MK_GAMES}+=    pom
216 SUBDIR.${MK_GAMES}+=    primes
217 SUBDIR.${MK_GAMES}+=    random
218 .if ${MK_GPL_DTC} != "yes"
219 .if ${COMPILER_FEATURES:Mc++11}
220 SUBDIR+=        dtc
221 .endif
222 .endif
223 SUBDIR.${MK_GROFF}+=    vgrind
224 SUBDIR.${MK_HESIOD}+=   hesinfo
225 SUBDIR.${MK_ICONV}+=    iconv
226 SUBDIR.${MK_ICONV}+=    mkcsmapper
227 SUBDIR.${MK_ICONV}+=    mkesdb
228 SUBDIR.${MK_ISCSI}+=    iscsictl
229 SUBDIR.${MK_KDUMP}+=    kdump
230 SUBDIR.${MK_KDUMP}+=    truss
231 SUBDIR.${MK_KERBEROS_SUPPORT}+= compile_et
232 SUBDIR.${MK_LDNS_UTILS}+=       drill
233 SUBDIR.${MK_LDNS_UTILS}+=       host
234 SUBDIR.${MK_LOCATE}+=   locate
235 # XXX msgs?
236 SUBDIR.${MK_MAIL}+=     biff
237 SUBDIR.${MK_MAIL}+=     from
238 SUBDIR.${MK_MAIL}+=     mail
239 SUBDIR.${MK_MAIL}+=     msgs
240 SUBDIR.${MK_MAKE}+=     bmake
241 SUBDIR.${MK_MAN_UTILS}+=        catman
242 SUBDIR.${MK_MAN_UTILS}+=        man
243 SUBDIR.${MK_NETCAT}+=   nc
244 SUBDIR.${MK_NIS}+=      ypcat
245 SUBDIR.${MK_NIS}+=      ypmatch
246 SUBDIR.${MK_NIS}+=      ypwhich
247 SUBDIR.${MK_OPENSSH}+=  ssh-copy-id
248 SUBDIR.${MK_OPENSSL}+=  bc
249 SUBDIR.${MK_OPENSSL}+=  chkey
250 SUBDIR.${MK_OPENSSL}+=  dc
251 SUBDIR.${MK_OPENSSL}+=  newkey
252 SUBDIR.${MK_QUOTAS}+=   quota
253 SUBDIR.${MK_RCMDS}+=    rlogin
254 SUBDIR.${MK_RCMDS}+=    rsh
255 SUBDIR.${MK_RCMDS}+=    ruptime
256 SUBDIR.${MK_RCMDS}+=    rwho
257 SUBDIR.${MK_SENDMAIL}+= vacation
258 SUBDIR.${MK_TALK}+=     talk
259 SUBDIR.${MK_TELNET}+=   telnet
260 SUBDIR.${MK_TESTS}+=    tests
261 SUBDIR.${MK_TEXTPROC}+= checknr
262 SUBDIR.${MK_TEXTPROC}+= colcrt
263 SUBDIR.${MK_TEXTPROC}+= ul
264 SUBDIR.${MK_TFTP}+=     tftp
265 SUBDIR.${MK_TOOLCHAIN}+=        addr2line
266 SUBDIR.${MK_TOOLCHAIN}+=        ar
267 SUBDIR.${MK_TOOLCHAIN}+=        c89
268 SUBDIR.${MK_TOOLCHAIN}+=        c99
269 SUBDIR.${MK_TOOLCHAIN}+=        ctags
270 SUBDIR.${MK_TOOLCHAIN}+=        cxxfilt
271 SUBDIR.${MK_TOOLCHAIN}+=        elfcopy
272 SUBDIR.${MK_TOOLCHAIN}+=        file2c
273 # ARM64TODO gprof does not build
274 # RISCVTODO gprof does not build
275 .if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
276 SUBDIR.${MK_TOOLCHAIN}+=        gprof
277 .endif
278 SUBDIR.${MK_TOOLCHAIN}+=        indent
279 SUBDIR.${MK_TOOLCHAIN}+=        lex
280 SUBDIR.${MK_TOOLCHAIN}+=        mkstr
281 SUBDIR.${MK_TOOLCHAIN}+=        nm
282 SUBDIR.${MK_TOOLCHAIN}+=        readelf
283 SUBDIR.${MK_TOOLCHAIN}+=        rpcgen
284 SUBDIR.${MK_TOOLCHAIN}+=        unifdef
285 SUBDIR.${MK_TOOLCHAIN}+=        size
286 SUBDIR.${MK_TOOLCHAIN}+=        strings
287 .if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
288 SUBDIR.${MK_TOOLCHAIN}+=        xlint
289 .endif
290 SUBDIR.${MK_TOOLCHAIN}+=        xstr
291 SUBDIR.${MK_TOOLCHAIN}+=        yacc
292 SUBDIR.${MK_VI}+=       vi
293 SUBDIR.${MK_VT}+=       vtfontcvt
294 SUBDIR.${MK_USB}+=      usbhidaction
295 SUBDIR.${MK_USB}+=      usbhidctl
296 SUBDIR.${MK_UTMPX}+=    last
297 .if ${MK_CXX} != "no"
298 SUBDIR.${MK_UTMPX}+=    users
299 .endif
300 SUBDIR.${MK_UTMPX}+=    who
301 SUBDIR.${MK_SVN}+=      svn
302 SUBDIR.${MK_SVNLITE}+=  svn
303
304 # These are normally only handled for build-tools.
305 .if make(clean*)
306 SUBDIR+=        mkcsmapper_static
307 SUBDIR+=        mkesdb_static
308 .endif
309
310 .include <bsd.arch.inc.mk>
311
312 SUBDIR:=        ${SUBDIR:O:u}
313
314 SUBDIR_PARALLEL=
315
316 .include <bsd.subdir.mk>