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