Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.122
      1 #	$NetBSD: Makefile,v 1.122 2008/03/22 08:37:26 mlelstv 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 SUBDIR+= .WAIT libhx509
     44 
     45 .endif	# MKKERBEROS != no
     46 
     47 SUBDIR+=	libtelnet
     48 
     49 # IPv6/IPsec
     50 SUBDIR+=	libipsec
     51 
     52 # I18N modules
     53 SUBDIR+=	i18n_module
     54 
     55 
     56 #
     57 # Libraries that depend upon any listed previously
     58 # (and those that depend upon these [and ...])
     59 #
     60 #==================== 1st library dependency barrier ====================
     61 SUBDIR+=	.WAIT
     62 
     63 SUBDIR+=	libarchive	# depends on libbz2 and libz
     64 
     65 SUBDIR+=	libedit		# depends on libterm
     66 
     67 SUBDIR+=	libmagic	# depends on libz
     68 
     69 SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
     70 
     71 .if (${MKISCSI} != "no")
     72 SUBDIR+=	libiscsi	# depends on libpthread
     73 .endif
     74 
     75 .if (${MKCRYPTO} != "no")
     76 SUBDIR+=	libssl		# depends on libcrypto
     77 SUBDIR+=	libssh		# depends on libcrypto
     78 .endif
     79 
     80 .if (${MKKERBEROS} != "no")
     81 SUBDIR+=	libkrb5		# depends on libcrypto and more
     82 .endif
     83 
     84 .if (${MKPUFFS} != "no")
     85 SUBDIR+=	librefuse	# depends on libpuffs
     86 .endif
     87 
     88 # XXX These bind9/ISC libraries should depend on each other but the
     89 # XXX dependency ordering requires considerable investigation.
     90 # XXX Please preserve the order below so we know the order ISC links
     91 # XXX them in in their Makefiles.
     92 SUBDIR+= libbind9 libdns liblwres libisccfg libisccc libisc # dep. libpthread
     93 
     94 #==================== 2nd library dependency barrier ====================
     95 SUBDIR+=	.WAIT
     96 
     97 .if (${MKKERBEROS} != "no")
     98 # Heimdal Kerberos 5 libraries depending on libkrb5 and more
     99 SUBDIR+=	libheimntlm
    100 SUBDIR+=	.WAIT libgssapi libhdb
    101 SUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
    102 .endif
    103 
    104 .if (${MKPAM} != "no")
    105 SUBDIR+=	.WAIT libpam		# depends on libkrb5, libkafs and more
    106 .endif
    107 
    108 .include <bsd.subdir.mk>
    109