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