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