Makefile revision 1.85
11.85Saugustss#	$NetBSD: Makefile,v 1.85 1998/08/12 21:39:11 augustss Exp $
21.68Smikel#	from: @(#)Makefile	8.3 (Berkeley) 1/7/94
31.63Scgd
41.63Scgd.include <bsd.own.mk>			# for EXPORTABLE_SYSTEM definition
51.81Sjonathan#					# and OBJECT_FMT definition
61.1Scgd
71.75SperrySUBDIR=	apply apropos asa at audioctl banner basename bdes \
81.75Sperry	biff cal calendar cap_mkdb checknr chflags chpass \
91.75Sperry	cksum cmp col colcrt colrm column comm compress \
101.75Sperry	crontab crunch ctags cut dirname du eject env \
111.75Sperry	error expand false file find finger fmt fold fpr \
121.80Sjonathan	from fsplit fstat ftp gencat getconf getopt gprof head \
131.75Sperry	hexdump id indent ipcrm ipcs join jot kdump ktrace \
141.75Sperry	lam last lastcomm leave less lex locate lock \
151.75Sperry	logger login logname look lorder m4 machine mail \
161.85Saugustss	make man menuc mesg midiplay mixerctl mkdep mkfifo mkstr modstat \
171.77Sphil	msgc msgs netstat newsyslog nfsstat nice nohup pagesize \
181.75Sperry	passwd paste patch pr printenv printf quota rdist \
191.75Sperry	renice rev rlogin rpcgen rpcinfo rs rsh rup \
201.76Sfair	ruptime rusers rwall rwho script sed shar shlock \
211.75Sperry	showmount skey skeyinfo skeyinit soelim split \
221.84Sscottr	su systat tail talk tcopy tee telnet tftp time \
231.75Sperry	tip tn3270 touch tput tr true tset tsort tty ul \
241.83Saugustss	uname unexpand unifdef uniq units unvis usbhidctl users \
251.75Sperry	uudecode uuencode vacation vgrind vi vis vmstat w \
261.75Sperry	wall wc what whatis whereis which who whois window \
271.75Sperry	write xargs xinstall xlint xstr yacc yes ypcat \
281.75Sperry	ypmatch ypwhich
291.62Sthorpej
301.69Smikel.if	make(clean) || make(cleandir)
311.82StvSUBDIR+=elf2aout elf2ecoff elfstrip fdformat ldd strip telnet
321.69Smikel.else
331.48Scgd
341.66Sjonathan# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
351.66Sjonathan# On ELF platforms, build the  ELF ldd.
361.81Sjonathan.if (${OBJECT_FMT} != "ELF")
371.82StvSUBDIR+= strip
381.66Sjonathan.else
391.66SjonathanSUBDIR+= ldd
401.64Sjtk.endif
411.64Sjtk
421.74Smark.if (${MACHINE_ARCH} == "i386" || ${MACHINE} == "atari" || \
431.79Sscottr     ${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "sparc")
441.64SjtkSUBDIR+= fdformat
451.65Scgd.endif
461.65Scgd
471.66Sjonathan# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
481.66Sjonathan.if (${MACHINE_ARCH} == "mips")
491.66SjonathanSUBDIR+= elf2aout elf2ecoff elfstrip
501.48Scgd.endif
511.69Smikel
521.69Smikel.endif	# make(clean) || make(cleandir)
531.1Scgd
541.1Scgd.include <bsd.subdir.mk>
55