Makefile revision 279506
165557Sjasone# From: @(#)Makefile 8.3 (Berkeley) 1/7/94 265557Sjasone# $FreeBSD: stable/10/usr.bin/Makefile 279506 2015-03-01 22:07:54Z ngie $ 365557Sjasone 465557Sjasone.include <bsd.own.mk> 565557Sjasone 665557Sjasone# XXX MISSING: deroff diction graph learn plot 765557Sjasone# spell spline struct xsend 865557Sjasone# XXX Use GNU versions: diff ld patch 965557Sjasone# Moved to secure: bdes 1065557Sjasone# 1165557Sjasone 1265557SjasoneSUBDIR= alias \ 1365557Sjasone apply \ 1465557Sjasone asa \ 1565557Sjasone awk \ 1665557Sjasone banner \ 1765557Sjasone basename \ 1865557Sjasone brandelf \ 1965557Sjasone bsdiff \ 2065557Sjasone bzip2 \ 2165557Sjasone bzip2recover \ 2265557Sjasone cap_mkdb \ 2365557Sjasone chat \ 2465557Sjasone chpass \ 2565557Sjasone cksum \ 2665557Sjasone ${_clang} \ 2765557Sjasone cmp \ 2865557Sjasone col \ 2967352Sjhb colldef \ 3065557Sjasone colrm \ 3165557Sjasone column \ 3265557Sjasone comm \ 3365557Sjasone compress \ 3486411Sjhb cpuset \ 3572200Sbmilekic csplit \ 3672200Sbmilekic ctlstat \ 3768790Sjhb cut \ 3867676Sjhb dirname \ 3965557Sjasone dpv \ 4093609Sdes du \ 4167352Sjhb elf2aout \ 4267352Sjhb elfdump \ 4393609Sdes enigma \ 4476166Smarkm env \ 4567352Sjhb expand \ 4674912Sjhb false \ 4765557Sjasone fetch \ 4878766Sjhb find \ 4993609Sdes fmt \ 5067676Sjhb fold \ 5167352Sjhb fstat \ 5265557Sjasone fsync \ 5367352Sjhb gcore \ 5467352Sjhb gencat \ 5567352Sjhb getconf \ 5665557Sjasone getent \ 5767352Sjhb getopt \ 5868790Sjhb grep \ 5968790Sjhb gzip \ 6067352Sjhb head \ 6167352Sjhb hexdump \ 6267352Sjhb ${_iconv} \ 6365557Sjasone id \ 6472200Sbmilekic ipcrm \ 6571352Sjasone ipcs \ 6672200Sbmilekic join \ 6771352Sjasone jot \ 6872200Sbmilekic ${_kdump} \ 6983366Sjulian keylogin \ 7071352Sjasone keylogout \ 7171352Sjasone killall \ 7274912Sjhb ktrace \ 7371352Sjasone ktrdump \ 7474912Sjhb lam \ 7574912Sjhb lastcomm \ 7674912Sjhb ldd \ 7774912Sjhb leave \ 7874912Sjhb less \ 7974912Sjhb lessecho \ 8074912Sjhb lesskey \ 8174912Sjhb limits \ 8271352Sjasone locale \ 8371352Sjasone lock \ 8493702Sjhb lockf \ 8593702Sjhb logger \ 8693702Sjhb login \ 8793702Sjhb logins \ 8893702Sjhb logname \ 8993702Sjhb look \ 9072200Sbmilekic lorder \ 9172200Sbmilekic lsvfs \ 9283366Sjulian lzmainfo \ 9367352Sjhb m4 \ 9467352Sjhb ${_makewhatis} \ 9583366Sjulian ${_man} \ 9667352Sjhb mandoc \ 9790538Sjulian mesg \ 9883366Sjulian minigzip \ 9967352Sjhb ministat \ 10069376Sjhb ${_mkcsmapper} \ 10167352Sjhb mkdep \ 10283366Sjulian ${_mkesdb} \ 10367352Sjhb mkfifo \ 10483366Sjulian mkimg \ 10567352Sjhb mklocale \ 10683366Sjulian mktemp \ 10767352Sjhb mkulzma \ 10867352Sjhb mkuzip \ 10983366Sjulian mt \ 11067352Sjhb ncal \ 11167352Sjhb netstat \ 11267352Sjhb newgrp \ 11367352Sjhb nfsstat \ 11467352Sjhb nice \ 11572200Sbmilekic nl \ 11683366Sjulian nohup \ 11783366Sjulian opieinfo \ 11890538Sjulian opiekey \ 11967352Sjhb opiepasswd \ 12069376Sjhb pagesize \ 12167352Sjhb passwd \ 12283366Sjulian paste \ 12369376Sjhb patch \ 12490538Sjulian pathchk \ 12569376Sjhb perror \ 12669376Sjhb pr \ 12767352Sjhb printenv \ 12867352Sjhb printf \ 12983366Sjulian procstat \ 13083366Sjulian protect \ 13183366Sjulian rctl \ 13283366Sjulian renice \ 13383366Sjulian rev \ 13467352Sjhb revoke \ 13567352Sjhb rpcinfo \ 13672376Sjake rs \ 13773912Sjhb rup \ 13867352Sjhb rusers \ 13983366Sjulian rwall \ 14073912Sjhb script \ 14173912Sjhb sed \ 14283366Sjulian send-pr \ 14373912Sjhb seq \ 14473912Sjhb shar \ 14573912Sjhb showmount \ 14683366Sjulian sockstat \ 14783366Sjulian sort \ 14883366Sjulian split \ 14967352Sjhb stat \ 15083366Sjulian stdbuf \ 15183366Sjulian su \ 15283366Sjulian systat \ 15383366Sjulian tabs \ 15467352Sjhb tail \ 15567352Sjhb tar \ 15667352Sjhb tcopy \ 15767352Sjhb tee \ 15869376Sjhb ${_tests} \ 15967352Sjhb time \ 16083366Sjulian tip \ 16169376Sjhb top \ 16283366Sjulian touch \ 16374912Sjhb tput \ 16467352Sjhb tr \ 16567352Sjhb true \ 16683366Sjulian truncate \ 16767352Sjhb ${_truss} \ 16883366Sjulian tset \ 16967352Sjhb tsort \ 17067352Sjhb tty \ 17167352Sjhb uname \ 17283366Sjulian unexpand \ 17367352Sjhb uniq \ 17467352Sjhb unzip \ 17583366Sjulian units \ 17669376Sjhb unvis \ 17769376Sjhb uudecode \ 17872200Sbmilekic uuencode \ 17983366Sjulian vi \ 18090538Sjulian vis \ 18167352Sjhb vmstat \ 18267352Sjhb w \ 18367352Sjhb wall \ 18467352Sjhb wc \ 18583366Sjulian what \ 18683366Sjulian whereis \ 18783366Sjulian which \ 18883366Sjulian whois \ 18983366Sjulian write \ 19067352Sjhb xargs \ 19183366Sjulian xinstall \ 19283366Sjulian ${_xlint} \ 19383366Sjulian ${_xstr} \ 19490538Sjulian xz \ 19567352Sjhb xzdec \ 19667352Sjhb ${_yacc} \ 19772200Sbmilekic yes \ 19883366Sjulian ${_ypcat} \ 19983366Sjulian ${_ypmatch} \ 20067352Sjhb ${_ypwhich} 20171560Sjhb 20283366Sjulian# NB: keep these sorted by MK_* knobs 20367352Sjhb 20467352Sjhb.if ${MK_AT} != "no" 20567352SjhbSUBDIR+= at 20693609Sdes.endif 20793609Sdes 20893609Sdes.if ${MK_ATM} != "no" 20993609SdesSUBDIR+= atm 21093609Sdes.endif 21193609Sdes 21293609Sdes.if ${MK_BLUETOOTH} != "no" 21393609SdesSUBDIR+= bluetooth 21493609Sdes.endif 21593609Sdes 21693609Sdes.if ${MK_BSD_CPIO} != "no" 21793609SdesSUBDIR+= cpio 21893609Sdes.endif 21993609Sdes 22093609Sdes.if ${MK_CALENDAR} != "no" 22193667SdesSUBDIR+= calendar 22293705Sdes.endif 22393609Sdes 22493609Sdes.if ${MK_CLANG} != "no" 22571352Sjasone_clang= clang 22693609Sdes.endif 22793609Sdes 22893609Sdes.if ${MK_EE} != "no" 22993609SdesSUBDIR+= ee 23093609Sdes.endif 23193705Sdes 23293609Sdes.if ${MK_FILE} != "no" 23393609SdesSUBDIR+= file 23493705Sdes.endif 23593609Sdes 23693609Sdes.if ${MK_FINGER} != "no" 23793609SdesSUBDIR+= finger 23893609Sdes.endif 23993609Sdes 24093609Sdes.if ${MK_FTP} != "no" 24193609SdesSUBDIR+= ftp 24293609Sdes.endif 24393609Sdes 24493609Sdes.if ${MK_GPL_DTC} != "yes" 24593609SdesSUBDIR+= dtc 24693609Sdes.endif 24793609Sdes 24893609Sdes.if ${MK_GROFF} != "no" 24993609SdesSUBDIR+= vgrind 25093609Sdes.endif 25193609Sdes 25293609Sdes.if ${MK_HESIOD} != "no" 25393609SdesSUBDIR+= hesinfo 25493609Sdes.endif 25593609Sdes 25693609Sdes.if ${MK_ICONV} != "no" 25793609Sdes_iconv= iconv 25893609Sdes_mkcsmapper= mkcsmapper 25993609Sdes_mkesdb= mkesdb 26093705Sdes.endif 26193609Sdes 26293667Sdes.if ${MK_ISCSI} != "no" 26393667SdesSUBDIR+= iscsictl 26493667Sdes.endif 26593667Sdes 26693667Sdes.if ${MK_KDUMP} != "no" 26793667SdesSUBDIR+= kdump 26893667SdesSUBDIR+= truss 26993667Sdes.endif 27093667Sdes 27193609Sdes.if ${MK_KERBEROS_SUPPORT} != "no" 27293609SdesSUBDIR+= compile_et 27393609Sdes.endif 27493609Sdes 27593609Sdes.if ${MK_LDNS_UTILS} != "no" 27693609SdesSUBDIR+= drill 27793609SdesSUBDIR+= host 27893609Sdes.endif 27993609Sdes 28093609Sdes.if ${MK_LIBTHR} != "no" 28193609SdesSUBDIR+= csup 28293609Sdes.endif 28393609Sdes 28493609Sdes.if ${MK_LOCATE} != "no" 28593609SdesSUBDIR+= locate 28693609Sdes.endif 28793667Sdes 28893667Sdes# XXX msgs? 28993667Sdes.if ${MK_MAIL} != "no" 29093667SdesSUBDIR+= biff 29193609SdesSUBDIR+= from 29293609SdesSUBDIR+= mail 29393609SdesSUBDIR+= msgs 29493609Sdes.endif 29593609Sdes 29693609Sdes.if ${MK_MAKE} != "no" 29793609Sdes.if ${MK_BMAKE} != "no" 29893609SdesSUBDIR+= bmake 29993609Sdes.else 30093609SdesSUBDIR+= make 30193609Sdes.endif 30293609Sdes.endif 30374900Sjhb 30474900Sjhb.if ${MK_MAN_UTILS} != "no" 30574900SjhbSUBDIR+= catman 30674900Sjhb_makewhatis= makewhatis 30774900Sjhb_man= man 30874900Sjhb.endif 30974900Sjhb 31083841Sjhb.if ${MK_NETCAT} != "no" 31183841SjhbSUBDIR+= nc 31283841Sjhb.endif 31383841Sjhb 31483841Sjhb.if ${MK_NIS} != "no" 31593609SdesSUBDIR+= ypcat 31693609SdesSUBDIR+= ypmatch 31793667SdesSUBDIR+= ypwhich 31893609Sdes.endif 31993609Sdes 32093667Sdes.if ${MK_OPENSSH} != "no" 32193609SdesSUBDIR+= ssh-copy-id 32293609Sdes.endif 32393609Sdes 32474900Sjhb.if ${MK_OPENSSL} != "no" 32574900SjhbSUBDIR+= bc 32674900SjhbSUBDIR+= chkey 32774900SjhbSUBDIR+= dc 32874900SjhbSUBDIR+= newkey 32974900Sjhb.endif 33083841Sjhb 33183947Sjhb.if ${MK_QUOTAS} != "no" 33293609SdesSUBDIR+= quota 33393667Sdes.endif 33493609Sdes 33593609Sdes.if ${MK_RCMDS} != "no" 33693667SdesSUBDIR+= rlogin 33793609SdesSUBDIR+= rsh 33893705SdesSUBDIR+= ruptime 33993609SdesSUBDIR+= rwho 34093667Sdes.endif 34193667Sdes 34293667Sdes.if ${MK_SENDMAIL} != "no" 34393667SdesSUBDIR+= vacation 34493609Sdes.endif 34593609Sdes 34693609Sdes.if ${MK_TALK} != "no" 34793609SdesSUBDIR+= talk 34893609Sdes.endif 34993609Sdes 35093609Sdes.if ${MK_TELNET} != "no" 35193609SdesSUBDIR+= telnet 35293705Sdes.endif 35393609Sdes 35493609Sdes.if ${MK_TESTS} != "no" 35593609Sdes_tests= tests 35693609Sdes.endif 35793609Sdes 35893609Sdes.if ${MK_TEXTPROC} != "no" 35993609SdesSUBDIR+= checknr 36093609SdesSUBDIR+= colcrt 36193609SdesSUBDIR+= ul 36293609Sdes.endif 36393609Sdes 36493609Sdes.if ${MK_TFTP} != "no" 36593705SdesSUBDIR+= tftp 36693705Sdes.endif 36793705Sdes 36893705Sdes.if ${MK_TOOLCHAIN} != "no" 36993609SdesSUBDIR+= ar 37093609SdesSUBDIR+= c89 37193609SdesSUBDIR+= c99 37293609SdesSUBDIR+= ctags 37393609SdesSUBDIR+= file2c 37493609SdesSUBDIR+= gprof 37593667SdesSUBDIR+= indent 37693667SdesSUBDIR+= lex 37793667SdesSUBDIR+= mkstr 37893667SdesSUBDIR+= rpcgen 37993667SdesSUBDIR+= unifdef 38093667SdesSUBDIR+= xlint 38193609SdesSUBDIR+= xstr 38293609SdesSUBDIR+= yacc 38393609Sdes.endif 38493609Sdes 38593609Sdes.if ${MK_VT} != "no" 38683841SjhbSUBDIR+= vtfontcvt 38783841Sjhb.endif 38883841Sjhb 38983841Sjhb.if ${MK_USB} != "no" 39074900SjhbSUBDIR+= usbhidaction 39174900SjhbSUBDIR+= usbhidctl 39274900Sjhb.endif 39374900Sjhb 39474900Sjhb.if ${MK_UTMPX} != "no" 39574900SjhbSUBDIR+= last 39683841SjhbSUBDIR+= users 39783841SjhbSUBDIR+= who 39883841Sjhb.endif 39983841Sjhb 40083841Sjhb.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes" 40174900SjhbSUBDIR+= svn 40274900Sjhb.endif 40374900Sjhb 40474900Sjhb.include <bsd.arch.inc.mk> 40574900Sjhb 40674900SjhbSUBDIR:= ${SUBDIR:O} 40783841Sjhb 40883947SjhbSUBDIR_PARALLEL= 40983841Sjhb 41083841Sjhb.include <bsd.subdir.mk> 41183841Sjhb