Do not run mandoc for lintmanpages if MANPAGES is empty.
[netbsd-mini2440.git] / lib / Makefile
blob1eb837c8805f95a3f6736c5e4f8e6e98caefb820
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
4 .include <bsd.own.mk>
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
14 # libform and libmenu need libcurses
15 SUBDIR+= .WAIT libform libmenu
17 .if (${MKSKEY} != "no")
18 SUBDIR+= libskey
19 .endif
21 # XXX Crypto bits must be done before libtelnet.
23 .if (${MKCRYPTO} != "no")
24 SUBDIR+= ../crypto/external/bsd/openssl/lib
25 .endif # MKCRYPTO != no
27 .if (${MKKERBEROS} != "no")
28 # Heimdal Kerberos 5 libraries
29 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
30 SUBDIR+= .WAIT libhx509
32 .endif # MKKERBEROS != no
34 SUBDIR+= libtelnet
36 # IPv6/IPsec
37 SUBDIR+= libipsec
39 # I18N modules
40 SUBDIR+= i18n_module
44 # Libraries that depend upon any listed previously
45 # (and those that depend upon these [and ...])
47 #==================== 1st library dependency barrier ====================
48 SUBDIR+= .WAIT
50 SUBDIR+= libedit # depends on libterm
52 SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO}
55 .if (${MKKERBEROS} != "no")
56 SUBDIR+= libkrb5 # depends on libcrypto and more
57 .endif
59 SUBDIR+= librefuse # depends on libpuffs
60 SUBDIR+= librumpuser # depends on libpthread
62 # these depend on libcrypto*, libz and libbz2
63 SUBDIR+= ../crypto/external/bsd/openssh/lib
64 SUBDIR+= ../crypto/external/bsd/netpgp/lib
66 #==================== 2nd library dependency barrier ====================
67 SUBDIR+= .WAIT
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
76 SUBDIR+= librump # depends on librumpuser
78 #==================== 3rd library dependency barrier ====================
79 SUBDIR+= .WAIT
81 .if (${MKPAM} != "no")
82 SUBDIR+= libpam # depends on libkrb5, libkafs and more
83 .endif
85 SUBDIR+= librumpcrypto # depends on librump
86 SUBDIR+= librumpdev # depends on librump
87 SUBDIR+= librumpnet # depends on librump
88 SUBDIR+= librumpvfs # depends on librump
90 #==================== 4th library dependency barrier ====================
91 SUBDIR+= .WAIT
92 SUBDIR+= libukfs # depends on librump and librumpvfs
94 #==================== 5th library dependency barrier ====================
95 SUBDIR+= .WAIT
96 SUBDIR+= libp2k # depends on libpuffs, librumpvfs and libukfs
98 .include <bsd.subdir.mk>