Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / lib / Makefile
blobfe4a42779927ba5ead6a91e1d90558b14211dda5
1 # $NetBSD: Makefile,v 1.147 2009/11/02 10:13:19 plunky 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 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
14 SUBDIR+=../external/bsd/flex/lib
16 # libform and libmenu need libcurses
17 SUBDIR+= .WAIT libform libmenu
19 .if (${MKSKEY} != "no")
20 SUBDIR+= libskey
21 .endif
23 # XXX Crypto bits must be done before libtelnet.
25 .if (${MKCRYPTO} != "no")
26 SUBDIR+= ../crypto/external/bsd/openssl/lib
27 .endif # MKCRYPTO != no
29 .if (${MKKERBEROS} != "no")
30 # Heimdal Kerberos 5 libraries
31 SUBDIR+= .WAIT libroken libvers libcom_err .WAIT libasn1
32 SUBDIR+= .WAIT libhx509
34 .endif # MKKERBEROS != no
36 SUBDIR+= libtelnet
38 # IPv6/IPsec
39 SUBDIR+= libipsec
41 # I18N modules
42 SUBDIR+= i18n_module
46 # Libraries that depend upon any listed previously
47 # (and those that depend upon these [and ...])
49 #==================== 1st library dependency barrier ====================
50 SUBDIR+= .WAIT
52 SUBDIR+= libedit # depends on libterm
54 SUBDIR+= libradius # depends on libcrypto - only if ${MKCRYPTO}
57 .if (${MKKERBEROS} != "no")
58 SUBDIR+= libkrb5 # depends on libcrypto and more
59 .endif
61 SUBDIR+= librefuse # depends on libpuffs
62 SUBDIR+= librumpuser # depends on libpthread
64 .if (${MKCRYPTO} != "no")
65 # these depend on libcrypto*, libz and libbz2
66 SUBDIR+= ../crypto/external/bsd/openssh/lib
67 SUBDIR+= ../crypto/external/bsd/netpgp/lib
68 .endif
70 #==================== 2nd library dependency barrier ====================
71 SUBDIR+= .WAIT
73 .if (${MKKERBEROS} != "no")
74 # Heimdal Kerberos 5 libraries depending on libkrb5 and more
75 SUBDIR+= libheimntlm
76 SUBDIR+= .WAIT libgssapi libhdb
77 SUBDIR+= .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
78 .endif
80 SUBDIR+= librump # depends on librumpuser
82 #==================== 3rd library dependency barrier ====================
83 SUBDIR+= .WAIT
85 .if (${MKPAM} != "no")
86 SUBDIR+= libpam # depends on libkrb5, libkafs and more
87 .endif
89 .if (${MKCRYPTO} != "no")
90 SUBDIR+= librumpcrypto # depends on librump
91 .endif
92 SUBDIR+= librumpdev # depends on librump
93 SUBDIR+= librumpnet # depends on librump
94 SUBDIR+= librumpvfs # depends on librump
96 #==================== 4th library dependency barrier ====================
97 SUBDIR+= .WAIT
98 SUBDIR+= libukfs # depends on librump and librumpvfs
100 #==================== 5th library dependency barrier ====================
101 SUBDIR+= .WAIT
102 SUBDIR+= libp2k # depends on libpuffs, librumpvfs and libukfs
104 .include <bsd.subdir.mk>