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