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