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 11SUBDIR= 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 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 zstd 198 199# NB: keep these sorted by MK_* knobs 200 201SUBDIR.${MK_AT}+= at 202SUBDIR.${MK_ATM}+= atm 203SUBDIR.${MK_BLUETOOTH}+= bluetooth 204SUBDIR.${MK_BSD_CPIO}+= cpio 205SUBDIR.${MK_CALENDAR}+= calendar 206SUBDIR.${MK_CLANG}+= clang 207SUBDIR.${MK_DIALOG}+= dpv 208SUBDIR.${MK_EE}+= ee 209SUBDIR.${MK_FILE}+= file 210SUBDIR.${MK_FINGER}+= finger 211SUBDIR.${MK_FTP}+= ftp 212SUBDIR.${MK_GAMES}+= caesar 213SUBDIR.${MK_GAMES}+= factor 214SUBDIR.${MK_GAMES}+= fortune 215SUBDIR.${MK_GAMES}+= grdc 216SUBDIR.${MK_GAMES}+= morse 217SUBDIR.${MK_GAMES}+= number 218SUBDIR.${MK_GAMES}+= pom 219SUBDIR.${MK_GAMES}+= primes 220SUBDIR.${MK_GAMES}+= random 221.if ${MK_GPL_DTC} != "yes" 222.if ${COMPILER_FEATURES:Mc++11} 223SUBDIR+= dtc 224.endif 225.endif 226SUBDIR.${MK_HESIOD}+= hesinfo 227SUBDIR.${MK_ICONV}+= iconv 228SUBDIR.${MK_ICONV}+= mkcsmapper 229SUBDIR.${MK_ICONV}+= mkesdb 230SUBDIR.${MK_ISCSI}+= iscsictl 231SUBDIR.${MK_KDUMP}+= kdump 232SUBDIR.${MK_KDUMP}+= truss 233SUBDIR.${MK_KERBEROS_SUPPORT}+= compile_et 234SUBDIR.${MK_LDNS_UTILS}+= drill 235SUBDIR.${MK_LDNS_UTILS}+= host 236SUBDIR.${MK_LOCATE}+= locate 237# XXX msgs? 238SUBDIR.${MK_MAIL}+= biff 239SUBDIR.${MK_MAIL}+= from 240SUBDIR.${MK_MAIL}+= mail 241SUBDIR.${MK_MAIL}+= msgs 242SUBDIR.${MK_MAKE}+= bmake 243SUBDIR.${MK_MAN_UTILS}+= man 244SUBDIR.${MK_NETCAT}+= nc 245SUBDIR.${MK_NIS}+= ypcat 246SUBDIR.${MK_NIS}+= ypmatch 247SUBDIR.${MK_NIS}+= ypwhich 248SUBDIR.${MK_OPENSSH}+= ssh-copy-id 249SUBDIR.${MK_OPENSSL}+= bc 250SUBDIR.${MK_OPENSSL}+= chkey 251SUBDIR.${MK_OPENSSL}+= dc 252SUBDIR.${MK_OPENSSL}+= newkey 253SUBDIR.${MK_QUOTAS}+= quota 254SUBDIR.${MK_SENDMAIL}+= vacation 255SUBDIR.${MK_TALK}+= talk 256SUBDIR.${MK_TELNET}+= telnet 257SUBDIR.${MK_TESTS}+= tests 258SUBDIR.${MK_TEXTPROC}+= ul 259SUBDIR.${MK_TFTP}+= tftp 260SUBDIR.${MK_TOOLCHAIN}+= addr2line 261SUBDIR.${MK_TOOLCHAIN}+= ar 262SUBDIR.${MK_TOOLCHAIN}+= c89 263SUBDIR.${MK_TOOLCHAIN}+= c99 264SUBDIR.${MK_TOOLCHAIN}+= ctags 265SUBDIR.${MK_TOOLCHAIN}+= cxxfilt 266SUBDIR.${MK_TOOLCHAIN}+= elfcopy 267SUBDIR.${MK_TOOLCHAIN}+= file2c 268# ARM64TODO gprof does not build 269# RISCVTODO gprof does not build 270.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv" 271SUBDIR.${MK_TOOLCHAIN}+= gprof 272.endif 273SUBDIR.${MK_TOOLCHAIN}+= indent 274SUBDIR.${MK_TOOLCHAIN}+= lex 275SUBDIR.${MK_TOOLCHAIN}+= mkstr 276SUBDIR.${MK_TOOLCHAIN}+= nm 277SUBDIR.${MK_TOOLCHAIN}+= readelf 278SUBDIR.${MK_TOOLCHAIN}+= rpcgen 279SUBDIR.${MK_TOOLCHAIN}+= unifdef 280SUBDIR.${MK_TOOLCHAIN}+= size 281SUBDIR.${MK_TOOLCHAIN}+= xstr 282SUBDIR.${MK_TOOLCHAIN}+= yacc 283SUBDIR.${MK_VI}+= vi 284SUBDIR.${MK_VT}+= vtfontcvt 285SUBDIR.${MK_USB}+= usbhidaction 286SUBDIR.${MK_USB}+= usbhidctl 287SUBDIR.${MK_UTMPX}+= last 288.if ${MK_CXX} != "no" 289SUBDIR.${MK_UTMPX}+= users 290.endif 291SUBDIR.${MK_UTMPX}+= who 292SUBDIR.${MK_SVN}+= svn 293SUBDIR.${MK_SVNLITE}+= svn 294 295# These are normally only handled for build-tools. 296.if make(clean*) 297SUBDIR+= mkcsmapper_static 298SUBDIR+= mkesdb_static 299.endif 300 301.include <bsd.arch.inc.mk> 302 303SUBDIR_PARALLEL= 304 305.include <bsd.subdir.mk> 306