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