[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib

File: [cvs.NetBSD.org] / src / lib / Makefile (download)

Revision 1.120, Mon Nov 12 14:56:24 2007 UTC (11 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.119: +2 -2 lines

Add the libatf library

This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.

#	$NetBSD: Makefile,v 1.120 2007/11/12 14:56:24 jmmv Exp $
#	from: @(#)Makefile (Berkeley) 5/7/91

.include <bsd.own.mk>

SUBDIR=	csu libc .WAIT libarch libatf libbsdmalloc libbluetooth libbz2 \
	libcompat libcrypt \
	libcurses libevent libform libintl libkvm libl libm \
	libmenu libossaudio libpcap libpci libpmc libposix libprop libpthread \
	libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \
	libterm libusbhid libutil libwrap liby libz

.if (${MKSKEY} != "no")
SUBDIR+= libskey

# 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+= .WAIT libroken libvers libcom_err .WAIT 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+=	libarchive	# depends on libbz2 and libz

SUBDIR+=	libedit		# depends on libterm

SUBDIR+=	libmagic	# depends on libz

SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}

.if (${MKISCSI} != "no")
SUBDIR+=	libiscsi	# depends on libpthread

.if (${MKCRYPTO} != "no")
SUBDIR+=	libssl		# depends on libcrypto
SUBDIR+=	libssh		# depends on libcrypto

.if (${MKKERBEROS} != "no")
SUBDIR+=	libkrb5		# depends on libcrypto and more

.if (${MKPUFFS} != "no")
SUBDIR+=	librefuse	# depends on libpuffs

# 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 ====================

.if (${MKKERBEROS} != "no")
# Heimdal Kerberos 5 libraries depending on libkrb5 and more
SUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss

.if (${MKPAM} != "no")
SUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more

.include <bsd.subdir.mk>