Makefile revision 1.68
11.68Smikel#	$NetBSD: Makefile,v 1.68 1997/03/07 06:14:02 mikel Exp $
21.68Smikel#	from: @(#)Makefile	8.3 (Berkeley) 1/7/94
31.63Scgd
41.63Scgd.include <bsd.own.mk>			# for EXPORTABLE_SYSTEM definition
51.1Scgd
61.68SmikelSUBDIR=	apply apropos asa at banner basename bdes biff cal calendar \
71.68Smikel	cap_mkdb checknr chflags chpass cksum cmp col colcrt colrm column \
81.68Smikel	comm compress crontab ctags cut dirname du \
91.58Spk	eject env error expand false file find finger fmt fold fpr from \
101.48Scgd	fsplit fstat ftp gencat getconf getopt head hexdump id indent \
111.61Smrg	ipcrm ipcs join jot kdump ktrace lam last lastcomm leave less lex \
121.61Smrg	locate lock logger login logname look lorder m4 machine mail make man \
131.61Smrg	mesg mkdep mkfifo mkstr modstat msgs netstat newsyslog nfsstat nice \
141.50Scgd	nohup pagesize passwd paste patch pr printenv printf quota \
151.56Stls	rdist renice rev rlogin rpcgen rpcinfo rs \
161.22Sbrezak	rsh rup ruptime rusers rwall rwho \
171.48Scgd	script sed shar showmount skey skeyinit soelim split strings \
181.62Sthorpej	su systat tail talk tcopy tee tftp time \
191.18Scgd	tip tn3270 touch tput tr true tset tsort tty ul uname unexpand \
201.32Scgd	unifdef uniq units unvis users uudecode uuencode \
211.35Scgd	vacation vgrind vi vis vmstat w wall wc what whatis whereis \
221.41Scgd	which who whois window write \
231.51Scgd	xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
241.62Sthorpej
251.62Sthorpej# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
261.62Sthorpej# XXX process.
271.62Sthorpej.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || defined(EXPORTABLE_SYSTEM)
281.62SthorpejSUBDIR+=telnet
291.62Sthorpej.endif
301.48Scgd
311.66Sjonathan# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
321.66Sjonathan# On ELF platforms, build the  ELF ldd.
331.60Sjtc.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips")
341.48ScgdSUBDIR+= ar gprof nm ranlib size strip
351.66Sjonathan.else
361.66SjonathanSUBDIR+= ldd
371.64Sjtk.endif
381.64Sjtk
391.67Sleo.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "atari")
401.64SjtkSUBDIR+= fdformat
411.65Scgd.endif
421.65Scgd
431.66Sjonathan# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
441.66Sjonathan.if (${MACHINE_ARCH} == "mips")
451.66SjonathanSUBDIR+= elf2aout elf2ecoff elfstrip
461.48Scgd.endif
471.1Scgd
481.1Scgd.include <bsd.subdir.mk>
49