Makefile revision 1.70
1#	$NetBSD: Makefile,v 1.70 1997/04/19 05:17:45 thorpej 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.if	make(clean) || make(cleandir)
26SUBDIR+=ar elf2aout elf2ecoff elfstrip fdformat \
27	gprof ldd nm ranlib size strip telnet
28.else
29
30# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
31# XXX process.
32.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || \
33    defined(EXPORTABLE_SYSTEM)
34SUBDIR+=telnet
35.endif
36
37# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
38# On ELF platforms, build the  ELF ldd.
39.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \
40     ${MACHINE_ARCH} != "powerpc")
41SUBDIR+= ar gprof nm ranlib size strip
42.else
43SUBDIR+= ldd
44.endif
45
46.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "atari")
47SUBDIR+= fdformat
48.endif
49
50# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
51.if (${MACHINE_ARCH} == "mips")
52SUBDIR+= elf2aout elf2ecoff elfstrip
53.endif
54
55.endif	# make(clean) || make(cleandir)
56
57.include <bsd.subdir.mk>
58