1994-05-27 06:00:24 +01:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-08-28 01:22:10 +01:00
|
|
|
# $FreeBSD$
|
1998-03-19 16:56:58 +00:00
|
|
|
|
|
|
|
# To satisfy shared library or ELF linkage when only the libraries being
|
|
|
|
# built are visible:
|
|
|
|
#
|
1998-09-02 16:02:18 +01:00
|
|
|
# csu must be built before all shared libaries for ELF.
|
1998-03-19 16:56:58 +00:00
|
|
|
# libcom_err must be built before libss.
|
1999-09-04 14:08:35 +01:00
|
|
|
# libcrypt must be built before libkrb and libskey.
|
1999-04-15 00:59:09 +01:00
|
|
|
# libm must be built before libstdc++.
|
1999-09-04 14:08:35 +01:00
|
|
|
# libmd must be built before libatm, libcrypt, libopie, libradius, libskey,
|
|
|
|
# and libtacplus.
|
1999-09-01 07:21:52 +01:00
|
|
|
# libncurses must be built before libdialog, libedit and libreadline.
|
1998-11-20 02:03:45 +00:00
|
|
|
# libradius must be built before libpam.
|
|
|
|
# libskey must be built before libpam.
|
|
|
|
# libtacplus must be built before libpam.
|
1998-03-19 16:56:58 +00:00
|
|
|
#
|
|
|
|
# Otherwise, the SUBDIR list should be in alphabetical order.
|
|
|
|
|
1999-09-01 10:12:16 +01:00
|
|
|
SUBDIR= ${_csu} libcom_err ${_libm} libmd ${_libcrypt} \
|
1999-09-04 14:08:35 +01:00
|
|
|
libncurses libradius libskey libtacplus \
|
1999-11-30 04:22:25 +00:00
|
|
|
${_compat} libalias libatm ${_libbind} libc ${_libc_r} libcalendar \
|
|
|
|
libcam libcompat libdevstat libdisk libedit libfetch libform \
|
2000-01-06 12:40:54 +00:00
|
|
|
libftpio libgnumalloc ${_libio} libipsec libipx libkvm libmenu \
|
|
|
|
${_libncp} \
|
1999-10-21 10:06:11 +01:00
|
|
|
libnetgraph libopie libpam libpanel libpcap libresolv librpcsvc libss \
|
|
|
|
libstand ${_libtelnet} libutil ${_libvgl} libwrap libxpg4 liby libz
|
1994-05-27 06:00:24 +01:00
|
|
|
|
1998-08-30 02:57:55 +01:00
|
|
|
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
|
|
|
|
_csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
|
1998-03-08 23:24:05 +00:00
|
|
|
.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
|
1998-03-19 16:56:58 +00:00
|
|
|
_csu=csu/${MACHINE_ARCH}
|
1998-01-09 19:46:30 +00:00
|
|
|
.endif
|
|
|
|
|
1998-03-08 23:24:05 +00:00
|
|
|
.if !defined(NOLIBC_R)
|
1998-03-19 16:56:58 +00:00
|
|
|
_libc_r= libc_r
|
1998-03-08 23:24:05 +00:00
|
|
|
.endif
|
1997-04-12 08:06:08 +01:00
|
|
|
|
1999-11-30 06:13:10 +00:00
|
|
|
.if !defined(NO_BIND)
|
1999-11-30 04:22:25 +00:00
|
|
|
_libbind= libbind
|
|
|
|
.endif
|
|
|
|
|
1999-09-01 10:12:16 +01:00
|
|
|
_libcrypt= libcrypt
|
|
|
|
.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT)
|
1998-03-21 08:18:57 +00:00
|
|
|
# Build both libraries. They have different names, so no harm,
|
|
|
|
# and this avoids having stale libscrypt.*
|
1999-09-01 10:12:16 +01:00
|
|
|
_libcrypt+= ../secure/lib/libcrypt
|
1995-09-29 20:56:05 +01:00
|
|
|
.endif
|
|
|
|
|
1998-03-19 16:56:58 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
1998-08-22 15:31:39 +01:00
|
|
|
_compat= compat
|
1999-10-14 07:40:46 +01:00
|
|
|
_libncp= libncp
|
1998-03-19 16:56:58 +00:00
|
|
|
_libvgl= libvgl
|
1998-05-13 23:54:03 +01:00
|
|
|
.endif
|
1998-03-19 16:56:58 +00:00
|
|
|
|
1998-01-10 09:09:24 +00:00
|
|
|
.if defined(WANT_CSRG_LIBM)
|
1998-03-19 16:56:58 +00:00
|
|
|
_libm= libm
|
1994-08-19 11:24:56 +01:00
|
|
|
.else
|
1998-03-19 16:56:58 +00:00
|
|
|
_libm= msun
|
1994-08-19 11:24:56 +01:00
|
|
|
.endif
|
|
|
|
|
1998-12-17 23:02:11 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
_libio= libio
|
|
|
|
.endif
|
|
|
|
|
1999-10-07 21:02:45 +01:00
|
|
|
.if defined(RELEASEDIR) || \
|
|
|
|
(!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
|
1998-03-19 16:56:58 +00:00
|
|
|
defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
|
|
|
|
_libtelnet= libtelnet
|
|
|
|
.endif
|
1996-12-23 05:07:37 +00:00
|
|
|
|
1994-05-27 06:00:24 +01:00
|
|
|
.include <bsd.subdir.mk>
|