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