Home | History | Annotate | Line # | Download | only in lib
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 
      6 SUBDIR=	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
     14 SUBDIR+=	.WAIT libform libmenu 
     15 
     16 .if (${MKSKEY} != "no")
     17 SUBDIR+= libskey
     18 .endif
     19 
     20 # XXX Crypto bits must be done before libtelnet.
     21 
     22 .if (${MKCRYPTO} != "no")
     23 # OpenSSL libraries.
     24 SUBDIR+= libcrypto libdes
     25 
     26 .if (${MKCRYPTO_IDEA} != "no")
     27 SUBDIR+= libcrypto_idea
     28 .endif	# MKCRYPTO_IDEA != no
     29 
     30 .if (${MKCRYPTO_MDC2} != "no")
     31 SUBDIR+= libcrypto_mdc2
     32 .endif	# MKCRYPTO_MDC2 != no
     33 
     34 .if (${MKCRYPTO_RC5} != "no")
     35 SUBDIR+= libcrypto_rc5
     36 .endif	# MKCRYPTO_RC5 != no
     37 
     38 .endif	# MKCRYPTO != no
     39 
     40 .if (${MKKERBEROS} != "no")
     41 # Heimdal Kerberos 5 libraries
     42 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
     43 
     44 .endif	# MKKERBEROS != no
     45 
     46 SUBDIR+=	libtelnet
     47 
     48 # IPv6/IPsec
     49 SUBDIR+=	libipsec
     50 
     51 # I18N modules
     52 SUBDIR+=	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 ====================
     60 SUBDIR+=	.WAIT
     61 
     62 SUBDIR+=	libarchive	# depends on libbz2 and libz
     63 
     64 SUBDIR+=	libedit		# depends on libterm
     65 
     66 SUBDIR+=	libmagic	# depends on libz
     67 
     68 SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
     69 
     70 .if (${MKISCSI} != "no")
     71 SUBDIR+=	libiscsi	# depends on libpthread
     72 .endif
     73 
     74 .if (${MKCRYPTO} != "no")
     75 SUBDIR+=	libssl		# depends on libcrypto
     76 SUBDIR+=	libssh		# depends on libcrypto
     77 .endif
     78 
     79 .if (${MKKERBEROS} != "no")
     80 SUBDIR+=	libkrb5		# depends on libcrypto and more
     81 .endif
     82 
     83 .if (${MKPUFFS} != "no")
     84 SUBDIR+=	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.
     91 SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
     92 
     93 #==================== 2nd library dependency barrier ====================
     94 SUBDIR+=	.WAIT
     95 
     96 .if (${MKKERBEROS} != "no")
     97 # Heimdal Kerberos 5 libraries depending on libkrb5 and more
     98 SUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
     99 .endif
    100 
    101 .if (${MKPAM} != "no")
    102 SUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more
    103 .endif
    104 
    105 .include <bsd.subdir.mk>
    106