b09f41a4b9
libraries first and use NetBSD's libc/libm for now.
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
|
|
.if ${MACHINE} == "tahoe"
|
|
SUBDIR=csu/tahoe.pcc
|
|
.elif ${MACHINE} == "vax"
|
|
SUBDIR=csu/vax.pcc
|
|
.elif exists(csu/${MACHINE})
|
|
SUBDIR=csu/${MACHINE}
|
|
.endif
|
|
|
|
.if ${MACHINE} != "alpha"
|
|
SUBDIR+=libc
|
|
.endif
|
|
|
|
# XXX MISSING: libplot
|
|
SUBDIR+=libalias libcalendar libcompat libcom_err libcurses libdisk \
|
|
libedit libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
|
|
libncurses libopie libpcap libresolv librpcsvc \
|
|
libscsi libskey libss libtermcap libutil libvgl libxpg4 liby libz
|
|
|
|
.if !defined(NOLIBC_R) && ${MACHINE} != "alpha"
|
|
SUBDIR+= libc_r
|
|
.endif
|
|
|
|
.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
|
|
exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
|
|
SUBDIR+=libtcl
|
|
.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) && ${MACHINE} != "alpha"
|
|
SUBDIR+= libm
|
|
.else
|
|
SUBDIR+= msun
|
|
.endif
|
|
|
|
SUBDIR+= compat
|
|
|
|
.include <bsd.subdir.mk>
|