Can build libc and libc_r on alpha now.

Changed MACHINE to MACHINE_ARCH with the expectation that pc98 will
use elf the same as i386.

Nuked tahoe and vax 'cause the files they reference aren't in the
tree. If you want vax goto NetBSD. If you want tahoe... tough.
This commit is contained in:
John Birrell 1998-03-08 23:24:05 +00:00
parent c6dd839fb5
commit 5f160d1454
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34330

View File

@ -1,34 +1,30 @@
# $Id$
# @(#)Makefile 8.1 (Berkeley) 6/4/93
.if ${MACHINE} == "tahoe"
SUBDIR=csu/tahoe.pcc
.elif ${MACHINE} == "vax"
SUBDIR=csu/vax.pcc
.elif exists(${.CURDIR}/csu/${MACHINE}-${BINFORMAT})
SUBDIR=csu/${MACHINE}-${BINFORMAT}
.elif exists(${.CURDIR}/csu/${MACHINE})
SUBDIR=csu/${MACHINE}
.endif
# Don't want to build libc on alpha just yet
.if ${MACHINE} != "alpha"
SUBDIR+=libc
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${BINFORMAT})
SUBDIR=csu/${MACHINE_ARCH}-${BINFORMAT}
.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
SUBDIR=csu/${MACHINE_ARCH}
.endif
# XXX MISSING: libplot
SUBDIR+=libalias libcalendar libcompat libcom_err libcurses libdisk \
libedit libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
SUBDIR+=libalias libc libcalendar libcompat libcom_err libcurses \
libedit libf2c libftpio libgnumalloc libipx libmd libmytinfo \
libncurses libopie libpcap libresolv librpcsvc \
libscsi libskey libss libtermcap libutil libvgl libxpg4 liby libz
libskey libss libtermcap libutil libxpg4 liby libz
.if !defined(NOLIBC_R) && ${MACHINE} != "alpha"
.if !defined(NOLIBC_R)
SUBDIR+= libc_r
.endif
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=libdisk libkvm libscsi libvgl
.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
SUBDIR+=libtcl
.endif
.endif
.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT)
SUBDIR+= libcrypt