=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/Makefile,v retrieving revision 1.1 retrieving revision 1.72 diff -u -r1.1 -r1.72 --- src/usr.bin/Makefile 1995/10/18 08:44:52 1.1 +++ src/usr.bin/Makefile 2001/09/10 22:41:55 1.72 @@ -1,31 +1,37 @@ -# from: @(#)Makefile 5.8.1.1 (Berkeley) 5/8/91 -# $Id: Makefile,v 1.1 1995/10/18 08:44:52 deraadt Exp $ +# $OpenBSD: Makefile,v 1.72 2001/09/10 22:41:55 art Exp $ -SUBDIR= apply apropos asa at banner basename bdes biff cal calendar cap_mkdb \ - checknr chflags chpass cksum cmp col colcrt colrm column comm \ - compress crontab ctags cut dirname du \ - env error expand false file find finger fmt fold fpr from \ - fsplit fstat ftp gencat getconf getopt head hexdump id indent \ - ipcrm ipcs join jot kdump ktrace lam last lastcomm leave lex locate \ - lock logger login logname look lorder m4 machine mail make man mesg \ - mkdep mkfifo mkstr modstat more msgs netstat newsyslog nfsstat nice \ - nohup pagesize passwd paste patch pr printenv printf quota \ - rdist renice rev rlogin rpcgen rpcinfo rs \ - rsh rup ruptime rusers rwall rwho \ - script sed shar showmount skey skeyinit soelim split strings \ - su systat tail talk tcopy tee telnet tftp time \ - tip tn3270 touch tput tr true tset tsort tty ul uname unexpand \ - unifdef uniq units unvis users uudecode uuencode \ - vacation vgrind vi vis vmstat w wall wc what whatis whereis \ - which who whois window write \ - xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich +.include -# Don't use the standard tool chain on the alpha. -.if (${MACHINE_ARCH} != "alpha") -SUBDIR+= ar gprof nm ranlib size strip +SUBDIR= apply apropos arch asa at aucat audioctl awk banner basename bdes \ + biff cal calendar cap_mkdb cdio checknr chpass cksum cmp col \ + colcrt colrm column comm compile_et compress cpp crontab ctags cut \ + dirname du elf2olf encrypt env error expand false file file2c find \ + finger fmt fold from fsplit fstat ftp gencat getconf getopt gprof \ + head hexdump id indent infocmp ipcrm ipcs join jot kdump keynote \ + ktrace lam last lastcomm leave less lex lndir locate lock logger \ + login logname look lorder m4 mail make man mesg mg midiplay mixerctl \ + mkdep mkstr mktemp modstat msgs nc netstat newsyslog nfsstat nice \ + nohup oldrdist pagesize passwd paste patch pctr pr printenv printf \ + quota rdist rdistd readlink renice rev rlogin rpcgen rpcinfo rs rsh \ + rup ruptime rusers rwall rwho script sectok sed shar showmount skey \ + skeyaudit skeyinfo skeyinit sort split ssh su sup systat sudo tail \ + talk tcopy tee telnet tftp tic time tip tn3270 top touch tput tr true \ + tset tsort tty usbhidctl ul uname unexpand unifdef uniq units unvis users \ + uudecode uuencode vacation vgrind vi vis vmstat w wall wc what whatis \ + which who whois window write x99token xargs xinstall xlint xstr yacc yes + +.if (${YP:L} == "yes") +SUBDIR+=ypcat ypmatch ypwhich .endif -.if (${MACHINE_ARCH} == "sparc") -SUBDIR+= fdeject + +# Don't use the standard tool chain on the alpha, powerpc, and hppa. +.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "powerpc" && \ + ${MACHINE_ARCH} != "hppa" && ${MACHINE_ARCH} != "sparc64") +SUBDIR+= ar nm ranlib size strip strings +.endif + +.if make(clean) || make(cleandir) || make(obj) +SUBDIR+= elf2ecoff elf2aout .endif .include