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