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