Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.139
      1 #	$NetBSD: Makefile,v 1.139 2009/06/09 05:20:15 mrg 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 \
      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 \
     12 	libterm libusbhid libutil libwrap liby libz
     13 
     14 # libform and libmenu need libcurses
     15 SUBDIR+=	.WAIT libform libmenu 
     16 
     17 .if (${MKSKEY} != "no")
     18 SUBDIR+= libskey
     19 .endif
     20 
     21 # XXX Crypto bits must be done before libtelnet.
     22 
     23 .if (${MKCRYPTO} != "no")
     24 # OpenSSL libraries.
     25 SUBDIR+= libcrypto libdes
     26 
     27 .if (${MKCRYPTO_IDEA} != "no")
     28 SUBDIR+= libcrypto_idea
     29 .endif	# MKCRYPTO_IDEA != no
     30 
     31 .if (${MKCRYPTO_MDC2} != "no")
     32 SUBDIR+= libcrypto_mdc2
     33 .endif	# MKCRYPTO_MDC2 != no
     34 
     35 .if (${MKCRYPTO_RC5} != "no")
     36 SUBDIR+= libcrypto_rc5
     37 .endif	# MKCRYPTO_RC5 != no
     38 
     39 .endif	# MKCRYPTO != no
     40 
     41 .if (${MKKERBEROS} != "no")
     42 # Heimdal Kerberos 5 libraries
     43 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
     44 SUBDIR+= .WAIT libhx509
     45 
     46 .endif	# MKKERBEROS != no
     47 
     48 SUBDIR+=	libtelnet
     49 
     50 # IPv6/IPsec
     51 SUBDIR+=	libipsec
     52 
     53 # I18N modules
     54 SUBDIR+=	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 ====================
     62 SUBDIR+=	.WAIT
     63 
     64 SUBDIR+=	libedit		# depends on libterm
     65 
     66 SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
     67 
     68 .if (${MKISCSI} != "no")
     69 SUBDIR+=	libiscsi	# depends on libpthread
     70 .endif
     71 
     72 .if (${MKCRYPTO} != "no")
     73 SUBDIR+=	libssl		# depends on libcrypto
     74 .endif
     75 
     76 .if (${MKKERBEROS} != "no")
     77 SUBDIR+=	libkrb5		# depends on libcrypto and more
     78 .endif
     79 
     80 SUBDIR+=	librefuse	# depends on libpuffs
     81 SUBDIR+=	librumpuser	# depends on libpthread
     82 
     83 # these depend on libcrypto*, libz and libbz2
     84 SUBDIR+=	../crypto/external/bsd/openssh/lib
     85 SUBDIR+=	../crypto/external/bsd/netpgp/lib
     86 
     87 #==================== 2nd library dependency barrier ====================
     88 SUBDIR+=	.WAIT
     89 
     90 .if (${MKKERBEROS} != "no")
     91 # Heimdal Kerberos 5 libraries depending on libkrb5 and more
     92 SUBDIR+=	libheimntlm
     93 SUBDIR+=	.WAIT libgssapi libhdb
     94 SUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
     95 .endif
     96 
     97 SUBDIR+=	librump		# depends on librumpuser
     98 
     99 #==================== 3rd library dependency barrier ====================
    100 SUBDIR+=	.WAIT
    101 
    102 .if (${MKPAM} != "no")
    103 SUBDIR+=	libpam		# depends on libkrb5, libkafs and more
    104 .endif
    105 
    106 SUBDIR+=	librumpnet	# depends on librump
    107 SUBDIR+=	librumpvfs	# depends on librump
    108 
    109 #==================== 4th library dependency barrier ====================
    110 SUBDIR+=	.WAIT
    111 SUBDIR+=	libukfs		# depends on librump and librumpvfs
    112 
    113 #==================== 5th library dependency barrier ====================
    114 SUBDIR+=	.WAIT
    115 SUBDIR+=	libp2k		# depends on libpuffs, librumpvfs and libukfs
    116 
    117 .include <bsd.subdir.mk>
    118