]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
MFC r303452,r303482,r303483,r303484,r303485,r303487,r303489,r303498,r303499,r303502...
[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         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         ruptime \
137         rusers \
138         rwall \
139         rwho \
140         script \
141         sdiff \
142         sed \
143         send-pr \
144         seq \
145         shar \
146         showmount \
147         sockstat \
148         soelim \
149         sort \
150         split \
151         stat \
152         stdbuf \
153         strings \
154         su \
155         systat \
156         tabs \
157         tail \
158         tar \
159         tcopy \
160         tee \
161         time \
162         timeout \
163         tip \
164         top \
165         touch \
166         tput \
167         tr \
168         true \
169         truncate \
170         tset \
171         tsort \
172         tty \
173         uname \
174         unexpand \
175         uniq \
176         unzip \
177         units \
178         unvis \
179         uudecode \
180         uuencode \
181         vis \
182         vmstat \
183         w \
184         wall \
185         wc \
186         what \
187         whereis \
188         which \
189         whois \
190         write \
191         xargs \
192         xinstall \
193         xo \
194         xz \
195         xzdec \
196         yes
197
198 # NB: keep these sorted by MK_* knobs
199
200 SUBDIR.${MK_AT}+=       at
201 SUBDIR.${MK_ATM}+=      atm
202 SUBDIR.${MK_BLUETOOTH}+=        bluetooth
203 SUBDIR.${MK_BSD_CPIO}+= cpio
204 SUBDIR.${MK_CALENDAR}+= calendar
205 SUBDIR.${MK_CLANG}+=    clang
206 SUBDIR.${MK_DIALOG}+=   dpv
207 SUBDIR.${MK_EE}+=       ee
208 SUBDIR.${MK_FILE}+=     file
209 SUBDIR.${MK_FINGER}+=   finger
210 SUBDIR.${MK_FTP}+=      ftp
211 SUBDIR.${MK_GAMES}+=    caesar
212 SUBDIR.${MK_GAMES}+=    factor
213 SUBDIR.${MK_GAMES}+=    fortune
214 SUBDIR.${MK_GAMES}+=    grdc
215 SUBDIR.${MK_GAMES}+=    morse
216 SUBDIR.${MK_GAMES}+=    number
217 SUBDIR.${MK_GAMES}+=    pom
218 SUBDIR.${MK_GAMES}+=    primes
219 SUBDIR.${MK_GAMES}+=    random
220 .if ${MK_GPL_DTC} != "yes"
221 .if ${COMPILER_FEATURES:Mc++11}
222 SUBDIR+=        dtc
223 .endif
224 .endif
225 SUBDIR.${MK_GROFF}+=    vgrind
226 SUBDIR.${MK_HESIOD}+=   hesinfo
227 SUBDIR.${MK_ICONV}+=    iconv
228 SUBDIR.${MK_ICONV}+=    mkcsmapper
229 SUBDIR.${MK_ICONV}+=    mkesdb
230 SUBDIR.${MK_ISCSI}+=    iscsictl
231 SUBDIR.${MK_KDUMP}+=    kdump
232 SUBDIR.${MK_KDUMP}+=    truss
233 SUBDIR.${MK_KERBEROS_SUPPORT}+= compile_et
234 SUBDIR.${MK_LDNS_UTILS}+=       drill
235 SUBDIR.${MK_LDNS_UTILS}+=       host
236 SUBDIR.${MK_LOCATE}+=   locate
237 # XXX msgs?
238 SUBDIR.${MK_MAIL}+=     biff
239 SUBDIR.${MK_MAIL}+=     from
240 SUBDIR.${MK_MAIL}+=     mail
241 SUBDIR.${MK_MAIL}+=     msgs
242 SUBDIR.${MK_MAKE}+=     bmake
243 SUBDIR.${MK_MAN_UTILS}+=        catman
244 .if ${MK_MANDOCDB} == "no"      # AND
245 SUBDIR.${MK_MAN_UTILS}+=        makewhatis
246 .endif
247 SUBDIR.${MK_MAN_UTILS}+=        man
248 SUBDIR.${MK_NETCAT}+=   nc
249 SUBDIR.${MK_NIS}+=      ypcat
250 SUBDIR.${MK_NIS}+=      ypmatch
251 SUBDIR.${MK_NIS}+=      ypwhich
252 SUBDIR.${MK_OPENSSH}+=  ssh-copy-id
253 SUBDIR.${MK_OPENSSL}+=  bc
254 SUBDIR.${MK_OPENSSL}+=  chkey
255 SUBDIR.${MK_OPENSSL}+=  dc
256 SUBDIR.${MK_OPENSSL}+=  newkey
257 SUBDIR.${MK_QUOTAS}+=   quota
258 SUBDIR.${MK_RCMDS}+=    rlogin
259 SUBDIR.${MK_RCMDS}+=    rsh
260 SUBDIR.${MK_SENDMAIL}+= vacation
261 SUBDIR.${MK_TALK}+=     talk
262 SUBDIR.${MK_TELNET}+=   telnet
263 SUBDIR.${MK_TESTS}+=    tests
264 SUBDIR.${MK_TEXTPROC}+= checknr
265 SUBDIR.${MK_TEXTPROC}+= colcrt
266 SUBDIR.${MK_TEXTPROC}+= ul
267 SUBDIR.${MK_TFTP}+=     tftp
268 SUBDIR.${MK_TOOLCHAIN}+=        addr2line
269 SUBDIR.${MK_TOOLCHAIN}+=        ar
270 SUBDIR.${MK_TOOLCHAIN}+=        c89
271 SUBDIR.${MK_TOOLCHAIN}+=        c99
272 SUBDIR.${MK_TOOLCHAIN}+=        ctags
273 SUBDIR.${MK_TOOLCHAIN}+=        cxxfilt
274 SUBDIR.${MK_TOOLCHAIN}+=        elfcopy
275 SUBDIR.${MK_TOOLCHAIN}+=        file2c
276 # ARM64TODO gprof does not build
277 # RISCVTODO gprof does not build
278 .if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
279 SUBDIR.${MK_TOOLCHAIN}+=        gprof
280 .endif
281 SUBDIR.${MK_TOOLCHAIN}+=        indent
282 SUBDIR.${MK_TOOLCHAIN}+=        lex
283 SUBDIR.${MK_TOOLCHAIN}+=        mkstr
284 SUBDIR.${MK_TOOLCHAIN}+=        nm
285 SUBDIR.${MK_TOOLCHAIN}+=        readelf
286 SUBDIR.${MK_TOOLCHAIN}+=        rpcgen
287 SUBDIR.${MK_TOOLCHAIN}+=        unifdef
288 SUBDIR.${MK_TOOLCHAIN}+=        size
289 .if ${MK_LINT} != "no" && ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
290 SUBDIR.${MK_TOOLCHAIN}+=        xlint
291 .endif
292 SUBDIR.${MK_TOOLCHAIN}+=        xstr
293 SUBDIR.${MK_TOOLCHAIN}+=        yacc
294 SUBDIR.${MK_VI}+=       vi
295 SUBDIR.${MK_VT}+=       vtfontcvt
296 SUBDIR.${MK_USB}+=      usbhidaction
297 SUBDIR.${MK_USB}+=      usbhidctl
298 SUBDIR.${MK_UTMPX}+=    last
299 .if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
300 SUBDIR.${MK_UTMPX}+=    users
301 .endif
302 SUBDIR.${MK_UTMPX}+=    who
303 SUBDIR.${MK_SVN}+=      svn
304 SUBDIR.${MK_SVNLITE}+=  svn
305
306 # These are normally only handled for build-tools.
307 .if make(clean*)
308 SUBDIR+=        mkcsmapper_static
309 SUBDIR+=        mkesdb_static
310 .endif
311
312 .include <bsd.arch.inc.mk>
313
314 SUBDIR_PARALLEL=
315
316 .include <bsd.subdir.mk>