Makefile revision 1.118
1# $NetBSD: Makefile,v 1.118 2007/11/04 23:28:17 tls Exp $ 2# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 3 4.include <bsd.own.mk> 5 6SUBDIR= csu libc .WAIT libarch libbsdmalloc libbluetooth libbz2 \ 7 libcompat libcrypt \ 8 libcurses libevent libform libintl libkvm libl libm \ 9 libmenu libossaudio libpcap libpci libpmc libposix libprop libpthread \ 10 libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \ 11 libterm libusbhid libutil libwrap liby libz 12 13# XXX These bind9/ISC libraries should depend on each other but the 14# XXX dependency ordering requires considerable investigation. 15# XXX Please preserve the order below so we know the order ISC links 16# XXX them in in their Makefiles. 17SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc 18 19.if (${MKSKEY} != "no") 20SUBDIR+= libskey 21.endif 22 23# XXX Crypto bits must be done before libtelnet. 24 25.if (${MKCRYPTO} != "no") 26# OpenSSL libraries. 27SUBDIR+= libcrypto libdes 28 29.if (${MKCRYPTO_IDEA} != "no") 30SUBDIR+= libcrypto_idea 31.endif # MKCRYPTO_IDEA != no 32 33.if (${MKCRYPTO_MDC2} != "no") 34SUBDIR+= libcrypto_mdc2 35.endif # MKCRYPTO_MDC2 != no 36 37.if (${MKCRYPTO_RC5} != "no") 38SUBDIR+= libcrypto_rc5 39.endif # MKCRYPTO_RC5 != no 40 41.endif # MKCRYPTO != no 42 43.if (${MKKERBEROS} != "no") 44# Heimdal Kerberos 5 libraries 45SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1 46 47.endif # MKKERBEROS != no 48 49SUBDIR+= libtelnet 50 51# IPv6/IPsec 52SUBDIR+= libipsec 53 54# I18N modules 55SUBDIR+= i18n_module 56 57 58# 59# Libraries that depend upon any listed previously 60# (and those that depend upon these [and ...]) 61# 62#==================== 1st library dependency barrier ==================== 63SUBDIR+= .WAIT 64 65SUBDIR+= libarchive # depends on libbz2 and libz 66 67SUBDIR+= libedit # depends on libterm 68 69SUBDIR+= libmagic # depends on libz 70 71SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO} 72 73.if (${MKISCSI} != "no") 74SUBDIR+= libiscsi # depends on libpthread 75.endif 76 77.if (${MKCRYPTO} != "no") 78SUBDIR+= libssl # depends on libcrypto 79SUBDIR+= libssh # depends on libcrypto 80.endif 81 82.if (${MKKERBEROS} != "no") 83SUBDIR+= libkrb5 # depends on libcrypto and more 84.endif 85 86.if (${MKPUFFS} != "no") 87SUBDIR+= librefuse # depends on libpuffs 88.endif 89 90#==================== 2nd library dependency barrier ==================== 91SUBDIR+= .WAIT 92 93.if (${MKKERBEROS} != "no") 94# Heimdal Kerberos 5 libraries depending on libkrb5 and more 95SUBDIR+= libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 96.endif 97 98.if (${MKPAM} != "no") 99SUBDIR+= .WAIT libpam # depends on libkrb5, libkafs and more 100.endif 101 102.include <bsd.subdir.mk> 103