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