Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.142
      1 #	$NetBSD: Makefile,v 1.142 2009/09/03 12:33:54 pooka 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 SUBDIR+=	../crypto/external/bsd/openssl/lib
     25 .endif	# MKCRYPTO != no
     26 
     27 .if (${MKKERBEROS} != "no")
     28 # Heimdal Kerberos 5 libraries
     29 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
     30 SUBDIR+= .WAIT libhx509
     31 
     32 .endif	# MKKERBEROS != no
     33 
     34 SUBDIR+=	libtelnet
     35 
     36 # IPv6/IPsec
     37 SUBDIR+=	libipsec
     38 
     39 # I18N modules
     40 SUBDIR+=	i18n_module
     41 
     42 
     43 #
     44 # Libraries that depend upon any listed previously
     45 # (and those that depend upon these [and ...])
     46 #
     47 #==================== 1st library dependency barrier ====================
     48 SUBDIR+=	.WAIT
     49 
     50 SUBDIR+=	libedit		# depends on libterm
     51 
     52 SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
     53 
     54 
     55 .if (${MKKERBEROS} != "no")
     56 SUBDIR+=	libkrb5		# depends on libcrypto and more
     57 .endif
     58 
     59 SUBDIR+=	librefuse	# depends on libpuffs
     60 SUBDIR+=	librumpuser	# depends on libpthread
     61 
     62 # these depend on libcrypto*, libz and libbz2
     63 SUBDIR+=	../crypto/external/bsd/openssh/lib
     64 SUBDIR+=	../crypto/external/bsd/netpgp/lib
     65 
     66 #==================== 2nd library dependency barrier ====================
     67 SUBDIR+=	.WAIT
     68 
     69 .if (${MKKERBEROS} != "no")
     70 # Heimdal Kerberos 5 libraries depending on libkrb5 and more
     71 SUBDIR+=	libheimntlm
     72 SUBDIR+=	.WAIT libgssapi libhdb
     73 SUBDIR+=	.WAIT libkadm5srv libkadm5clnt libkafs libsl libss
     74 .endif
     75 
     76 SUBDIR+=	librump		# depends on librumpuser
     77 
     78 #==================== 3rd library dependency barrier ====================
     79 SUBDIR+=	.WAIT
     80 
     81 .if (${MKPAM} != "no")
     82 SUBDIR+=	libpam		# depends on libkrb5, libkafs and more
     83 .endif
     84 
     85 SUBDIR+=	librumpcrypto	# depends on librump
     86 SUBDIR+=	librumpnet	# depends on librump
     87 SUBDIR+=	librumpvfs	# depends on librump
     88 
     89 #==================== 4th library dependency barrier ====================
     90 SUBDIR+=	.WAIT
     91 SUBDIR+=	libukfs		# depends on librump and librumpvfs
     92 
     93 #==================== 5th library dependency barrier ====================
     94 SUBDIR+=	.WAIT
     95 SUBDIR+=	libp2k		# depends on libpuffs, librumpvfs and libukfs
     96 
     97 .include <bsd.subdir.mk>
     98