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