Makefile revision 1.121
1# $NetBSD: Makefile,v 1.121 2008/03/12 00:21:29 joerg Exp $ 2# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 3 4.include <bsd.own.mk> 5 6SUBDIR= csu libc .WAIT libarch libatf libbsdmalloc libbluetooth libbz2 \ 7 libcompat libcrypt \ 8 libcurses libevent libintl libkvm libl libm \ 9 libossaudio libpcap libpci libpmc libposix libprop libpthread \ 10 libpthread_dbg libpuffs libresolv librmt librpcsvc librt libsdp \ 11 libterm libusbhid libutil libwrap liby libz 12 13# libform and libmenu need libcurses 14SUBDIR+= .WAIT libform libmenu 15 16.if (${MKSKEY} != "no") 17SUBDIR+= libskey 18.endif 19 20# XXX Crypto bits must be done before libtelnet. 21 22.if (${MKCRYPTO} != "no") 23# OpenSSL libraries. 24SUBDIR+= libcrypto libdes 25 26.if (${MKCRYPTO_IDEA} != "no") 27SUBDIR+= libcrypto_idea 28.endif # MKCRYPTO_IDEA != no 29 30.if (${MKCRYPTO_MDC2} != "no") 31SUBDIR+= libcrypto_mdc2 32.endif # MKCRYPTO_MDC2 != no 33 34.if (${MKCRYPTO_RC5} != "no") 35SUBDIR+= libcrypto_rc5 36.endif # MKCRYPTO_RC5 != no 37 38.endif # MKCRYPTO != no 39 40.if (${MKKERBEROS} != "no") 41# Heimdal Kerberos 5 libraries 42SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1 43 44.endif # MKKERBEROS != no 45 46SUBDIR+= libtelnet 47 48# IPv6/IPsec 49SUBDIR+= libipsec 50 51# I18N modules 52SUBDIR+= i18n_module 53 54 55# 56# Libraries that depend upon any listed previously 57# (and those that depend upon these [and ...]) 58# 59#==================== 1st library dependency barrier ==================== 60SUBDIR+= .WAIT 61 62SUBDIR+= libarchive # depends on libbz2 and libz 63 64SUBDIR+= libedit # depends on libterm 65 66SUBDIR+= libmagic # depends on libz 67 68SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO} 69 70.if (${MKISCSI} != "no") 71SUBDIR+= libiscsi # depends on libpthread 72.endif 73 74.if (${MKCRYPTO} != "no") 75SUBDIR+= libssl # depends on libcrypto 76SUBDIR+= libssh # depends on libcrypto 77.endif 78 79.if (${MKKERBEROS} != "no") 80SUBDIR+= libkrb5 # depends on libcrypto and more 81.endif 82 83.if (${MKPUFFS} != "no") 84SUBDIR+= librefuse # depends on libpuffs 85.endif 86 87# XXX These bind9/ISC libraries should depend on each other but the 88# XXX dependency ordering requires considerable investigation. 89# XXX Please preserve the order below so we know the order ISC links 90# XXX them in in their Makefiles. 91SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread 92 93#==================== 2nd library dependency barrier ==================== 94SUBDIR+= .WAIT 95 96.if (${MKKERBEROS} != "no") 97# Heimdal Kerberos 5 libraries depending on libkrb5 and more 98SUBDIR+= libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss 99.endif 100 101.if (${MKPAM} != "no") 102SUBDIR+= .WAIT libpam # depends on libkrb5, libkafs and more 103.endif 104 105.include <bsd.subdir.mk> 106