NetBSD/usr.bin/Makefile
thorpej ab5476b242 Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM).  This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place.  (XXX)
1996-03-10 05:45:38 +00:00

35 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.62 1996/03/10 05:45:43 thorpej Exp $
# from: @(#)Makefile 5.8.1.1 (Berkeley) 5/8/91
SUBDIR= apply apropos asa at banner basename bdes biff cal calendar cap_mkdb \
checknr chflags chpass cksum cmp col colcrt colrm column comm \
compress crontab ctags cut dirname du \
eject env error expand false file find finger fmt fold fpr from \
fsplit fstat ftp gencat getconf getopt head hexdump id indent \
ipcrm ipcs join jot kdump ktrace lam last lastcomm leave less lex \
locate lock logger login logname look lorder m4 machine mail make man \
mesg mkdep mkfifo mkstr modstat msgs netstat newsyslog nfsstat nice \
nohup pagesize passwd paste patch pr printenv printf quota \
rdist renice rev rlogin rpcgen rpcinfo rs \
rsh rup ruptime rusers rwall rwho \
script sed shar showmount skey skeyinit soelim split strings \
su systat tail talk tcopy tee tftp time \
tip tn3270 touch tput tr true tset tsort tty ul uname unexpand \
unifdef uniq units unvis users uudecode uuencode \
vacation vgrind vi vis vmstat w wall wc what whatis whereis \
which who whois window write \
xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
# XXX process.
.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || defined(EXPORTABLE_SYSTEM)
SUBDIR+=telnet
.endif
# Don't use the standard tool chain on the alpha.
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips")
SUBDIR+= ar gprof nm ranlib size strip
.endif
.include <bsd.subdir.mk>