Makefile revision 1.122
11.122Smlelstv#	$NetBSD: Makefile,v 1.122 2008/03/22 08:37:26 mlelstv Exp $
21.8Smycroft#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.21Scgd
41.62Sthorpej.include <bsd.own.mk>
51.62Sthorpej
61.120SjmmvSUBDIR=	csu libc .WAIT libarch libatf libbsdmalloc libbluetooth libbz2 \
71.105Sgdamore	libcompat libcrypt \
81.121Sjoerg	libcurses libevent libintl libkvm libl libm \
91.121Sjoerg	libossaudio libpcap libpci libpmc libposix libprop libpthread \
101.115Stls	libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \
111.109Spooka	libterm libusbhid libutil libwrap liby libz
121.60Sthorpej
131.121Sjoerg# libform and libmenu need libcurses
141.121SjoergSUBDIR+=	.WAIT libform libmenu 
151.121Sjoerg
161.76Sthorpej.if (${MKSKEY} != "no")
171.76SthorpejSUBDIR+= libskey
181.76Sthorpej.endif
191.76Sthorpej
201.61Sthorpej# XXX Crypto bits must be done before libtelnet.
211.61Sthorpej
221.62Sthorpej.if (${MKCRYPTO} != "no")
231.86Sitojun# OpenSSL libraries.
241.89SlukemSUBDIR+= libcrypto libdes
251.17Sthorpej
261.64Sitojun.if (${MKCRYPTO_IDEA} != "no")
271.64SitojunSUBDIR+= libcrypto_idea
281.64Sitojun.endif	# MKCRYPTO_IDEA != no
291.78Sitojun
301.78Sitojun.if (${MKCRYPTO_MDC2} != "no")
311.78SitojunSUBDIR+= libcrypto_mdc2
321.78Sitojun.endif	# MKCRYPTO_MDC2 != no
331.64Sitojun
341.64Sitojun.if (${MKCRYPTO_RC5} != "no")
351.64SitojunSUBDIR+= libcrypto_rc5
361.64Sitojun.endif	# MKCRYPTO_RC5 != no
371.64Sitojun
381.62Sthorpej.endif	# MKCRYPTO != no
391.76Sthorpej
401.76Sthorpej.if (${MKKERBEROS} != "no")
411.76Sthorpej# Heimdal Kerberos 5 libraries
421.114SmrgSUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
431.122SmlelstvSUBDIR+= .WAIT libhx509
441.76Sthorpej
451.88Sdyoung.endif	# MKKERBEROS != no
461.54Sthorpej
471.30SmikelSUBDIR+=	libtelnet
481.53Sitojun
491.53Sitojun# IPv6/IPsec
501.53SitojunSUBDIR+=	libipsec
511.70Sitojun
521.75Stshiozak# I18N modules
531.75StshiozakSUBDIR+=	i18n_module
541.1Scgd
551.89Slukem
561.89Slukem#
571.89Slukem# Libraries that depend upon any listed previously
581.93Slukem# (and those that depend upon these [and ...])
591.89Slukem#
601.97Schristos#==================== 1st library dependency barrier ====================
611.97SchristosSUBDIR+=	.WAIT
621.97Schristos
631.117SjoergSUBDIR+=	libarchive	# depends on libbz2 and libz
641.117Sjoerg
651.97SchristosSUBDIR+=	libedit		# depends on libterm
661.97Schristos
671.108StronSUBDIR+=	libmagic	# depends on libz
681.108Stron
691.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
701.98Schristos
711.106Smrg.if (${MKISCSI} != "no")
721.99SagcSUBDIR+=	libiscsi	# depends on libpthread
731.106Smrg.endif
741.99Sagc
751.89Slukem.if (${MKCRYPTO} != "no")
761.97SchristosSUBDIR+=	libssl		# depends on libcrypto
771.97SchristosSUBDIR+=	libssh		# depends on libcrypto
781.89Slukem.endif
791.97Schristos
801.89Slukem.if (${MKKERBEROS} != "no")
811.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
821.89Slukem.endif
831.97Schristos
841.113Spooka.if (${MKPUFFS} != "no")
851.113SpookaSUBDIR+=	librefuse	# depends on libpuffs
861.113Spooka.endif
871.113Spooka
881.119Stls# XXX These bind9/ISC libraries should depend on each other but the
891.119Stls# XXX dependency ordering requires considerable investigation.
901.119Stls# XXX Please preserve the order below so we know the order ISC links
911.119Stls# XXX them in in their Makefiles.
921.119StlsSUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
931.119Stls
941.97Schristos#==================== 2nd library dependency barrier ====================
951.97SchristosSUBDIR+=	.WAIT
961.97Schristos
971.100Schristos.if (${MKKERBEROS} != "no")
981.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
991.122SmlelstvSUBDIR+=	libheimntlm
1001.122SmlelstvSUBDIR+=	.WAIT libgssapi libhdb
1011.122SmlelstvSUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
1021.100Schristos.endif
1031.100Schristos
1041.94She.if (${MKPAM} != "no")
1051.112SbouyerSUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more
1061.94She.endif
1071.92Slukem
1081.1Scgd.include <bsd.subdir.mk>
109