Makefile revision 1.101
11.101Sbouyer#	$NetBSD: Makefile,v 1.101 2006/03/19 15:10:19 bouyer Exp $
21.8Smycroft#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.21Scgd
41.62Sthorpej.include <bsd.own.mk>
51.62Sthorpej
61.89SlukemSUBDIR=	csu libc .WAIT libarch libbsdmalloc libbz2 libcompat libcrypt \
71.96Schristos	libcurses libevent libform libintl libkvm libl libm libmagic \
81.91Schristos	libmenu libossaudio libpcap libpci libpmc libposix libpthread \
91.98Schristos	libpthread_dbg libresolv librmt librpcsvc librt libterm \
101.95Smanu	libusbhid libutil libwrap liby libz
111.60Sthorpej
121.76Sthorpej.if (${MKSKEY} != "no")
131.76SthorpejSUBDIR+= libskey
141.76Sthorpej.endif
151.76Sthorpej
161.61Sthorpej# XXX Crypto bits must be done before libtelnet.
171.61Sthorpej
181.62Sthorpej.if (${MKCRYPTO} != "no")
191.86Sitojun# OpenSSL libraries.
201.89SlukemSUBDIR+= libcrypto libdes
211.17Sthorpej
221.64Sitojun.if (${MKCRYPTO_IDEA} != "no")
231.64SitojunSUBDIR+= libcrypto_idea
241.64Sitojun.endif	# MKCRYPTO_IDEA != no
251.78Sitojun
261.78Sitojun.if (${MKCRYPTO_MDC2} != "no")
271.78SitojunSUBDIR+= libcrypto_mdc2
281.78Sitojun.endif	# MKCRYPTO_MDC2 != no
291.64Sitojun
301.64Sitojun.if (${MKCRYPTO_RC5} != "no")
311.64SitojunSUBDIR+= libcrypto_rc5
321.64Sitojun.endif	# MKCRYPTO_RC5 != no
331.64Sitojun
341.62Sthorpej.endif	# MKCRYPTO != no
351.76Sthorpej
361.76Sthorpej.if (${MKKERBEROS} != "no")
371.76Sthorpej# Heimdal Kerberos 5 libraries
381.100SchristosSUBDIR+= libroken libvers libcom_err libasn1
391.76Sthorpej
401.87Sitojun.if (${MKKERBEROS4} != "no")
411.76Sthorpej# KTH Kerberos 4 libraries
421.89SlukemSUBDIR+= libkdb libkadm libkstream
431.87Sitojun.endif	# MKKERBEROS4 != no
441.88Sdyoung.endif	# MKKERBEROS != no
451.54Sthorpej
461.30SmikelSUBDIR+=	libtelnet
471.53Sitojun
481.53Sitojun# IPv6/IPsec
491.53SitojunSUBDIR+=	libipsec
501.70Sitojun
511.75Stshiozak# I18N modules
521.75StshiozakSUBDIR+=	i18n_module
531.1Scgd
541.89Slukem
551.89Slukem#
561.89Slukem# Libraries that depend upon any listed previously
571.93Slukem# (and those that depend upon these [and ...])
581.89Slukem#
591.97Schristos#==================== 1st library dependency barrier ====================
601.97SchristosSUBDIR+=	.WAIT
611.97Schristos
621.97SchristosSUBDIR+=	libedit		# depends on libterm
631.97Schristos
641.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
651.98Schristos
661.99SagcSUBDIR+=	libiscsi	# depends on libpthread
671.99Sagc
681.89Slukem.if (${MKCRYPTO} != "no")
691.97SchristosSUBDIR+=	libssl		# depends on libcrypto
701.97SchristosSUBDIR+=	libssh		# depends on libcrypto
711.89Slukem.endif
721.97Schristos
731.89Slukem.if (${MKKERBEROS} != "no")
741.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
751.89Slukem.endif
761.97Schristos
771.89Slukem.if (${MKKERBEROS4} != "no")
781.97SchristosSUBDIR+=	libkrb		# depends on libdes
791.89Slukem.endif
801.89Slukem
811.97Schristos#==================== 2nd library dependency barrier ====================
821.97SchristosSUBDIR+=	.WAIT
831.97Schristos
841.97SchristosSUBDIR+=	libcdk 		# depends on libedit
851.93Slukem
861.100Schristos.if (${MKKERBEROS} != "no")
871.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
881.101SbouyerSUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
891.100Schristos.endif
901.100Schristos
911.94She.if (${MKPAM} != "no")
921.97SchristosSUBDIR+=	libpam		# depends on libkrb5 and more
931.94She.endif
941.92Slukem
951.1Scgd.include <bsd.subdir.mk>
96