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 numactl \ 121 nohup \ 122 opieinfo \ 123 opiekey \ 124 opiepasswd \ 125 pagesize \ 126 passwd \ 127 paste \ 128 patch \ 129 pathchk \ 130 perror \ 131 pr \ 132 printenv \ 133 printf \ 134 procstat \ 135 protect \ 136 rctl \ 137 ${_readelf} \ 138 renice \ 139 rev \ 140 revoke \ 141 rpcinfo \ 142 rs \ 143 rup \ 144 rusers \ 145 rwall \ 146 script \ 147 sed \ 148 send-pr \ 149 seq \ 150 shar \ 151 showmount \ 152 ${_size} \ 153 sockstat \ 154 soelim \ 155 sort \ 156 split \ 157 stat \ 158 stdbuf \ 159 ${_strings} \ 160 su \ 161 systat \ 162 tabs \ 163 tail \ 164 tar \ 165 tcopy \ 166 tee \ 167 ${_tests} \ 168 time \ 169 timeout \ 170 tip \ 171 top \ 172 touch \ 173 tput \ 174 tr \ 175 true \ 176 truncate \ 177 ${_truss} \ 178 tset \ 179 tsort \ 180 tty \ 181 uname \ 182 unexpand \ 183 uniq \ 184 unzip \ 185 units \ 186 unvis \ 187 uudecode \ 188 uuencode \ 189 vis \ 190 vmstat \ 191 w \ 192 wall \ 193 wc \ 194 what \ 195 whereis \ 196 which \ 197 whois \ 198 write \ 199 xargs \ 200 xinstall \ 201 xo \ 202 xz \ 203 xzdec \ 204 yes \ 205 ${_ypcat} \ 206 ${_ypmatch} \ 207 ${_ypwhich} 208 209# NB: keep these sorted by MK_* knobs 210 211.if ${MK_AT} != "no" 212SUBDIR+= at 213.endif 214 215.if ${MK_ATM} != "no" 216SUBDIR+= atm 217.endif 218 219.if ${MK_BLUETOOTH} != "no" 220SUBDIR+= bluetooth 221.endif 222 223.if ${MK_BSD_CPIO} != "no" 224SUBDIR+= cpio 225.endif 226 227.if ${MK_CALENDAR} != "no" 228SUBDIR+= calendar 229.endif 230 231.if ${MK_CLANG} != "no" 232_clang= clang 233.endif 234 235.if ${MK_EE} != "no" 236SUBDIR+= ee 237.endif 238 239.if ${MK_ELFTOOLCHAIN_TOOLS} != "no" 240_addr2line= addr2line 241_cxxfilt= cxxfilt 242_elfcopy= elfcopy 243_nm= nm 244_readelf= readelf 245_size= size 246_strings= strings 247.endif 248 249.if ${MK_FILE} != "no" 250SUBDIR+= file 251.endif 252 253.if ${MK_FINGER} != "no" 254SUBDIR+= finger 255.endif 256 257.if ${MK_FTP} != "no" 258SUBDIR+= ftp 259.endif 260 261.if ${MK_GPL_DTC} != "yes" 262SUBDIR+= dtc 263.endif 264 265.if ${MK_GROFF} != "no" 266SUBDIR+= vgrind 267.endif 268 269.if ${MK_HESIOD} != "no" 270SUBDIR+= hesinfo 271.endif 272 273.if ${MK_ICONV} != "no" 274_iconv= iconv 275_mkcsmapper= mkcsmapper 276_mkesdb= mkesdb 277.endif 278 279.if ${MK_ISCSI} != "no" 280SUBDIR+= iscsictl 281.endif 282 283.if ${MK_KDUMP} != "no" 284SUBDIR+= kdump 285.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build 286SUBDIR+= truss 287.endif 288.endif 289 290.if ${MK_KERBEROS_SUPPORT} != "no" 291SUBDIR+= compile_et 292.endif 293 294.if ${MK_LDNS_UTILS} != "no" 295SUBDIR+= drill 296SUBDIR+= host 297.endif 298 299.if ${MK_LOCATE} != "no" 300SUBDIR+= locate 301.endif 302 303# XXX msgs? 304.if ${MK_MAIL} != "no" 305SUBDIR+= biff 306SUBDIR+= from 307SUBDIR+= mail 308SUBDIR+= msgs 309.endif 310 311.if ${MK_MAKE} != "no" 312SUBDIR+= bmake 313.endif 314 315.if ${MK_MAN_UTILS} != "no" 316SUBDIR+= catman 317.if ${MK_MANDOCDB} == "no" 318_makewhatis= makewhatis 319.endif 320_man= man 321.endif 322 323.if ${MK_NETCAT} != "no" 324SUBDIR+= nc 325.endif 326 327.if ${MK_NIS} != "no" 328SUBDIR+= ypcat 329SUBDIR+= ypmatch 330SUBDIR+= ypwhich 331.endif 332 333.if ${MK_OPENSSH} != "no" 334SUBDIR+= ssh-copy-id 335.endif 336 337.if ${MK_OPENSSL} != "no" 338SUBDIR+= bc 339SUBDIR+= chkey 340SUBDIR+= dc 341SUBDIR+= newkey 342.endif 343 344.if ${MK_QUOTAS} != "no" 345SUBDIR+= quota 346.endif 347 348.if ${MK_RCMDS} != "no" 349SUBDIR+= rlogin 350SUBDIR+= rsh 351SUBDIR+= ruptime 352SUBDIR+= rwho 353.endif 354 355.if ${MK_SENDMAIL} != "no" 356SUBDIR+= vacation 357.endif 358 359.if ${MK_TALK} != "no" 360SUBDIR+= talk 361.endif 362 363.if ${MK_TELNET} != "no" 364SUBDIR+= telnet 365.endif 366 367.if ${MK_TESTS} != "no" 368_tests= tests 369.endif 370 371.if ${MK_TEXTPROC} != "no" 372SUBDIR+= checknr 373SUBDIR+= colcrt 374SUBDIR+= ul 375.endif 376 377.if ${MK_TFTP} != "no" 378SUBDIR+= tftp 379.endif 380 381.if ${MK_TOOLCHAIN} != "no" 382SUBDIR+= ar 383SUBDIR+= c89 384SUBDIR+= c99 385SUBDIR+= ctags 386SUBDIR+= file2c 387.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build 388SUBDIR+= gprof 389.endif 390SUBDIR+= indent 391SUBDIR+= lex 392SUBDIR+= mkstr 393SUBDIR+= rpcgen 394SUBDIR+= unifdef 395.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build 396SUBDIR+= xlint 397.endif 398SUBDIR+= xstr 399SUBDIR+= yacc 400.endif 401 402.if ${MK_VI} != "no" 403SUBDIR+= vi 404.endif 405 406.if ${MK_VT} != "no" 407SUBDIR+= vtfontcvt 408.endif 409 410.if ${MK_USB} != "no" 411SUBDIR+= usbhidaction 412SUBDIR+= usbhidctl 413.endif 414 415.if ${MK_UTMPX} != "no" 416SUBDIR+= last 417SUBDIR+= users 418SUBDIR+= who 419.endif 420 421.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes" 422SUBDIR+= svn 423.endif 424 425.include <bsd.arch.inc.mk> 426 427SUBDIR:= ${SUBDIR:O} 428 429SUBDIR_PARALLEL= 430 431.include <bsd.subdir.mk> 432