]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
MFC r317280:
[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         dpv \
40         du \
41         elf2aout \
42         elfdump \
43         enigma \
44         env \
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         rusers \
138         rwall \
139         script \
140         sdiff \
141         sed \
142         send-pr \
143         seq \
144         shar \
145         showmount \
146         sockstat \
147         soelim \
148         sort \
149         split \
150         stat \
151         stdbuf \
152         su \
153         systat \
154         tabs \
155         tail \
156         tar \
157         tcopy \
158         tee \
159         time \
160         timeout \
161         tip \
162         top \
163         touch \
164         tput \
165         tr \
166         true \
167         truncate \
168         tset \
169         tsort \
170         tty \
171         uname \
172         unexpand \
173         uniq \
174         unzip \
175         units \
176         unvis \
177         uudecode \
178         uuencode \
179         vis \
180         vmstat \
181         w \
182         wall \
183         wc \
184         what \
185         whereis \
186         which \
187         whois \
188         write \
189         xargs \
190         xinstall \
191         xo \
192         xz \
193         xzdec \
194         yes
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_EE}+=       ee
205 SUBDIR.${MK_FILE}+=     file
206 SUBDIR.${MK_FINGER}+=   finger
207 SUBDIR.${MK_FTP}+=      ftp
208 SUBDIR.${MK_GAMES}+=    caesar
209 SUBDIR.${MK_GAMES}+=    factor
210 SUBDIR.${MK_GAMES}+=    fortune
211 SUBDIR.${MK_GAMES}+=    grdc
212 SUBDIR.${MK_GAMES}+=    morse
213 SUBDIR.${MK_GAMES}+=    number
214 SUBDIR.${MK_GAMES}+=    pom
215 SUBDIR.${MK_GAMES}+=    primes
216 SUBDIR.${MK_GAMES}+=    random
217 .if ${MK_GPL_DTC} != "yes"
218 .if ${COMPILER_FEATURES:Mc++11}
219 SUBDIR+=        dtc
220 .endif
221 .endif
222 SUBDIR.${MK_GROFF}+=    vgrind
223 SUBDIR.${MK_HESIOD}+=   hesinfo
224 SUBDIR.${MK_ICONV}+=    iconv
225 SUBDIR.${MK_ICONV}+=    mkcsmapper
226 SUBDIR.${MK_ICONV}+=    mkesdb
227 SUBDIR.${MK_ISCSI}+=    iscsictl
228 SUBDIR.${MK_KDUMP}+=    kdump
229 SUBDIR.${MK_KDUMP}+=    truss
230 SUBDIR.${MK_KERBEROS_SUPPORT}+= compile_et
231 SUBDIR.${MK_LDNS_UTILS}+=       drill
232 SUBDIR.${MK_LDNS_UTILS}+=       host
233 SUBDIR.${MK_LOCATE}+=   locate
234 # XXX msgs?
235 SUBDIR.${MK_MAIL}+=     biff
236 SUBDIR.${MK_MAIL}+=     from
237 SUBDIR.${MK_MAIL}+=     mail
238 SUBDIR.${MK_MAIL}+=     msgs
239 SUBDIR.${MK_MAKE}+=     bmake
240 SUBDIR.${MK_MAN_UTILS}+=        catman
241 .if ${MK_MANDOCDB} == "no"      # AND
242 SUBDIR.${MK_MAN_UTILS}+=        makewhatis
243 .endif
244 SUBDIR.${MK_MAN_UTILS}+=        man
245 SUBDIR.${MK_NETCAT}+=   nc
246 SUBDIR.${MK_NIS}+=      ypcat
247 SUBDIR.${MK_NIS}+=      ypmatch
248 SUBDIR.${MK_NIS}+=      ypwhich
249 SUBDIR.${MK_OPENSSH}+=  ssh-copy-id
250 SUBDIR.${MK_OPENSSL}+=  bc
251 SUBDIR.${MK_OPENSSL}+=  chkey
252 SUBDIR.${MK_OPENSSL}+=  dc
253 SUBDIR.${MK_OPENSSL}+=  newkey
254 SUBDIR.${MK_QUOTAS}+=   quota
255 SUBDIR.${MK_RCMDS}+=    rlogin
256 SUBDIR.${MK_RCMDS}+=    rsh
257 SUBDIR.${MK_RCMDS}+=    ruptime
258 SUBDIR.${MK_RCMDS}+=    rwho
259 SUBDIR.${MK_SENDMAIL}+= vacation
260 SUBDIR.${MK_TALK}+=     talk
261 SUBDIR.${MK_TELNET}+=   telnet
262 SUBDIR.${MK_TESTS}+=    tests
263 SUBDIR.${MK_TEXTPROC}+= checknr
264 SUBDIR.${MK_TEXTPROC}+= colcrt
265 SUBDIR.${MK_TEXTPROC}+= ul
266 SUBDIR.${MK_TFTP}+=     tftp
267 SUBDIR.${MK_TOOLCHAIN}+=        addr2line
268 SUBDIR.${MK_TOOLCHAIN}+=        ar
269 SUBDIR.${MK_TOOLCHAIN}+=        c89
270 SUBDIR.${MK_TOOLCHAIN}+=        c99
271 SUBDIR.${MK_TOOLCHAIN}+=        ctags
272 SUBDIR.${MK_TOOLCHAIN}+=        cxxfilt
273 SUBDIR.${MK_TOOLCHAIN}+=        elfcopy
274 SUBDIR.${MK_TOOLCHAIN}+=        file2c
275 # ARM64TODO gprof does not build
276 # RISCVTODO gprof does not build
277 .if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
278 SUBDIR.${MK_TOOLCHAIN}+=        gprof
279 .endif
280 SUBDIR.${MK_TOOLCHAIN}+=        indent
281 SUBDIR.${MK_TOOLCHAIN}+=        lex
282 SUBDIR.${MK_TOOLCHAIN}+=        mkstr
283 SUBDIR.${MK_TOOLCHAIN}+=        nm
284 SUBDIR.${MK_TOOLCHAIN}+=        readelf
285 SUBDIR.${MK_TOOLCHAIN}+=        rpcgen
286 SUBDIR.${MK_TOOLCHAIN}+=        unifdef
287 SUBDIR.${MK_TOOLCHAIN}+=        size
288 SUBDIR.${MK_TOOLCHAIN}+=        strings
289 .if ${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:=        ${SUBDIR:O:u}
315
316 SUBDIR_PARALLEL=
317
318 .include <bsd.subdir.mk>