1 # $NetBSD: Makefile,v 1.126 2008/07/29 13:17:40 pooka 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 \ 7 libbsdmalloc libbluetooth libbz2 \ 8 libcompat libcrypt \ 9 libcurses libevent libintl libkvm libl libm \ 10 libossaudio libpcap libpci libpmc libposix libprop libpthread \ 11 libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \ 12 libterm libusbhid libutil libwrap liby libz 13 14 .if (${MKATF} != "no") 15 SUBDIR+= libatf-c libatf-c++ 16 .endif 17 18 # libform and libmenu need libcurses 19 SUBDIR+= .WAIT libform libmenu 20 21 .if (${MKSKEY} != "no") 22 SUBDIR+= libskey 23 .endif 24 25 # XXX Crypto bits must be done before libtelnet. 26 27 .if (${MKCRYPTO} != "no") 28 # OpenSSL libraries. 29 SUBDIR+= libcrypto libdes 30 31 .if (${MKCRYPTO_IDEA} != "no") 32 SUBDIR+= libcrypto_idea 33 .endif # MKCRYPTO_IDEA != no 34 35 .if (${MKCRYPTO_MDC2} != "no") 36 SUBDIR+= libcrypto_mdc2 37 .endif # MKCRYPTO_MDC2 != no 38 39 .if (${MKCRYPTO_RC5} != "no") 40 SUBDIR+= libcrypto_rc5 41 .endif # MKCRYPTO_RC5 != no 42 43 .endif # MKCRYPTO != no 44 45 .if (${MKKERBEROS} != "no") 46 # Heimdal Kerberos 5 libraries 47 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1 48 SUBDIR+= .WAIT libhx509 49 50 .endif # MKKERBEROS != no 51 52 SUBDIR+= libtelnet 53 54 # IPv6/IPsec 55 SUBDIR+= libipsec 56 57 # I18N modules 58 SUBDIR+= i18n_module 59 60 61 # 62 # Libraries that depend upon any listed previously 63 # (and those that depend upon these [and ...]) 64 # 65 #==================== 1st library dependency barrier ==================== 66 SUBDIR+= .WAIT 67 68 SUBDIR+= libarchive # depends on libbz2 and libz 69 70 SUBDIR+= libedit # depends on libterm 71 72 SUBDIR+= libmagic # depends on libz 73 74 SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO} 75 76 .if (${MKISCSI} != "no") 77 SUBDIR+= libiscsi # depends on libpthread 78 .endif 79 80 .if (${MKCRYPTO} != "no") 81 SUBDIR+= libssl # depends on libcrypto 82 SUBDIR+= libssh # depends on libcrypto 83 .endif 84 85 .if (${MKKERBEROS} != "no") 86 SUBDIR+= libkrb5 # depends on libcrypto and more 87 .endif 88 89 .if (${MKPUFFS} != "no") 90 SUBDIR+= librefuse # depends on libpuffs 91 .endif 92 93 SUBDIR+= librumpuser # depends on libpthread 94 95 # XXX These bind9/ISC libraries should depend on each other but the 96 # XXX dependency ordering requires considerable investigation. 97 # XXX Please preserve the order below so we know the order ISC links 98 # XXX them in in their Makefiles. 99 SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread 100 101 #==================== 2nd library dependency barrier ==================== 102 SUBDIR+= .WAIT 103 104 .if (${MKKERBEROS} != "no") 105 # Heimdal Kerberos 5 libraries depending on libkrb5 and more 106 SUBDIR+= libheimntlm 107 SUBDIR+= .WAIT libgssapi libhdb 108 SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 109 .endif 110 111 .if (${MKLDAP} != "no") 112 # depends on libcrypto - only if ${MKCRYPTO} 113 SUBDIR+= ../external/bsd/openldap/lib 114 .endif 115 116 SUBDIR+= librump # depends on librumpuser 117 118 #==================== 3rd library dependency barrier ==================== 119 SUBDIR+= .WAIT 120 121 .if (${MKPAM} != "no") 122 SUBDIR+= libpam # depends on libkrb5, libkafs and more 123 .endif 124 125 SUBDIR+= libukfs # depends on librump 126 127 #==================== 4th library dependency barrier ==================== 128 .if (${MKPUFFS} != "no") 129 SUBDIR+= .WAIT 130 SUBDIR+= libp2k # depends on libpuffs and libukfs 131 .endif 132 133 .include <bsd.subdir.mk> 134