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