1997-05-13 21:35:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.71 1997/05/13 17:35:50 augustss 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-05-13 21:35:50 +04:00
|
|
|
SUBDIR= apply apropos asa at audioctl banner basename bdes biff cal calendar \
|
1997-03-07 09:14:02 +03:00
|
|
|
cap_mkdb checknr chflags chpass cksum cmp col colcrt colrm column \
|
|
|
|
comm compress crontab ctags cut dirname du \
|
1995-10-22 19:54:40 +03:00
|
|
|
eject env error expand false file find finger fmt fold fpr from \
|
1995-04-24 11:38:09 +04:00
|
|
|
fsplit fstat ftp gencat getconf getopt head hexdump id indent \
|
1996-01-22 07:07:22 +03:00
|
|
|
ipcrm ipcs join jot kdump ktrace lam last lastcomm leave less lex \
|
|
|
|
locate lock logger login logname look lorder m4 machine mail make man \
|
1997-05-13 21:35:50 +04:00
|
|
|
mesg mixerctl mkdep mkfifo mkstr modstat msgs netstat newsyslog \
|
|
|
|
nfsstat nice nohup pagesize passwd paste patch pr printenv printf \
|
|
|
|
quota rdist renice rev rlogin rpcgen rpcinfo rs \
|
1993-06-03 23:32:26 +04:00
|
|
|
rsh rup ruptime rusers rwall rwho \
|
1995-04-24 11:38:09 +04:00
|
|
|
script sed shar showmount skey skeyinit soelim split strings \
|
1996-03-10 08:45:38 +03:00
|
|
|
su systat tail talk tcopy tee tftp time \
|
1993-05-06 14:46:12 +04:00
|
|
|
tip tn3270 touch tput tr true tset tsort tty ul uname unexpand \
|
1993-12-21 05:54:58 +03:00
|
|
|
unifdef uniq units unvis users uudecode uuencode \
|
1994-01-24 09:01:02 +03:00
|
|
|
vacation vgrind vi vis vmstat w wall wc what whatis whereis \
|
1994-05-06 03:05:09 +04:00
|
|
|
which who whois window write \
|
1995-07-04 00:57:38 +04:00
|
|
|
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-01-09 00:41:22 +03:00
|
|
|
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "atari")
|
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>
|