Makefile revision 1.107
11.107Schristos#	$NetBSD: Makefile,v 1.107 2006/08/30 17:23:36 christos Exp $
21.8Smycroft#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.21Scgd
41.62Sthorpej.include <bsd.own.mk>
51.62Sthorpej
61.105SgdamoreSUBDIR=	csu libc .WAIT libarch libbsdmalloc libbluetooth libbz2 \
71.105Sgdamore	libcompat libcrypt \
81.96Schristos	libcurses libevent libform libintl libkvm libl libm libmagic \
91.104Sthorpej	libmenu libossaudio libpcap libpci libpmc libposix libprop libpthread \
101.105Sgdamore	libpthread_dbg libresolv librmt librpcsvc libsdp librt libterm \
111.95Smanu	libusbhid libutil libwrap liby libz
121.60Sthorpej
131.76Sthorpej.if (${MKSKEY} != "no")
141.76SthorpejSUBDIR+= libskey
151.76Sthorpej.endif
161.76Sthorpej
171.61Sthorpej# XXX Crypto bits must be done before libtelnet.
181.61Sthorpej
191.62Sthorpej.if (${MKCRYPTO} != "no")
201.86Sitojun# OpenSSL libraries.
211.89SlukemSUBDIR+= libcrypto libdes
221.17Sthorpej
231.64Sitojun.if (${MKCRYPTO_IDEA} != "no")
241.64SitojunSUBDIR+= libcrypto_idea
251.64Sitojun.endif	# MKCRYPTO_IDEA != no
261.78Sitojun
271.78Sitojun.if (${MKCRYPTO_MDC2} != "no")
281.78SitojunSUBDIR+= libcrypto_mdc2
291.78Sitojun.endif	# MKCRYPTO_MDC2 != no
301.64Sitojun
311.64Sitojun.if (${MKCRYPTO_RC5} != "no")
321.64SitojunSUBDIR+= libcrypto_rc5
331.64Sitojun.endif	# MKCRYPTO_RC5 != no
341.64Sitojun
351.62Sthorpej.endif	# MKCRYPTO != no
361.76Sthorpej
371.76Sthorpej.if (${MKKERBEROS} != "no")
381.76Sthorpej# Heimdal Kerberos 5 libraries
391.107SchristosSUBDIR+= .WAIT libroken libvers libcom_err libasn1
401.76Sthorpej
411.88Sdyoung.endif	# MKKERBEROS != no
421.54Sthorpej
431.30SmikelSUBDIR+=	libtelnet
441.53Sitojun
451.53Sitojun# IPv6/IPsec
461.53SitojunSUBDIR+=	libipsec
471.70Sitojun
481.75Stshiozak# I18N modules
491.75StshiozakSUBDIR+=	i18n_module
501.1Scgd
511.89Slukem
521.89Slukem#
531.89Slukem# Libraries that depend upon any listed previously
541.93Slukem# (and those that depend upon these [and ...])
551.89Slukem#
561.97Schristos#==================== 1st library dependency barrier ====================
571.97SchristosSUBDIR+=	.WAIT
581.97Schristos
591.97SchristosSUBDIR+=	libedit		# depends on libterm
601.97Schristos
611.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
621.98Schristos
631.106Smrg.if (${MKISCSI} != "no")
641.99SagcSUBDIR+=	libiscsi	# depends on libpthread
651.106Smrg.endif
661.99Sagc
671.89Slukem.if (${MKCRYPTO} != "no")
681.97SchristosSUBDIR+=	libssl		# depends on libcrypto
691.97SchristosSUBDIR+=	libssh		# depends on libcrypto
701.89Slukem.endif
711.97Schristos
721.89Slukem.if (${MKKERBEROS} != "no")
731.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
741.89Slukem.endif
751.97Schristos
761.97Schristos#==================== 2nd library dependency barrier ====================
771.97SchristosSUBDIR+=	.WAIT
781.97Schristos
791.100Schristos.if (${MKKERBEROS} != "no")
801.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
811.101SbouyerSUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
821.100Schristos.endif
831.100Schristos
841.94She.if (${MKPAM} != "no")
851.97SchristosSUBDIR+=	libpam		# depends on libkrb5 and more
861.94She.endif
871.92Slukem
881.1Scgd.include <bsd.subdir.mk>
89