Makefile revision 1.124
11.124Slukem#	$NetBSD: Makefile,v 1.124 2008/05/22 14:16:11 lukem Exp $
21.8Smycroft#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.21Scgd
41.62Sthorpej.include <bsd.own.mk>
51.62Sthorpej
61.123SjmmvSUBDIR=	csu libc .WAIT libarch libatf-c libatf-c++ \
71.123Sjmmv	libbsdmalloc libbluetooth libbz2 \
81.105Sgdamore	libcompat libcrypt \
91.121Sjoerg	libcurses libevent libintl libkvm libl libm \
101.121Sjoerg	libossaudio libpcap libpci libpmc libposix libprop libpthread \
111.115Stls	libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \
121.109Spooka	libterm libusbhid libutil libwrap liby libz
131.60Sthorpej
141.121Sjoerg# libform and libmenu need libcurses
151.121SjoergSUBDIR+=	.WAIT libform libmenu 
161.121Sjoerg
171.76Sthorpej.if (${MKSKEY} != "no")
181.76SthorpejSUBDIR+= libskey
191.76Sthorpej.endif
201.76Sthorpej
211.61Sthorpej# XXX Crypto bits must be done before libtelnet.
221.61Sthorpej
231.62Sthorpej.if (${MKCRYPTO} != "no")
241.86Sitojun# OpenSSL libraries.
251.89SlukemSUBDIR+= libcrypto libdes
261.17Sthorpej
271.64Sitojun.if (${MKCRYPTO_IDEA} != "no")
281.64SitojunSUBDIR+= libcrypto_idea
291.64Sitojun.endif	# MKCRYPTO_IDEA != no
301.78Sitojun
311.78Sitojun.if (${MKCRYPTO_MDC2} != "no")
321.78SitojunSUBDIR+= libcrypto_mdc2
331.78Sitojun.endif	# MKCRYPTO_MDC2 != no
341.64Sitojun
351.64Sitojun.if (${MKCRYPTO_RC5} != "no")
361.64SitojunSUBDIR+= libcrypto_rc5
371.64Sitojun.endif	# MKCRYPTO_RC5 != no
381.64Sitojun
391.62Sthorpej.endif	# MKCRYPTO != no
401.76Sthorpej
411.76Sthorpej.if (${MKKERBEROS} != "no")
421.76Sthorpej# Heimdal Kerberos 5 libraries
431.114SmrgSUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
441.122SmlelstvSUBDIR+= .WAIT libhx509
451.76Sthorpej
461.88Sdyoung.endif	# MKKERBEROS != no
471.54Sthorpej
481.30SmikelSUBDIR+=	libtelnet
491.53Sitojun
501.53Sitojun# IPv6/IPsec
511.53SitojunSUBDIR+=	libipsec
521.70Sitojun
531.75Stshiozak# I18N modules
541.75StshiozakSUBDIR+=	i18n_module
551.1Scgd
561.89Slukem
571.89Slukem#
581.89Slukem# Libraries that depend upon any listed previously
591.93Slukem# (and those that depend upon these [and ...])
601.89Slukem#
611.97Schristos#==================== 1st library dependency barrier ====================
621.97SchristosSUBDIR+=	.WAIT
631.97Schristos
641.117SjoergSUBDIR+=	libarchive	# depends on libbz2 and libz
651.117Sjoerg
661.97SchristosSUBDIR+=	libedit		# depends on libterm
671.97Schristos
681.108StronSUBDIR+=	libmagic	# depends on libz
691.108Stron
701.98SchristosSUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
711.98Schristos
721.106Smrg.if (${MKISCSI} != "no")
731.99SagcSUBDIR+=	libiscsi	# depends on libpthread
741.106Smrg.endif
751.99Sagc
761.89Slukem.if (${MKCRYPTO} != "no")
771.97SchristosSUBDIR+=	libssl		# depends on libcrypto
781.97SchristosSUBDIR+=	libssh		# depends on libcrypto
791.89Slukem.endif
801.97Schristos
811.89Slukem.if (${MKKERBEROS} != "no")
821.97SchristosSUBDIR+=	libkrb5		# depends on libcrypto and more
831.89Slukem.endif
841.97Schristos
851.113Spooka.if (${MKPUFFS} != "no")
861.113SpookaSUBDIR+=	librefuse	# depends on libpuffs
871.113Spooka.endif
881.113Spooka
891.119Stls# XXX These bind9/ISC libraries should depend on each other but the
901.119Stls# XXX dependency ordering requires considerable investigation.
911.119Stls# XXX Please preserve the order below so we know the order ISC links
921.119Stls# XXX them in in their Makefiles.
931.119StlsSUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
941.119Stls
951.97Schristos#==================== 2nd library dependency barrier ====================
961.97SchristosSUBDIR+=	.WAIT
971.97Schristos
981.100Schristos.if (${MKKERBEROS} != "no")
991.100Schristos# Heimdal Kerberos 5 libraries depending on libkrb5 and more
1001.122SmlelstvSUBDIR+=	libheimntlm
1011.122SmlelstvSUBDIR+=	.WAIT libgssapi libhdb
1021.122SmlelstvSUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
1031.100Schristos.endif
1041.100Schristos
1051.124Slukem.if (${MKLDAP} != "no")
1061.124Slukem				# depends on libcrypto - only if ${MKCRYPTO}
1071.124SlukemSUBDIR+=	../external/bsd/openldap/lib
1081.124Slukem.endif
1091.124Slukem
1101.124Slukem
1111.124Slukem#==================== 3rd library dependency barrier ====================
1121.124SlukemSUBDIR+=	.WAIT
1131.124Slukem
1141.94She.if (${MKPAM} != "no")
1151.124SlukemSUBDIR+=	libpam		# depends on libkrb5, libkafs and more
1161.94She.endif
1171.92Slukem
1181.1Scgd.include <bsd.subdir.mk>
119