1997-11-11 03:13:10 +03:00
|
|
|
# $NetBSD: Makefile,v 1.79 1997/11/11 00:13:10 scottr Exp $
|
1997-03-07 09:14:02 +03:00
|
|
|
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
|
1993-03-23 05:05:06 +03:00
|
|
|
|
1996-06-14 21:22:05 +04:00
|
|
|
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM 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 head \
|
|
|
|
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 \
|
|
|
|
strings su systat tail talk tcopy tee 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
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-04-09 10:23:40 +04:00
|
|
|
.if make(clean) || make(cleandir)
|
|
|
|
SUBDIR+=ar elf2aout elf2ecoff elfstrip fdformat \
|
|
|
|
gprof ldd nm ranlib size strip telnet
|
|
|
|
.else
|
|
|
|
|
1996-03-10 08:45:38 +03:00
|
|
|
# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
|
|
|
|
# XXX process.
|
1997-04-09 10:23:40 +04:00
|
|
|
.if !exists(${.CURDIR}/../domestic/usr.bin/telnet) || \
|
|
|
|
defined(EXPORTABLE_SYSTEM)
|
1996-03-10 08:45:38 +03:00
|
|
|
SUBDIR+=telnet
|
|
|
|
.endif
|
|
|
|
|
1996-12-17 08:39:35 +03:00
|
|
|
# Don't use the standard a.out tool chain on non-aout (ELF) platforms.
|
|
|
|
# On ELF platforms, build the ELF ldd.
|
1997-04-19 09:17:45 +04:00
|
|
|
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \
|
|
|
|
${MACHINE_ARCH} != "powerpc")
|
1995-04-24 11:38:09 +04:00
|
|
|
SUBDIR+= ar gprof nm ranlib size strip
|
1996-12-17 08:39:35 +03:00
|
|
|
.else
|
|
|
|
SUBDIR+= ldd
|
1995-04-24 11:38:09 +04:00
|
|
|
.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
|
|
|
|
|
1996-12-17 08:39:35 +03:00
|
|
|
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
|
|
|
|
.if (${MACHINE_ARCH} == "mips")
|
|
|
|
SUBDIR+= elf2aout elf2ecoff elfstrip
|
1996-12-16 23:00:26 +03:00
|
|
|
.endif
|
|
|
|
|
1997-04-09 10:23:40 +04:00
|
|
|
.endif # make(clean) || make(cleandir)
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.subdir.mk>
|