1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
|
|
|
|
|
|
.if ${MACHINE} == "tahoe"
|
1994-08-25 13:39:18 +00:00
|
|
|
SUBDIR=csu/tahoe.pcc
|
1994-05-27 05:00:24 +00:00
|
|
|
.elif ${MACHINE} == "vax"
|
1994-08-25 13:39:18 +00:00
|
|
|
SUBDIR=csu/vax.pcc
|
1998-01-10 09:09:24 +00:00
|
|
|
.elif exists(${.CURDIR}/csu/${MACHINE})
|
1994-08-25 13:39:18 +00:00
|
|
|
SUBDIR=csu/${MACHINE}
|
1994-05-27 05:00:24 +00:00
|
|
|
.endif
|
|
|
|
|
1998-01-10 09:09:24 +00:00
|
|
|
# Don't want to build libc on alpha just yet
|
1998-01-09 19:46:30 +00:00
|
|
|
.if ${MACHINE} != "alpha"
|
|
|
|
SUBDIR+=libc
|
|
|
|
.endif
|
|
|
|
|
1995-11-12 19:32:24 +00:00
|
|
|
# XXX MISSING: libplot
|
1998-01-09 19:46:30 +00:00
|
|
|
SUBDIR+=libalias libcalendar libcompat libcom_err libcurses libdisk \
|
1997-12-04 10:48:14 +00:00
|
|
|
libedit libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
|
1997-02-07 03:58:36 +00:00
|
|
|
libncurses libopie libpcap libresolv librpcsvc \
|
1997-08-22 13:20:03 +00:00
|
|
|
libscsi libskey libss libtermcap libutil libvgl libxpg4 liby libz
|
1996-08-18 18:57:00 +00:00
|
|
|
|
1998-01-09 19:46:30 +00:00
|
|
|
.if !defined(NOLIBC_R) && ${MACHINE} != "alpha"
|
1996-08-20 08:22:01 +00:00
|
|
|
SUBDIR+= libc_r
|
|
|
|
.endif
|
|
|
|
|
1997-04-12 07:06:08 +00:00
|
|
|
.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
|
|
|
|
exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
|
|
|
|
SUBDIR+=libtcl
|
|
|
|
.endif
|
|
|
|
|
1996-12-11 10:02:29 +00:00
|
|
|
.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT)
|
1995-09-29 19:56:05 +00:00
|
|
|
SUBDIR+= libcrypt
|
|
|
|
.else
|
|
|
|
SUBDIR+= ../secure/lib/libcrypt
|
1996-01-24 21:32:46 +00:00
|
|
|
.if defined(RELEASEDIR)
|
|
|
|
# releases do need both libraries
|
|
|
|
SUBDIR+= libcrypt
|
|
|
|
.endif
|
1995-09-29 19:56:05 +00:00
|
|
|
.endif
|
|
|
|
|
1997-09-28 09:08:48 +00:00
|
|
|
.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
|
1996-02-13 09:17:42 +00:00
|
|
|
# releases do need both libraries
|
|
|
|
SUBDIR+= libtelnet
|
|
|
|
.endif
|
1994-08-25 13:39:18 +00:00
|
|
|
|
1998-01-10 09:09:24 +00:00
|
|
|
.if defined(WANT_CSRG_LIBM)
|
1994-08-19 10:24:56 +00:00
|
|
|
SUBDIR+= libm
|
|
|
|
.else
|
|
|
|
SUBDIR+= msun
|
|
|
|
.endif
|
|
|
|
|
1996-12-23 05:07:37 +00:00
|
|
|
SUBDIR+= compat
|
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
.include <bsd.subdir.mk>
|