Makefile revision 1.121
11.121Sjoerg#	$NetBSD: Makefile,v 1.121 2008/03/12 00:21:29 joerg 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.76Sthorpej
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.117SjoergSUBDIR+=	libarchive	# depends on libbz2 and libz
631.117Sjoerg
641.97SchristosSUBDIR+=	libedit		# depends on libterm
651.97Schristos
661.108StronSUBDIR+=	libmagic	# depends on libz
671.108Stron
681.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
691.98Schristos
701.106Smrg.if (${MKISCSI} != "no")
711.99SagcSUBDIR+=	libiscsi	# depends on libpthread
721.106Smrg.endif
731.99Sagc
741.89Slukem.if (${MKCRYPTO} != "no")
751.97SchristosSUBDIR+=	libssl		# depends on libcrypto
761.97SchristosSUBDIR+=	libssh		# depends on libcrypto
771.89Slukem.endif
781.97Schristos
791.89Slukem.if (${MKKERBEROS} != "no")
801.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
811.89Slukem.endif
821.97Schristos
831.113Spooka.if (${MKPUFFS} != "no")
841.113SpookaSUBDIR+=	librefuse	# depends on libpuffs
851.113Spooka.endif
861.113Spooka
871.119Stls# XXX These bind9/ISC libraries should depend on each other but the
881.119Stls# XXX dependency ordering requires considerable investigation.
891.119Stls# XXX Please preserve the order below so we know the order ISC links
901.119Stls# XXX them in in their Makefiles.
911.119StlsSUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
921.119Stls
931.97Schristos#==================== 2nd library dependency barrier ====================
941.97SchristosSUBDIR+=	.WAIT
951.97Schristos
961.100Schristos.if (${MKKERBEROS} != "no")
971.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
981.101SbouyerSUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
991.100Schristos.endif
1001.100Schristos
1011.94She.if (${MKPAM} != "no")
1021.112SbouyerSUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more
1031.94She.endif
1041.92Slukem
1051.1Scgd.include <bsd.subdir.mk>
106