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