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