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