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