NetBSD/usr.bin/Makefile

62 lines
2.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.82 1998/05/25 20:06:39 tv Exp $
1997-03-07 09:14:02 +03:00
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
# # and OBJECT_FMT definition
1997-08-03 00:39:48 +04:00
SUBDIR= apply apropos asa at audioctl banner basename bdes \
biff cal calendar cap_mkdb checknr chflags chpass \
cksum cmp col colcrt colrm column comm compress \
crontab crunch ctags cut dirname du eject env \
error expand false file find finger fmt fold fpr \
from fsplit fstat ftp gencat getconf getopt gprof head \
1997-08-03 00:39:48 +04:00
hexdump id indent ipcrm ipcs join jot kdump ktrace \
lam last lastcomm leave less lex locate lock \
logger login logname look lorder m4 machine mail \
1997-09-27 01:22:33 +04:00
make man menuc mesg mixerctl mkdep mkfifo mkstr modstat \
msgc msgs netstat newsyslog nfsstat nice nohup pagesize \
1997-08-03 00:39:48 +04:00
passwd paste patch pr printenv printf quota rdist \
renice rev rlogin rpcgen rpcinfo rs rsh rup \
1997-08-10 08:10:27 +04:00
ruptime rusers rwall rwho script sed shar shlock \
1997-08-03 00:39:48 +04:00
showmount skey skeyinfo skeyinit soelim split \
su systat tail talk tcopy tee tftp time \
1997-08-03 00:39:48 +04:00
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
1993-03-21 12:45:37 +03:00
.if make(clean) || make(cleandir)
SUBDIR+=elf2aout elf2ecoff elfstrip fdformat ldd strip telnet
.else
# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
# XXX process.
.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || \
defined(EXPORTABLE_SYSTEM)
SUBDIR+=telnet
.endif
# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
# On ELF platforms, build the ELF ldd.
.if (${OBJECT_FMT} != "ELF")
SUBDIR+= strip
.else
SUBDIR+= ldd
.endif
1997-07-16 06:43:35 +04:00
.if (${MACHINE_ARCH} == "i386" || ${MACHINE} == "atari" || \
1997-11-11 03:13:10 +03:00
${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "sparc")
1996-11-29 19:32:18 +03:00
SUBDIR+= fdformat
.endif
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
.if (${MACHINE_ARCH} == "mips")
SUBDIR+= elf2aout elf2ecoff elfstrip
.endif
.endif # make(clean) || make(cleandir)
1993-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>