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 12SUBDIR= ${_addr2line} \ 13 alias \ 14 apply \ 15 asa \ 16 awk \ 17 banner \ 18 basename \ 19 brandelf \ 20 bsdiff \ 21 bzip2 \ 22 bzip2recover \ 23 cap_mkdb \ 24 chat \ 25 chpass \ 26 cksum \ 27 ${_clang} \ 28 cmp \ 29 col \ 30 colldef \ 31 colrm \ 32 column \ 33 comm \ 34 compress \ 35 cpuset \ 36 csplit \ 37 ctlstat \ 38 cut \ 39 ${_cxxfilt} \ 40 dirname \ 41 dpv \ 42 du \ 43 elf2aout \ 44 ${_elfcopy} \ 45 elfdump \ 46 enigma \ 47 env \ 48 expand \ 49 false \ 50 fetch \ 51 find \ 52 fmt \ 53 fold \ 54 fstat \ 55 fsync \ 56 gcore \ 57 gencat \ 58 getconf \ 59 getent \ 60 getopt \ 61 grep \ 62 gzip \ 63 head \ 64 hexdump \ 65 ${_iconv} \ 66 id \ 67 ident \ 68 ipcrm \ 69 ipcs \ 70 join \ 71 jot \ 72 ${_kdump} \ 73 keylogin \ 74 keylogout \ 75 killall \ 76 ktrace \ 77 ktrdump \ 78 lam \ 79 lastcomm \ 80 ldd \ 81 leave \ 82 less \ 83 lessecho \ 84 lesskey \ 85 limits \ 86 locale \ 87 lock \ 88 lockf \ 89 logger \ 90 login \ 91 logins \ 92 logname \ 93 look \ 94 lorder \ 95 lsvfs \ 96 lzmainfo \ 97 m4 \ 98 ${_makewhatis} \ 99 ${_man} \ 100 mandoc \ 101 mesg \ 102 minigzip \ 103 ministat \ 104 ${_mkcsmapper} \ 105 mkdep \ 106 ${_mkesdb} \ 107 mkfifo \ 108 mkimg \ 109 mklocale \ 110 mktemp \ 111 mkulzma \ 112 mkuzip \ 113 mt \ 114 ncal \ 115 netstat \ 116 newgrp \ 117 nfsstat \ 118 nice \ 119 nl \ 120 ${_nm} \ 121 numactl \ 122 nohup \ 123 opieinfo \ 124 opiekey \ 125 opiepasswd \ 126 pagesize \ 127 passwd \ 128 paste \ 129 patch \ 130 pathchk \ 131 perror \ 132 pr \ 133 printenv \ 134 printf \ 135 procstat \ 136 protect \ 137 rctl \ 138 ${_readelf} \ 139 renice \ 140 rev \ 141 revoke \ 142 rpcinfo \ 143 rs \ 144 rup \ 145 rusers \ 146 rwall \ 147 script \ 148 sed \ 149 send-pr \ 150 seq \ 151 shar \ 152 showmount \ 153 ${_size} \ 154 sockstat \ 155 soelim \ 156 sort \ 157 split \ 158 stat \ 159 stdbuf \ 160 ${_strings} \ 161 su \ 162 systat \ 163 tabs \ 164 tail \ 165 tar \ 166 tcopy \ 167 tee \ 168 ${_tests} \ 169 time \ 170 timeout \ 171 tip \ 172 top \ 173 touch \ 174 tput \ 175 tr \ 176 true \ 177 truncate \ 178 ${_truss} \ 179 tset \ 180 tsort \ 181 tty \ 182 uname \ 183 unexpand \ 184 uniq \ 185 unzip \ 186 units \ 187 unvis \ 188 uudecode \ 189 uuencode \ 190 vis \ 191 vmstat \ 192 w \ 193 wall \ 194 wc \ 195 what \ 196 whereis \ 197 which \ 198 whois \ 199 write \ 200 xargs \ 201 xinstall \ 202 xo \ 203 xz \ 204 xzdec \ 205 yes \ 206 ${_ypcat} \ 207 ${_ypmatch} \ 208 ${_ypwhich} 209 210# NB: keep these sorted by MK_* knobs 211 212.if ${MK_AT} != "no" 213SUBDIR+= at 214.endif 215 216.if ${MK_ATM} != "no" 217SUBDIR+= atm 218.endif 219 220.if ${MK_BLUETOOTH} != "no" 221SUBDIR+= bluetooth 222.endif 223 224.if ${MK_BSD_CPIO} != "no" 225SUBDIR+= cpio 226.endif 227 228.if ${MK_CALENDAR} != "no" 229SUBDIR+= calendar 230.endif 231 232.if ${MK_CLANG} != "no" 233_clang= clang 234.endif 235 236.if ${MK_EE} != "no" 237SUBDIR+= ee 238.endif 239 240.if ${MK_ELFTOOLCHAIN_TOOLS} != "no" 241_addr2line= addr2line 242_cxxfilt= cxxfilt 243_elfcopy= elfcopy 244_nm= nm 245_readelf= readelf 246_size= size 247_strings= strings 248.endif 249 250.if ${MK_FILE} != "no" 251SUBDIR+= file 252.endif 253 254.if ${MK_FINGER} != "no" 255SUBDIR+= finger 256.endif 257 258.if ${MK_FTP} != "no" 259SUBDIR+= ftp 260.endif 261 262.if ${MK_GPL_DTC} != "yes" 263SUBDIR+= dtc 264.endif 265 266.if ${MK_GROFF} != "no" 267SUBDIR+= vgrind 268.endif 269 270.if ${MK_HESIOD} != "no" 271SUBDIR+= hesinfo 272.endif 273 274.if ${MK_ICONV} != "no" 275_iconv= iconv 276_mkcsmapper= mkcsmapper 277_mkesdb= mkesdb 278.endif 279 280.if ${MK_ISCSI} != "no" 281SUBDIR+= iscsictl 282.endif 283 284.if ${MK_KDUMP} != "no" 285SUBDIR+= kdump 286.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build 287SUBDIR+= truss 288.endif 289.endif 290 291.if ${MK_KERBEROS_SUPPORT} != "no" 292SUBDIR+= compile_et 293.endif 294 295.if ${MK_LDNS_UTILS} != "no" 296SUBDIR+= drill 297SUBDIR+= host 298.endif 299 300.if ${MK_LOCATE} != "no" 301SUBDIR+= locate 302.endif 303 304# XXX msgs? 305.if ${MK_MAIL} != "no" 306SUBDIR+= biff 307SUBDIR+= from 308SUBDIR+= mail 309SUBDIR+= msgs 310.endif 311 312.if ${MK_MAKE} != "no" 313SUBDIR+= bmake 314.endif 315 316.if ${MK_MAN_UTILS} != "no" 317SUBDIR+= catman 318.if ${MK_MANDOCDB} == "no" 319_makewhatis= makewhatis 320.endif 321_man= man 322.endif 323 324.if ${MK_NETCAT} != "no" 325SUBDIR+= nc 326.endif 327 328.if ${MK_NIS} != "no" 329SUBDIR+= ypcat 330SUBDIR+= ypmatch 331SUBDIR+= ypwhich 332.endif 333 334.if ${MK_OPENSSH} != "no" 335SUBDIR+= ssh-copy-id 336.endif 337 338.if ${MK_OPENSSL} != "no" 339SUBDIR+= bc 340SUBDIR+= chkey 341SUBDIR+= dc 342SUBDIR+= newkey 343.endif 344 345.if ${MK_QUOTAS} != "no" 346SUBDIR+= quota 347.endif 348 349.if ${MK_RCMDS} != "no" 350SUBDIR+= rlogin 351SUBDIR+= rsh 352SUBDIR+= ruptime 353SUBDIR+= rwho 354.endif 355 356.if ${MK_SENDMAIL} != "no" 357SUBDIR+= vacation 358.endif 359 360.if ${MK_TALK} != "no" 361SUBDIR+= talk 362.endif 363 364.if ${MK_TELNET} != "no" 365SUBDIR+= telnet 366.endif 367 368.if ${MK_TESTS} != "no" 369_tests= tests 370.endif 371 372.if ${MK_TEXTPROC} != "no" 373SUBDIR+= checknr 374SUBDIR+= colcrt 375SUBDIR+= ul 376.endif 377 378.if ${MK_TFTP} != "no" 379SUBDIR+= tftp 380.endif 381 382.if ${MK_TOOLCHAIN} != "no" 383SUBDIR+= ar 384SUBDIR+= c89 385SUBDIR+= c99 386SUBDIR+= ctags 387SUBDIR+= file2c 388.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build 389SUBDIR+= gprof 390.endif 391SUBDIR+= indent 392SUBDIR+= lex 393SUBDIR+= mkstr 394SUBDIR+= rpcgen 395SUBDIR+= unifdef 396.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build 397SUBDIR+= xlint 398.endif 399SUBDIR+= xstr 400SUBDIR+= yacc 401.endif 402 403.if ${MK_VI} != "no" 404SUBDIR+= vi 405.endif 406 407.if ${MK_VT} != "no" 408SUBDIR+= vtfontcvt 409.endif 410 411.if ${MK_USB} != "no" 412SUBDIR+= usbhidaction 413SUBDIR+= usbhidctl 414.endif 415 416.if ${MK_UTMPX} != "no" 417SUBDIR+= last 418SUBDIR+= users 419SUBDIR+= who 420.endif 421 422.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes" 423SUBDIR+= svn 424.endif 425 426.include <bsd.arch.inc.mk> 427 428SUBDIR:= ${SUBDIR:O} 429 430SUBDIR_PARALLEL= 431 432.include <bsd.subdir.mk> 433