1 1.81 jonathan # $NetBSD: Makefile,v 1.81 1998/02/23 10:09:32 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.75 perry SUBDIR= apply apropos asa at audioctl banner basename bdes \ 8 1.75 perry biff 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.77 phil make man menuc mesg 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.75 perry showmount skey skeyinfo skeyinit soelim split \ 22 1.75 perry strings su systat tail talk tcopy tee tftp time \ 23 1.75 perry tip tn3270 touch tput tr true tset tsort tty ul \ 24 1.75 perry uname unexpand unifdef uniq units unvis 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.69 mikel .if make(clean) || make(cleandir) 31 1.69 mikel SUBDIR+=ar elf2aout elf2ecoff elfstrip fdformat \ 32 1.80 jonathan ldd nm ranlib size strip telnet 33 1.69 mikel .else 34 1.69 mikel 35 1.62 thorpej # XXX Keep telnet(1) and libtelnet from getting out of sync during the build 36 1.62 thorpej # XXX process. 37 1.69 mikel .if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || \ 38 1.69 mikel defined(EXPORTABLE_SYSTEM) 39 1.62 thorpej SUBDIR+=telnet 40 1.62 thorpej .endif 41 1.48 cgd 42 1.66 jonathan # Don't use the standard a.out tool chain on non-aout (ELF) platforms. 43 1.66 jonathan # On ELF platforms, build the ELF ldd. 44 1.81 jonathan .if (${OBJECT_FMT} != "ELF") 45 1.80 jonathan SUBDIR+= ar 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.79 scottr ${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