NetBSD/lib/Makefile
2006-03-20 04:03:10 +00:00

88 lines
2.0 KiB
Makefile

# $NetBSD: Makefile,v 1.102 2006/03/20 04:03:22 christos 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 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 libasn1
.endif # MKKERBEROS != no
SUBDIR+= libtelnet
# IPv6/IPsec
SUBDIR+= libipsec
# I18N modules
SUBDIR+= i18n_module
#
# Libraries that depend upon any listed previously
# (and those that depend upon these [and ...])
#
#==================== 1st library dependency barrier ====================
SUBDIR+= .WAIT
SUBDIR+= libedit # depends on libterm
SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO}
SUBDIR+= libiscsi # depends on libpthread
.if (${MKCRYPTO} != "no")
SUBDIR+= libssl # depends on libcrypto
SUBDIR+= libssh # depends on libcrypto
.endif
.if (${MKKERBEROS} != "no")
SUBDIR+= libkrb5 # depends on libcrypto and more
.endif
#==================== 2nd library dependency barrier ====================
SUBDIR+= .WAIT
SUBDIR+= libcdk # depends on libedit
.if (${MKKERBEROS} != "no")
# Heimdal Kerberos 5 libraries depending on libkrb5 and more
SUBDIR+= libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
.endif
.if (${MKPAM} != "no")
SUBDIR+= libpam # depends on libkrb5 and more
.endif
.include <bsd.subdir.mk>