1 # $NetBSD: Makefile,v 1.149 2010/02/03 15:34:40 roy 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/lib 71 .endif 72 73 #==================== 2nd library dependency barrier ==================== 74 SUBDIR+= .WAIT 75 76 .if (${MKKERBEROS} != "no") 77 # Heimdal Kerberos 5 libraries depending on libkrb5 and more 78 SUBDIR+= libheimntlm 79 SUBDIR+= .WAIT libgssapi libhdb 80 SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 81 .endif 82 83 SUBDIR+= librump # depends on librumpuser 84 85 #==================== 3rd library dependency barrier ==================== 86 SUBDIR+= .WAIT 87 88 .if (${MKPAM} != "no") 89 SUBDIR+= libpam # depends on libkrb5, libkafs and more 90 .endif 91 92 .if (${MKCRYPTO} != "no") 93 SUBDIR+= librumpcrypto # depends on librump 94 .endif 95 SUBDIR+= librumpdev # depends on librump 96 SUBDIR+= librumpnet # depends on librump 97 SUBDIR+= librumpvfs # depends on librump 98 99 #==================== 4th library dependency barrier ==================== 100 SUBDIR+= .WAIT 101 SUBDIR+= libukfs # depends on librump and librumpvfs 102 103 #==================== 5th library dependency barrier ==================== 104 SUBDIR+= .WAIT 105 SUBDIR+= libp2k # depends on libpuffs, librumpvfs and libukfs 106 107 .include <bsd.subdir.mk> 108