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