Makefile revision 1.120
11.120Sjmmv#	$NetBSD: Makefile,v 1.120 2007/11/12 14:56:24 jmmv 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.108Stron	libcurses libevent libform libintl libkvm libl libm \
91.104Sthorpej	libmenu 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.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.114SmrgSUBDIR+= .WAIT libroken libvers libcom_err .WAIT 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.117SjoergSUBDIR+=	libarchive	# depends on libbz2 and libz
601.117Sjoerg
611.97SchristosSUBDIR+=	libedit		# depends on libterm
621.97Schristos
631.108StronSUBDIR+=	libmagic	# depends on libz
641.108Stron
651.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
661.98Schristos
671.106Smrg.if (${MKISCSI} != "no")
681.99SagcSUBDIR+=	libiscsi	# depends on libpthread
691.106Smrg.endif
701.99Sagc
711.89Slukem.if (${MKCRYPTO} != "no")
721.97SchristosSUBDIR+=	libssl		# depends on libcrypto
731.97SchristosSUBDIR+=	libssh		# depends on libcrypto
741.89Slukem.endif
751.97Schristos
761.89Slukem.if (${MKKERBEROS} != "no")
771.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
781.89Slukem.endif
791.97Schristos
801.113Spooka.if (${MKPUFFS} != "no")
811.113SpookaSUBDIR+=	librefuse	# depends on libpuffs
821.113Spooka.endif
831.113Spooka
841.119Stls# XXX These bind9/ISC libraries should depend on each other but the
851.119Stls# XXX dependency ordering requires considerable investigation.
861.119Stls# XXX Please preserve the order below so we know the order ISC links
871.119Stls# XXX them in in their Makefiles.
881.119StlsSUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
891.119Stls
901.97Schristos#==================== 2nd library dependency barrier ====================
911.97SchristosSUBDIR+=	.WAIT
921.97Schristos
931.100Schristos.if (${MKKERBEROS} != "no")
941.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
951.101SbouyerSUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
961.100Schristos.endif
971.100Schristos
981.94She.if (${MKPAM} != "no")
991.112SbouyerSUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more
1001.94She.endif
1011.92Slukem
1021.1Scgd.include <bsd.subdir.mk>
103