Some things only work on i386.

This commit is contained in:
John Birrell 1998-03-13 19:41:06 +00:00
parent eb61a18ee7
commit 5c931089a9
3 changed files with 40 additions and 24 deletions

View File

@ -1,8 +1,12 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93 # From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.8 1997/12/06 04:19:41 sef Exp $ # $Id: Makefile,v 1.9 1997/12/07 02:26:12 peter Exp $
SUBDIR= cat chio chmod cp csh date dd df domainname echo ed expr hostname \ SUBDIR= cat chio chmod cp date dd domainname echo ed expr hostname \
kill ln ls mkdir mv pax ps pwd rcp rm rmail rmdir sh sleep \ kill ln ls mkdir mv pax pwd rcp rm rmail rmdir sleep \
stty sync test stty sync test
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=csh df ps sh
.endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View File

@ -2,18 +2,23 @@
# XXX MISSING: icheck ncheck # XXX MISSING: icheck ncheck
SUBDIR= adjkerntz badsect ccdconfig clri disklabel dmesg dset dump dumpfs \ SUBDIR= disklabel dmesg dset dump dumpfs \
dumpon fsck fsdb fsirand ifconfig init ipfw \ dumpon fsck fsdb fsirand ifconfig init ipfw \
kldload kldstat kldunload md5 mknod modload \ md5 mknod \
modunload mount mount_cd9660 mount_ext2fs \ mount mount_cd9660 mount_ext2fs \
mount_nfs mount_null mount_portal mount_std \ mount_nfs mount_null mount_portal mount_std \
mount_umap mount_union mountd newfs nfsd nfsiod \ mount_umap mount_union mountd newfs nfsd nfsiod \
nologin ping quotacheck reboot restore route routed savecore scsi \ nologin quotacheck reboot restore route routed \
scsiformat shutdown slattach startslip spppcontrol swapon tunefs \ scsiformat shutdown slattach startslip spppcontrol tunefs \
umount umount
.if exists(${.CURDIR}/${MACHINE}) .if exists(${.CURDIR}/${MACHINE})
SUBDIR+= ${MACHINE} SUBDIR+= ${MACHINE}
.endif .endif
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=adjkerntz badsect ccdconfig clri kldload kldstat kldunload ping
SUBDIR+=modload modunload savecore scsi swapon
.endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View File

@ -1,41 +1,48 @@
# From: @(#)Makefile 8.3 (Berkeley) 1/7/94 # From: @(#)Makefile 8.3 (Berkeley) 1/7/94
# $Id: Makefile,v 1.92 1997/12/13 09:59:32 msmith Exp $ # $Id: Makefile,v 1.93 1997/12/15 20:52:24 helbig Exp $
# XXX MISSING: deroff diction graph learn plot # XXX MISSING: deroff diction graph learn plot
# spell spline struct units xsend # spell spline struct units xsend
# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis # XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
# Moved to secure: bdes # Moved to secure: bdes
# #
SUBDIR= apply ar at banner basename biff brandelf c89 calendar \ SUBDIR= apply at banner basename biff c89 calendar \
cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \ cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
column comm compile_et compress chkey cpp ctags cut dig \ column comm compile_et compress chkey cpp ctags cut dig \
dirname dnsquery doscmd du ee env error expand \ dirname dnsquery du ee env error expand \
f2c false fetch file file2c \ f2c false fetch file file2c \
find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \ find finger fmt fold fpr from fsplit ftp gencat getopt \
global gprof head hexdump host id indent ipcrm ipcs \ global head hexdump host id indent \
join jot kdump ktrace key keyinfo keyinit keylogin keylogout killall \ join jot key keyinfo keyinit keylogin keylogout killall \
lam last lastcomm leave lex limits locate lock lockf logger login \ lam last lastcomm leave lex limits locate lock lockf logger login \
logname lorder lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \ logname lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
mk_cmds modstat more msgs mt ncal netstat newkey nfsstat nice \ mk_cmds more msgs ncal netstat newkey nfsstat nice \
nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \ nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
printf quota ranlib rdist renice rev rlogin rpcgen \ printf quota rdist renice rev rlogin rpcgen \
rpcinfo rs rsh rup ruptime rusers rwall \ rpcinfo rs rsh rup ruptime rusers rwall \
rwho script sed shar showmount size soelim split \ rwho script sed shar showmount size soelim split \
strings strip su symorder talk tconv tcopy tee tftp time \ strings su symorder talk tconv tcopy tee tftp time \
tip tn3270 top touch tput tr true truss tset tsort tty ul uname \ tip tn3270 touch tput tr true tset tsort tty ul uname \
unexpand unifdef uniq units unvis users uudecode uuencode vacation \ unexpand unifdef uniq units unvis users uudecode uuencode vacation \
vgrind vi vis w wall wc what whereis which who whois window \ vgrind vi vis wall wc what whereis which who whois window \
write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
SUBDIR+=gprof4 minigzip SUBDIR+=minigzip
.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both
SUBDIR+=telnet
.endif
.if ${MACHINE_ARCH} == "i386"
# Things that don't compile on alpha:
SUBDIR+=ar brandelf doscmd fstat gcore gprof gprof4 ipcrm ipcs kdump ktrace \
modstat mt ranlib strip top truss w lorder
.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \ .if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl) exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
SUBDIR+=tclsh SUBDIR+=tclsh
.endif .endif
.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both
SUBDIR+=telnet
.endif .endif
# Cmp, look and tail all use mmap, so new-VM only. # Cmp, look and tail all use mmap, so new-VM only.