1 1.155 plunky # $NetBSD: Makefile,v 1.155 2010/12/03 21:38:47 plunky Exp $ 2 1.8 mycroft # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 3 1.21 cgd 4 1.62 thorpej .include <bsd.own.mk> 5 1.62 thorpej 6 1.155 plunky SUBDIR= csu 7 1.155 plunky 8 1.155 plunky .if (${MKGCC} != "no") 9 1.155 plunky .if (${USE_COMPILERCRTSTUFF} == "yes") 10 1.155 plunky SUBDIR+= ../gnu/lib/crtstuff4 11 1.155 plunky .endif 12 1.155 plunky SUBDIR+= ../gnu/lib/libgcc4 13 1.155 plunky .endif 14 1.155 plunky 15 1.155 plunky SUBDIR+= libc 16 1.155 plunky SUBDIR+= .WAIT 17 1.155 plunky 18 1.155 plunky # 19 1.155 plunky # The SUBDIRs above are included here for completeness but should be built 20 1.155 plunky # and installed prior to make(dependall) in this file, as libraries listed 21 1.155 plunky # below will depend on versions from DESTDIR only. 22 1.155 plunky # 23 1.155 plunky 24 1.155 plunky SUBDIR+=libarch \ 25 1.123 jmmv libbsdmalloc libbluetooth libbz2 \ 26 1.105 gdamore libcompat libcrypt \ 27 1.149 roy libintl libkvm libm \ 28 1.121 joerg libossaudio libpcap libpci libpmc libposix libprop libpthread \ 29 1.137 plunky libpthread_dbg libpuffs libresolv librmt librpcsvc librt \ 30 1.153 pooka librumpclient libterminfo libusbhid libutil libwrap liby libz 31 1.60 thorpej 32 1.155 plunky .if (${MKMDNS} != "no") 33 1.155 plunky SUBDIR+= ../external/apache2/mDNSResponder/lib 34 1.155 plunky .endif 35 1.155 plunky 36 1.155 plunky SUBDIR+= ../external/bsd/am-utils/lib 37 1.155 plunky 38 1.155 plunky .if (${MKATF} != "no") 39 1.155 plunky SUBDIR+= ../external/bsd/atf/lib 40 1.155 plunky .endif 41 1.155 plunky 42 1.155 plunky SUBDIR+= ../external/bsd/flex/lib 43 1.155 plunky SUBDIR+= ../external/bsd/libdwarf/lib 44 1.155 plunky SUBDIR+= ../external/bsd/libelf/lib 45 1.155 plunky SUBDIR+= ../external/bsd/libevent/lib 46 1.155 plunky 47 1.155 plunky SUBDIR+= ../external/mit/lua/lib 48 1.155 plunky 49 1.155 plunky SUBDIR+= ../external/public-domain/xz/lib 50 1.155 plunky 51 1.155 plunky SUBDIR+= ../gnu/lib/libmalloc 52 1.155 plunky 53 1.155 plunky .if (${MKGCC} != "no") 54 1.155 plunky SUBDIR+= ../gnu/lib/libobjc4 55 1.155 plunky .endif 56 1.144 christos 57 1.149 roy # libcurses needs libtermlib 58 1.149 roy SUBDIR+= .WAIT libcurses 59 1.149 roy 60 1.121 joerg # libform and libmenu need libcurses 61 1.121 joerg SUBDIR+= .WAIT libform libmenu 62 1.121 joerg 63 1.76 thorpej .if (${MKSKEY} != "no") 64 1.76 thorpej SUBDIR+= libskey 65 1.76 thorpej .endif 66 1.76 thorpej 67 1.61 thorpej # XXX Crypto bits must be done before libtelnet. 68 1.61 thorpej 69 1.62 thorpej .if (${MKCRYPTO} != "no") 70 1.141 christos SUBDIR+= ../crypto/external/bsd/openssl/lib 71 1.62 thorpej .endif # MKCRYPTO != no 72 1.76 thorpej 73 1.76 thorpej .if (${MKKERBEROS} != "no") 74 1.76 thorpej # Heimdal Kerberos 5 libraries 75 1.114 mrg SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1 76 1.122 mlelstv SUBDIR+= .WAIT libhx509 77 1.76 thorpej 78 1.88 dyoung .endif # MKKERBEROS != no 79 1.54 thorpej 80 1.30 mikel SUBDIR+= libtelnet 81 1.53 itojun 82 1.53 itojun # IPv6/IPsec 83 1.53 itojun SUBDIR+= libipsec 84 1.70 itojun 85 1.75 tshiozak # I18N modules 86 1.75 tshiozak SUBDIR+= i18n_module 87 1.1 cgd 88 1.89 lukem 89 1.89 lukem # 90 1.89 lukem # Libraries that depend upon any listed previously 91 1.93 lukem # (and those that depend upon these [and ...]) 92 1.89 lukem # 93 1.97 christos #==================== 1st library dependency barrier ==================== 94 1.97 christos SUBDIR+= .WAIT 95 1.97 christos 96 1.97 christos SUBDIR+= libedit # depends on libterm 97 1.97 christos 98 1.98 christos SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO} 99 1.98 christos 100 1.97 christos 101 1.89 lukem .if (${MKKERBEROS} != "no") 102 1.97 christos SUBDIR+= libkrb5 # depends on libcrypto and more 103 1.89 lukem .endif 104 1.97 christos 105 1.113 pooka SUBDIR+= librefuse # depends on libpuffs 106 1.126 pooka SUBDIR+= librumpuser # depends on libpthread 107 1.126 pooka 108 1.148 mrg .if (${MKCRYPTO} != "no") 109 1.139 mrg # these depend on libcrypto*, libz and libbz2 110 1.139 mrg SUBDIR+= ../crypto/external/bsd/openssh/lib 111 1.150 christos SUBDIR+= ../crypto/external/bsd/netpgp/libmj 112 1.151 agc SUBDIR+= .WAIT 113 1.139 mrg SUBDIR+= ../crypto/external/bsd/netpgp/lib 114 1.148 mrg .endif 115 1.139 mrg 116 1.155 plunky SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto 117 1.155 plunky SUBDIR+= ../external/bsd/fetch/lib # depends on libssl 118 1.155 plunky SUBDIR+= ../external/bsd/file/lib # depends on libz 119 1.155 plunky 120 1.155 plunky .if (${MKISCSI} != "no") 121 1.155 plunky SUBDIR+= ../external/bsd/iscsi/lib # depends on libpthread 122 1.155 plunky .endif 123 1.155 plunky 124 1.155 plunky SUBDIR+= ../external/bsd/libarchive/lib # depends on libxz 125 1.155 plunky 126 1.154 christos .if (${MKLDAP} != "no") 127 1.154 christos SUBDIR+= ../external/bsd/openldap/lib 128 1.154 christos .endif 129 1.154 christos 130 1.155 plunky .if (${MKBINUTILS} != "no") 131 1.155 plunky SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz 132 1.155 plunky .endif 133 1.155 plunky 134 1.155 plunky .if (${MKGCC} != "no" && ${MKCXX} != "no") 135 1.155 plunky SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm 136 1.155 plunky SUBDIR+= ../gnu/lib/libsupc++4 137 1.155 plunky .endif 138 1.155 plunky 139 1.97 christos #==================== 2nd library dependency barrier ==================== 140 1.97 christos SUBDIR+= .WAIT 141 1.97 christos 142 1.100 christos .if (${MKKERBEROS} != "no") 143 1.100 christos # Heimdal Kerberos 5 libraries depending on libkrb5 and more 144 1.122 mlelstv SUBDIR+= libheimntlm 145 1.122 mlelstv SUBDIR+= .WAIT libgssapi libhdb 146 1.122 mlelstv SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 147 1.100 christos .endif 148 1.100 christos 149 1.126 pooka SUBDIR+= librump # depends on librumpuser 150 1.124 lukem 151 1.124 lukem #==================== 3rd library dependency barrier ==================== 152 1.124 lukem SUBDIR+= .WAIT 153 1.124 lukem 154 1.94 he .if (${MKPAM} != "no") 155 1.124 lukem SUBDIR+= libpam # depends on libkrb5, libkafs and more 156 1.94 he .endif 157 1.92 lukem 158 1.148 mrg .if (${MKCRYPTO} != "no") 159 1.142 pooka SUBDIR+= librumpcrypto # depends on librump 160 1.148 mrg .endif 161 1.143 pooka SUBDIR+= librumpdev # depends on librump 162 1.128 pooka SUBDIR+= librumpnet # depends on librump 163 1.130 pooka SUBDIR+= librumpvfs # depends on librump 164 1.126 pooka 165 1.126 pooka #==================== 4th library dependency barrier ==================== 166 1.126 pooka SUBDIR+= .WAIT 167 1.131 pooka SUBDIR+= libukfs # depends on librump and librumpvfs 168 1.131 pooka 169 1.131 pooka #==================== 5th library dependency barrier ==================== 170 1.131 pooka SUBDIR+= .WAIT 171 1.131 pooka SUBDIR+= libp2k # depends on libpuffs, librumpvfs and libukfs 172 1.126 pooka 173 1.1 cgd .include <bsd.subdir.mk> 174