124613b27e
libraries to LDADD & DPADD for the current library, using -L OBJDIR-of-DEPLIB so that the current library can link with the DEPLIB library built but not installed. Set DEPLIBS appropriately, rather than explictly adding LDADD/DPADD for various libraries. Reorder library build order so that libraries that depend upon any other library are built at the end. Whilst this change could be done in a more generic manner (and I intend to work on that), it does remove the need to implement top-level build targets such as "do-lib-des" (etc).
72 lines
1.5 KiB
Makefile
72 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.89 2004/07/30 07:02:53 lukem Exp $
|
|
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= csu libc .WAIT libarch libbsdmalloc libbz2 libcompat libcrypt \
|
|
libcurses libedit libevent libform libintl libkvm libl libm libmagic \
|
|
libmenu libossaudio libpcap libpci libpmc libposix libpthread \
|
|
libpthread_dbg libresolv librmt librpcsvc librt libterm libusbhid \
|
|
libutil libwrap liby libz
|
|
|
|
.if (${MKSKEY} != "no")
|
|
SUBDIR+= libskey
|
|
.endif
|
|
|
|
# XXX Crypto bits must be done before libtelnet.
|
|
|
|
.if (${MKCRYPTO} != "no")
|
|
# OpenSSL libraries.
|
|
SUBDIR+= libcrypto libdes
|
|
|
|
.if (${MKCRYPTO_IDEA} != "no")
|
|
SUBDIR+= libcrypto_idea
|
|
.endif # MKCRYPTO_IDEA != no
|
|
|
|
.if (${MKCRYPTO_MDC2} != "no")
|
|
SUBDIR+= libcrypto_mdc2
|
|
.endif # MKCRYPTO_MDC2 != no
|
|
|
|
.if (${MKCRYPTO_RC5} != "no")
|
|
SUBDIR+= libcrypto_rc5
|
|
.endif # MKCRYPTO_RC5 != no
|
|
|
|
.endif # MKCRYPTO != no
|
|
|
|
.if (${MKKERBEROS} != "no")
|
|
# Heimdal Kerberos 5 libraries
|
|
SUBDIR+= libroken libvers libcom_err libsl libss libasn1 libhdb \
|
|
libkadm5srv libkadm5clnt libgssapi libkafs
|
|
|
|
.if (${MKKERBEROS4} != "no")
|
|
# KTH Kerberos 4 libraries
|
|
SUBDIR+= libkdb libkadm libkstream
|
|
.endif # MKKERBEROS4 != no
|
|
.endif # MKKERBEROS != no
|
|
|
|
SUBDIR+= libtelnet
|
|
|
|
# IPv6/IPsec
|
|
SUBDIR+= libipsec
|
|
|
|
# I18N modules
|
|
SUBDIR+= i18n_module
|
|
|
|
|
|
#
|
|
# Libraries that depend upon any listed previously
|
|
#
|
|
SUBDIR+= .WAIT
|
|
SUBDIR+= libcdk
|
|
.if (${MKCRYPTO} != "no")
|
|
SUBDIR+= libssl
|
|
.endif
|
|
.if (${MKKERBEROS} != "no")
|
|
SUBDIR+= libkrb5
|
|
.endif
|
|
.if (${MKKERBEROS4} != "no")
|
|
SUBDIR+= libkrb
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|