NetBSD/lib/Makefile

119 lines
2.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.124 2008/05/22 14:16:11 lukem Exp $
1993-08-01 09:37:30 +04:00
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
SUBDIR= csu libc .WAIT libarch libatf-c libatf-c++ \
libbsdmalloc libbluetooth libbz2 \
libcompat libcrypt \
2008-03-12 03:21:29 +03:00
libcurses libevent libintl libkvm libl libm \
libossaudio libpcap libpci libpmc libposix libprop libpthread \
2007-05-28 16:06:17 +04:00
libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \
libterm libusbhid libutil libwrap liby libz
2008-03-12 03:21:29 +03:00
# libform and libmenu need libcurses
SUBDIR+= .WAIT libform libmenu
.if (${MKSKEY} != "no")
SUBDIR+= libskey
.endif
# XXX Crypto bits must be done before libtelnet.
.if (${MKCRYPTO} != "no")
2003-07-23 09:27:38 +04:00
# OpenSSL libraries.
SUBDIR+= libcrypto libdes
2000-06-16 20:18:46 +04:00
.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
1993-03-21 12:45:37 +03:00
.if (${MKKERBEROS} != "no")
# Heimdal Kerberos 5 libraries
SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
2008-03-22 11:36:48 +03:00
SUBDIR+= .WAIT libhx509
.endif # MKKERBEROS != no
1999-07-13 02:04:09 +04:00
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+= libarchive # depends on libbz2 and libz
SUBDIR+= libedit # depends on libterm
SUBDIR+= libmagic # depends on libz
SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO}
2006-06-24 09:14:01 +04:00
.if (${MKISCSI} != "no")
SUBDIR+= libiscsi # depends on libpthread
2006-06-24 09:14:01 +04:00
.endif
.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
.if (${MKPUFFS} != "no")
SUBDIR+= librefuse # depends on libpuffs
.endif
# XXX These bind9/ISC libraries should depend on each other but the
# XXX dependency ordering requires considerable investigation.
# XXX Please preserve the order below so we know the order ISC links
# XXX them in in their Makefiles.
SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
#==================== 2nd library dependency barrier ====================
SUBDIR+= .WAIT
.if (${MKKERBEROS} != "no")
# Heimdal Kerberos 5 libraries depending on libkrb5 and more
2008-03-22 11:36:48 +03:00
SUBDIR+= libheimntlm
SUBDIR+= .WAIT libgssapi libhdb
SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
.endif
.if (${MKLDAP} != "no")
# depends on libcrypto - only if ${MKCRYPTO}
SUBDIR+= ../external/bsd/openldap/lib
.endif
#==================== 3rd library dependency barrier ====================
SUBDIR+= .WAIT
.if (${MKPAM} != "no")
SUBDIR+= libpam # depends on libkrb5, libkafs and more
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>