1998-09-30 02:43:51 +04:00
|
|
|
# $NetBSD: Makefile,v 1.88 1998/09/29 22:43:51 jonathan 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
|
1998-02-23 13:09:31 +03:00
|
|
|
# # and OBJECT_FMT definition
|
1996-06-14 21:22:05 +04:00
|
|
|
|
1998-09-30 02:43:51 +04:00
|
|
|
SUBDIR= apply apropos asa at audioctl banner basename bdes biff \
|
|
|
|
bzip2 bzip2recover cal calendar cap_mkdb checknr chflags chpass \
|
1997-08-03 00:39:48 +04:00
|
|
|
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 \
|
1998-02-23 04:03:25 +03:00
|
|
|
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 \
|
1998-08-13 01:39:11 +04:00
|
|
|
make man menuc mesg midiplay mixerctl mkdep mkfifo mkstr modstat \
|
1997-09-27 01:22:33 +04:00
|
|
|
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 \
|
1998-09-24 01:07:47 +04:00
|
|
|
showmount shuffle skey skeyinfo skeyinit soelim split \
|
1998-07-23 02:30:07 +04:00
|
|
|
su systat tail talk tcopy tee telnet tftp time \
|
1997-08-03 00:39:48 +04:00
|
|
|
tip tn3270 touch tput tr true tset tsort tty ul \
|
1998-07-13 15:14:03 +04:00
|
|
|
uname unexpand unifdef uniq units unvis usbhidctl users \
|
1997-08-03 00:39:48 +04:00
|
|
|
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
|
|
|
|
1998-09-05 18:57:41 +04:00
|
|
|
.if make(clean) || make(cleandir) || make(distclean)
|
1998-05-26 00:06:38 +04:00
|
|
|
SUBDIR+=elf2aout elf2ecoff elfstrip fdformat ldd strip telnet
|
1997-04-09 10:23:40 +04:00
|
|
|
.else
|
|
|
|
|
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.
|
1998-02-23 13:09:31 +03:00
|
|
|
.if (${OBJECT_FMT} != "ELF")
|
1998-05-26 00:06:38 +04:00
|
|
|
SUBDIR+= 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
|
|
|
|
|
1998-09-05 18:57:41 +04:00
|
|
|
.endif # make(clean) || make(cleandir) || make(distclean)
|
1997-04-09 10:23:40 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.subdir.mk>
|