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