Makefile revision 1.131
11.131Spooka#	$NetBSD: Makefile,v 1.131 2008/11/27 16:14:46 pooka Exp $
21.8Smycroft#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.21Scgd
41.62Sthorpej.include <bsd.own.mk>
51.62Sthorpej
61.125SgmcgarrySUBDIR=	csu libc .WAIT libarch \
71.123Sjmmv	libbsdmalloc libbluetooth libbz2 \
81.105Sgdamore	libcompat libcrypt \
91.121Sjoerg	libcurses libevent libintl libkvm libl libm \
101.121Sjoerg	libossaudio libpcap libpci libpmc libposix libprop libpthread \
111.115Stls	libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \
121.109Spooka	libterm libusbhid libutil libwrap liby libz
131.60Sthorpej
141.125Sgmcgarry.if (${MKATF} != "no")
151.125SgmcgarrySUBDIR+= libatf-c libatf-c++
161.125Sgmcgarry.endif
171.125Sgmcgarry
181.121Sjoerg# libform and libmenu need libcurses
191.121SjoergSUBDIR+=	.WAIT libform libmenu 
201.121Sjoerg
211.76Sthorpej.if (${MKSKEY} != "no")
221.76SthorpejSUBDIR+= libskey
231.76Sthorpej.endif
241.76Sthorpej
251.61Sthorpej# XXX Crypto bits must be done before libtelnet.
261.61Sthorpej
271.62Sthorpej.if (${MKCRYPTO} != "no")
281.86Sitojun# OpenSSL libraries.
291.89SlukemSUBDIR+= libcrypto libdes
301.17Sthorpej
311.64Sitojun.if (${MKCRYPTO_IDEA} != "no")
321.64SitojunSUBDIR+= libcrypto_idea
331.64Sitojun.endif	# MKCRYPTO_IDEA != no
341.78Sitojun
351.78Sitojun.if (${MKCRYPTO_MDC2} != "no")
361.78SitojunSUBDIR+= libcrypto_mdc2
371.78Sitojun.endif	# MKCRYPTO_MDC2 != no
381.64Sitojun
391.64Sitojun.if (${MKCRYPTO_RC5} != "no")
401.64SitojunSUBDIR+= libcrypto_rc5
411.64Sitojun.endif	# MKCRYPTO_RC5 != no
421.64Sitojun
431.62Sthorpej.endif	# MKCRYPTO != no
441.76Sthorpej
451.76Sthorpej.if (${MKKERBEROS} != "no")
461.76Sthorpej# Heimdal Kerberos 5 libraries
471.114SmrgSUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
481.122SmlelstvSUBDIR+= .WAIT libhx509
491.76Sthorpej
501.88Sdyoung.endif	# MKKERBEROS != no
511.54Sthorpej
521.30SmikelSUBDIR+=	libtelnet
531.53Sitojun
541.53Sitojun# IPv6/IPsec
551.53SitojunSUBDIR+=	libipsec
561.70Sitojun
571.75Stshiozak# I18N modules
581.75StshiozakSUBDIR+=	i18n_module
591.1Scgd
601.89Slukem
611.89Slukem#
621.89Slukem# Libraries that depend upon any listed previously
631.93Slukem# (and those that depend upon these [and ...])
641.89Slukem#
651.97Schristos#==================== 1st library dependency barrier ====================
661.97SchristosSUBDIR+=	.WAIT
671.97Schristos
681.97SchristosSUBDIR+=	libedit		# depends on libterm
691.97Schristos
701.108StronSUBDIR+=	libmagic	# depends on libz
711.108Stron
721.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
731.98Schristos
741.106Smrg.if (${MKISCSI} != "no")
751.99SagcSUBDIR+=	libiscsi	# depends on libpthread
761.106Smrg.endif
771.99Sagc
781.89Slukem.if (${MKCRYPTO} != "no")
791.97SchristosSUBDIR+=	libssl		# depends on libcrypto
801.97SchristosSUBDIR+=	libssh		# depends on libcrypto
811.89Slukem.endif
821.97Schristos
831.89Slukem.if (${MKKERBEROS} != "no")
841.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
851.89Slukem.endif
861.97Schristos
871.113SpookaSUBDIR+=	librefuse	# depends on libpuffs
881.126SpookaSUBDIR+=	librumpuser	# depends on libpthread
891.126Spooka
901.119Stls# XXX These bind9/ISC libraries should depend on each other but the
911.119Stls# XXX dependency ordering requires considerable investigation.
921.119Stls# XXX Please preserve the order below so we know the order ISC links
931.119Stls# XXX them in in their Makefiles.
941.119StlsSUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
951.119Stls
961.97Schristos#==================== 2nd library dependency barrier ====================
971.97SchristosSUBDIR+=	.WAIT
981.97Schristos
991.100Schristos.if (${MKKERBEROS} != "no")
1001.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
1011.122SmlelstvSUBDIR+=	libheimntlm
1021.122SmlelstvSUBDIR+=	.WAIT libgssapi libhdb
1031.122SmlelstvSUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
1041.100Schristos.endif
1051.100Schristos
1061.124Slukem.if (${MKLDAP} != "no")
1071.124Slukem				# depends on libcrypto - only if ${MKCRYPTO}
1081.124SlukemSUBDIR+=	../external/bsd/openldap/lib
1091.124Slukem.endif
1101.124Slukem
1111.126SpookaSUBDIR+=	librump		# depends on librumpuser
1121.124Slukem
1131.124Slukem#==================== 3rd library dependency barrier ====================
1141.124SlukemSUBDIR+=	.WAIT
1151.124Slukem
1161.94She.if (${MKPAM} != "no")
1171.124SlukemSUBDIR+=	libpam		# depends on libkrb5, libkafs and more
1181.94She.endif
1191.92Slukem
1201.128SpookaSUBDIR+=	librumpnet	# depends on librump
1211.130SpookaSUBDIR+=	librumpvfs	# depends on librump
1221.126Spooka
1231.126Spooka#==================== 4th library dependency barrier ====================
1241.126SpookaSUBDIR+=	.WAIT
1251.131SpookaSUBDIR+=	libukfs		# depends on librump and librumpvfs
1261.131Spooka
1271.131Spooka#==================== 5th library dependency barrier ====================
1281.131SpookaSUBDIR+=	.WAIT
1291.131SpookaSUBDIR+=	libp2k		# depends on libpuffs, librumpvfs and libukfs
1301.126Spooka
1311.1Scgd.include <bsd.subdir.mk>
132