1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-08-28 00:22:10 +00: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 15:02:18 +00:00
|
|
|
# csu must be built before all shared libaries for ELF.
|
2001-08-19 21:32:52 +00:00
|
|
|
# libcom_err must be built before libkrb and libpam.
|
2001-07-09 17:52:34 +00:00
|
|
|
# libcrypt must be built before libkrb and libpam.
|
2001-08-04 18:25:48 +00:00
|
|
|
# libkvm must be built before libdevstat.
|
2000-05-02 14:16:19 +00:00
|
|
|
# msun must be built before libg++ and libstdc++.
|
2001-07-09 17:52:34 +00:00
|
|
|
# libmd must be built before libatm, libopie, libradius, and libtacplus.
|
1999-09-01 06:21:52 +00:00
|
|
|
# libncurses must be built before libdialog, libedit and libreadline.
|
2000-04-18 06:13:06 +00:00
|
|
|
# libopie must be built before libpam.
|
1998-11-20 02:03:45 +00:00
|
|
|
# libradius must be built before libpam.
|
2001-08-26 17:49:51 +00:00
|
|
|
# librpcsvc must be built before libpam.
|
2002-04-14 22:27:12 +00:00
|
|
|
# libsbuf must be built before libcam.
|
1998-11-20 02:03:45 +00:00
|
|
|
# libtacplus must be built before libpam.
|
2000-01-16 04:43:11 +00:00
|
|
|
# libutil must be built before libpam.
|
2002-04-14 22:27:12 +00:00
|
|
|
# libypclnt must be built before libpam.
|
1998-03-19 16:56:58 +00:00
|
|
|
#
|
|
|
|
# Otherwise, the SUBDIR list should be in alphabetical order.
|
|
|
|
|
2001-08-04 18:25:48 +00:00
|
|
|
SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
|
2002-04-14 22:27:12 +00:00
|
|
|
libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \
|
2001-06-21 19:17:12 +00:00
|
|
|
${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
|
|
|
|
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
|
2003-02-08 15:17:49 +00:00
|
|
|
libedit libexpat libfetch libform libftpio libgeom ${_libio} libipsec \
|
2002-02-17 22:01:40 +00:00
|
|
|
libipx libisc libmenu ${_libmilter} ${_libmp} ${_libncp} \
|
2000-01-15 19:47:01 +00:00
|
|
|
libnetgraph libopie libpam libpanel libpcap \
|
2002-05-13 09:01:18 +00:00
|
|
|
${_libsm} ${_libsmb} ${_libsmdb} ${_libsmutil} \
|
2002-08-02 07:09:53 +00:00
|
|
|
libstand ${_libtelnet} libufs libugidfw libusbhid ${_libvgl} \
|
|
|
|
libwrap libxpg4 liby libz
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2002-09-17 01:49:00 +00:00
|
|
|
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
|
|
|
|
_csu=csu/${MACHINE_ARCH}-elf
|
2001-02-10 07:07:09 +00:00
|
|
|
.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
|
1998-03-19 16:56:58 +00:00
|
|
|
_csu=csu/${MACHINE_ARCH}
|
2001-02-10 07:07:09 +00:00
|
|
|
.else
|
|
|
|
_csu=csu
|
1998-01-09 19:46:30 +00:00
|
|
|
.endif
|
|
|
|
|
2003-01-06 00:56:23 +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 07:06:08 +00:00
|
|
|
|
1999-11-30 06:13:10 +00:00
|
|
|
.if !defined(NO_BIND)
|
1999-11-30 04:22:25 +00:00
|
|
|
_libbind= libbind
|
|
|
|
.endif
|
|
|
|
|
2001-11-11 05:26:59 +00:00
|
|
|
.if !defined(NO_SENDMAIL)
|
2002-02-17 22:01:40 +00:00
|
|
|
_libmilter= libmilter
|
|
|
|
_libsm= libsm
|
2001-11-11 05:26:59 +00:00
|
|
|
_libsmdb= libsmdb
|
|
|
|
_libsmutil= libsmutil
|
|
|
|
.endif
|
|
|
|
|
1998-03-19 16:56:58 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
1998-08-22 14:31:39 +00:00
|
|
|
_compat= compat
|
1999-10-14 06:40:46 +00:00
|
|
|
_libncp= libncp
|
2001-12-14 23:11:45 +00:00
|
|
|
_libsmb= libsmb
|
1998-03-19 16:56:58 +00:00
|
|
|
_libvgl= libvgl
|
1998-05-13 22:54:03 +00:00
|
|
|
.endif
|
1998-03-19 16:56:58 +00:00
|
|
|
|
1998-12-17 23:02:11 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
_libio= libio
|
2001-02-10 07:07:09 +00:00
|
|
|
_compat= compat
|
1998-12-17 23:02:11 +00:00
|
|
|
.endif
|
|
|
|
|
1999-10-07 20:02:45 +00:00
|
|
|
.if defined(RELEASEDIR) || \
|
|
|
|
(!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
|
2001-03-26 12:49:05 +00:00
|
|
|
defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
|
1998-03-19 16:56:58 +00:00
|
|
|
_libtelnet= libtelnet
|
|
|
|
.endif
|
1996-12-23 05:07:37 +00:00
|
|
|
|
2002-05-15 20:22:50 +00:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \
|
|
|
|
&& !defined(NOSECURE)
|
2001-08-02 15:47:03 +00:00
|
|
|
_libmp= libmp
|
|
|
|
.endif
|
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
.include <bsd.subdir.mk>
|