1 # $NetBSD: Makefile,v 1.66 1996/12/17 05:39:35 jonathan Exp $ 2 # from: @(#)Makefile 5.8.1.1 (Berkeley) 5/8/91 3 4 .include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition 5 6 SUBDIR= apply apropos asa at banner basename bdes biff cal calendar cap_mkdb \ 7 checknr chflags chpass cksum cmp col colcrt colrm column comm \ 8 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 # XXX Keep telnet(1) and libtelnet from getting out of sync during the build 26 # XXX process. 27 .if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || defined(EXPORTABLE_SYSTEM) 28 SUBDIR+=telnet 29 .endif 30 31 # Don't use the standard a.out tool chain on non-aout (ELF) platforms. 32 # On ELF platforms, build the ELF ldd. 33 .if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips") 34 SUBDIR+= ar gprof nm ranlib size strip 35 .else 36 SUBDIR+= ldd 37 .endif 38 39 .if (${MACHINE_ARCH} == "i386") 40 SUBDIR+= fdformat 41 .endif 42 43 # Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs. 44 .if (${MACHINE_ARCH} == "mips") 45 SUBDIR+= elf2aout elf2ecoff elfstrip 46 .endif 47 48 .include <bsd.subdir.mk> 49