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