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 ipcrm \ 68 ipcs \ 69 join \ 70 jot \ 71 ${_kdump} \ 72 keylogin \ 73 keylogout \ 74 killall \ 75 ktrace \ 76 ktrdump \ 77 lam \ 78 lastcomm \ 79 ldd \ 80 leave \ 81 less \ 82 lessecho \ 83 lesskey \ 84 limits \ 85 locale \ 86 lock \ 87 lockf \ 88 logger \ 89 login \ 90 logins \ 91 logname \ 92 look \ 93 lorder \ 94 lsvfs \ 95 lzmainfo \ 96 m4 \ 97 ${_makewhatis} \ 98 ${_man} \ 99 mandoc \ 100 mesg \ 101 minigzip \ 102 ministat \ 103 ${_mkcsmapper} \ 104 mkdep \ 105 ${_mkesdb} \ 106 mkfifo \ 107 mkimg \ 108 mklocale \ 109 mktemp \ 110 mkulzma \ 111 mkuzip \ 112 mt \ 113 ncal \ 114 netstat \ 115 newgrp \ 116 nfsstat \ 117 nice \ 118 nl \ 119 ${_nm} \ 120 nohup \ 121 opieinfo \ 122 opiekey \ 123 opiepasswd \ 124 pagesize \ 125 passwd \ 126 paste \ 127 patch \ 128 pathchk \ 129 perror \ 130 pr \ 131 printenv \ 132 printf \ 133 procstat \ 134 protect \ 135 rctl \ 136 ${_readelf} \ 137 renice \ 138 rev \ 139 revoke \ 140 rpcinfo \ 141 rs \ 142 rup \ 143 rusers \ 144 rwall \ 145 script \ 146 sed \ 147 send-pr \ 148 seq \ 149 shar \ 150 showmount \ 151 ${_size} \ 152 sockstat \ 153 soelim \ 154 sort \ 155 split \ 156 stat \ 157 stdbuf \ 158 ${_strings} \ 159 su \ 160 systat \ 161 tabs \ 162 tail \ 163 tar \ 164 tcopy \ 165 tee \ 166 ${_tests} \ 167 time \ 168 timeout \ 169 tip \ 170 top \ 171 touch \ 172 tput \ 173 tr \ 174 true \ 175 truncate \ 176 ${_truss} \ 177 tset \ 178 tsort \ 179 tty \ 180 uname \ 181 unexpand \ 182 uniq \ 183 unzip \ 184 units \ 185 unvis \ 186 uudecode \ 187 uuencode \ 188 vis \ 189 vmstat \ 190 w \ 191 wall \ 192 wc \ 193 what \ 194 whereis \ 195 which \ 196 whois \ 197 write \ 198 xargs \ 199 xinstall \ 200 xo \ 201 xz \ 202 xzdec \ 203 yes \ 204 ${_ypcat} \ 205 ${_ypmatch} \ 206 ${_ypwhich} 207 208# NB: keep these sorted by MK_* knobs 209 210.if ${MK_AT} != "no" 211SUBDIR+= at 212.endif 213 214.if ${MK_ATM} != "no" 215SUBDIR+= atm 216.endif 217 218.if ${MK_BLUETOOTH} != "no" 219SUBDIR+= bluetooth 220.endif 221 222.if ${MK_BSD_CPIO} != "no" 223SUBDIR+= cpio 224.endif 225 226.if ${MK_CALENDAR} != "no" 227SUBDIR+= calendar 228.endif 229 230.if ${MK_CLANG} != "no" 231_clang= clang 232.endif 233 234.if ${MK_EE} != "no" 235SUBDIR+= ee 236.endif 237 238.if ${MK_ELFTOOLCHAIN_TOOLS} != "no" 239_addr2line= addr2line 240_cxxfilt= cxxfilt 241_elfcopy= elfcopy 242_nm= nm 243_readelf= readelf 244_size= size 245_strings= strings 246.endif 247 248.if ${MK_FILE} != "no" 249SUBDIR+= file 250.endif 251 252.if ${MK_FINGER} != "no" 253SUBDIR+= finger 254.endif 255 256.if ${MK_FMAKE} != "no" 257SUBDIR+= make 258.endif 259 260.if ${MK_FTP} != "no" 261SUBDIR+= ftp 262.endif 263 264.if ${MK_GPL_DTC} != "yes" 265SUBDIR+= dtc 266.endif 267 268.if ${MK_GROFF} != "no" 269SUBDIR+= vgrind 270.endif 271 272.if ${MK_HESIOD} != "no" 273SUBDIR+= hesinfo 274.endif 275 276.if ${MK_ICONV} != "no" 277_iconv= iconv 278_mkcsmapper= mkcsmapper 279_mkesdb= mkesdb 280.endif 281 282.if ${MK_ISCSI} != "no" 283SUBDIR+= iscsictl 284.endif 285 286.if ${MK_KDUMP} != "no" 287SUBDIR+= kdump 288.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build 289SUBDIR+= truss 290.endif 291.endif 292 293.if ${MK_KERBEROS_SUPPORT} != "no" 294SUBDIR+= compile_et 295.endif 296 297.if ${MK_LDNS_UTILS} != "no" 298SUBDIR+= drill 299SUBDIR+= host 300.endif 301 302.if ${MK_LOCATE} != "no" 303SUBDIR+= locate 304.endif 305 306# XXX msgs? 307.if ${MK_MAIL} != "no" 308SUBDIR+= biff 309SUBDIR+= from 310SUBDIR+= mail 311SUBDIR+= msgs 312.endif 313 314.if ${MK_MAKE} != "no" 315SUBDIR+= bmake 316.endif 317 318.if ${MK_MAN_UTILS} != "no" 319SUBDIR+= catman 320_makewhatis= makewhatis 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