Makefile revision 1.68
1#	$NetBSD: Makefile,v 1.68 1997/03/07 06:14:02 mikel Exp $
2#	from: @(#)Makefile	8.3 (Berkeley) 1/7/94
3
4.include <bsd.own.mk>			# for EXPORTABLE_SYSTEM definition
5
6SUBDIR=	apply apropos asa at banner basename bdes biff cal calendar \
7	cap_mkdb checknr chflags chpass cksum cmp col colcrt colrm column \
8	comm compress crontab ctags cut dirname du \
9	eject env error expand false file find finger fmt fold fpr from \
10	fsplit fstat ftp gencat getconf getopt head hexdump id indent \
11	ipcrm ipcs join jot kdump ktrace lam last lastcomm leave less lex \
12	locate lock logger login logname look lorder m4 machine mail make man \
13	mesg mkdep mkfifo mkstr modstat msgs netstat newsyslog nfsstat nice \
14	nohup pagesize passwd paste patch pr printenv printf quota \
15	rdist renice rev rlogin rpcgen rpcinfo rs \
16	rsh rup ruptime rusers rwall rwho \
17	script sed shar showmount skey skeyinit soelim split strings \
18	su systat tail talk tcopy tee tftp time \
19	tip tn3270 touch tput tr true tset tsort tty ul uname unexpand \
20	unifdef uniq units unvis users uudecode uuencode \
21	vacation vgrind vi vis vmstat w wall wc what whatis whereis \
22	which who whois window write \
23	xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
24
25# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
26# XXX process.
27.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || defined(EXPORTABLE_SYSTEM)
28SUBDIR+=telnet
29.endif
30
31# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
32# On ELF platforms, build the  ELF ldd.
33.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips")
34SUBDIR+= ar gprof nm ranlib size strip
35.else
36SUBDIR+= ldd
37.endif
38
39.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "atari")
40SUBDIR+= fdformat
41.endif
42
43# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
44.if (${MACHINE_ARCH} == "mips")
45SUBDIR+= elf2aout elf2ecoff elfstrip
46.endif
47
48.include <bsd.subdir.mk>
49