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