freebsd-skq/lib/Makefile
John Birrell 5f160d1454 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.
1998-03-08 23:24:05 +00:00

53 lines
1.2 KiB
Makefile

# $Id$
# @(#)Makefile 8.1 (Berkeley) 6/4/93
.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 libc libcalendar libcompat libcom_err libcurses \
libedit libf2c libftpio libgnumalloc libipx libmd libmytinfo \
libncurses libopie libpcap libresolv librpcsvc \
libskey libss libtermcap libutil libxpg4 liby libz
.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
.else
SUBDIR+= ../secure/lib/libcrypt
.if defined(RELEASEDIR)
# releases do need both libraries
SUBDIR+= libcrypt
.endif
.endif
.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both libraries
SUBDIR+= libtelnet
.endif
.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm
.else
SUBDIR+= msun
.endif
SUBDIR+= compat
.include <bsd.subdir.mk>