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