1 # $NetBSD: Makefile,v 1.141 2009/07/19 23:35:02 christos 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 \ 12 libterm libusbhid libutil libwrap liby libz 13 14 # libform and libmenu need libcurses 15 SUBDIR+= .WAIT libform libmenu 16 17 .if (${MKSKEY} != "no") 18 SUBDIR+= libskey 19 .endif 20 21 # XXX Crypto bits must be done before libtelnet. 22 23 .if (${MKCRYPTO} != "no") 24 SUBDIR+= ../crypto/external/bsd/openssl/lib 25 .endif # MKCRYPTO != no 26 27 .if (${MKKERBEROS} != "no") 28 # Heimdal Kerberos 5 libraries 29 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1 30 SUBDIR+= .WAIT libhx509 31 32 .endif # MKKERBEROS != no 33 34 SUBDIR+= libtelnet 35 36 # IPv6/IPsec 37 SUBDIR+= libipsec 38 39 # I18N modules 40 SUBDIR+= i18n_module 41 42 43 # 44 # Libraries that depend upon any listed previously 45 # (and those that depend upon these [and ...]) 46 # 47 #==================== 1st library dependency barrier ==================== 48 SUBDIR+= .WAIT 49 50 SUBDIR+= libedit # depends on libterm 51 52 SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO} 53 54 55 .if (${MKKERBEROS} != "no") 56 SUBDIR+= libkrb5 # depends on libcrypto and more 57 .endif 58 59 SUBDIR+= librefuse # depends on libpuffs 60 SUBDIR+= librumpuser # depends on libpthread 61 62 # these depend on libcrypto*, libz and libbz2 63 SUBDIR+= ../crypto/external/bsd/openssh/lib 64 SUBDIR+= ../crypto/external/bsd/netpgp/lib 65 66 #==================== 2nd library dependency barrier ==================== 67 SUBDIR+= .WAIT 68 69 .if (${MKKERBEROS} != "no") 70 # Heimdal Kerberos 5 libraries depending on libkrb5 and more 71 SUBDIR+= libheimntlm 72 SUBDIR+= .WAIT libgssapi libhdb 73 SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 74 .endif 75 76 SUBDIR+= librump # depends on librumpuser 77 78 #==================== 3rd library dependency barrier ==================== 79 SUBDIR+= .WAIT 80 81 .if (${MKPAM} != "no") 82 SUBDIR+= libpam # depends on libkrb5, libkafs and more 83 .endif 84 85 SUBDIR+= librumpnet # depends on librump 86 SUBDIR+= librumpvfs # depends on librump 87 88 #==================== 4th library dependency barrier ==================== 89 SUBDIR+= .WAIT 90 SUBDIR+= libukfs # depends on librump and librumpvfs 91 92 #==================== 5th library dependency barrier ==================== 93 SUBDIR+= .WAIT 94 SUBDIR+= libp2k # depends on libpuffs, librumpvfs and libukfs 95 96 .include <bsd.subdir.mk> 97