[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.126, Tue Jul 29 13:17:40 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.125: +12 -1 lines

Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly

#	$NetBSD: Makefile,v 1.126 2008/07/29 13:17:40 pooka Exp $
#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91

.include <bsd.own.mk>

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

.if (${MKATF} != "no")
SUBDIR+= libatf-c libatf-c++
.endif

# 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")
# 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
SUBDIR+= .WAIT libhx509

.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+=	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
.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

SUBDIR+=	librumpuser	# depends on libpthread

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

SUBDIR+=	librump		# depends on librumpuser

#==================== 3rd library dependency barrier ====================
SUBDIR+=	.WAIT

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

SUBDIR+=	libukfs		# depends on librump

#==================== 4th library dependency barrier ====================
.if (${MKPUFFS} != "no")
SUBDIR+=	.WAIT
SUBDIR+=	libp2k		# depends on libpuffs and libukfs
.endif

.include <bsd.subdir.mk>