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