Makefile revision 1.99
11.99Sagc#	$NetBSD: Makefile,v 1.99 2006/02/08 18:58:55 agc 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.89SlukemSUBDIR+= libroken libvers libcom_err libsl libss libasn1 libhdb \
391.87Sitojun	 libkadm5srv libkadm5clnt libgssapi libkafs
401.76Sthorpej
411.87Sitojun.if (${MKKERBEROS4} != "no")
421.76Sthorpej# KTH Kerberos 4 libraries
431.89SlukemSUBDIR+= libkdb libkadm libkstream
441.87Sitojun.endif	# MKKERBEROS4 != no
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.97SchristosSUBDIR+=	libedit		# depends on libterm
641.97Schristos
651.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
661.98Schristos
671.99SagcSUBDIR+=	libiscsi	# depends on libpthread
681.99Sagc
691.89Slukem.if (${MKCRYPTO} != "no")
701.97SchristosSUBDIR+=	libssl		# depends on libcrypto
711.97SchristosSUBDIR+=	libssh		# depends on libcrypto
721.89Slukem.endif
731.97Schristos
741.89Slukem.if (${MKKERBEROS} != "no")
751.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
761.89Slukem.endif
771.97Schristos
781.89Slukem.if (${MKKERBEROS4} != "no")
791.97SchristosSUBDIR+=	libkrb		# depends on libdes
801.89Slukem.endif
811.89Slukem
821.97Schristos#==================== 2nd library dependency barrier ====================
831.97SchristosSUBDIR+=	.WAIT
841.97Schristos
851.97SchristosSUBDIR+=	libcdk 		# depends on libedit
861.93Slukem
871.94She.if (${MKPAM} != "no")
881.97SchristosSUBDIR+=	libpam		# depends on libkrb5 and more
891.94She.endif
901.92Slukem
911.1Scgd.include <bsd.subdir.mk>
92