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