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