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