Makefile revision 1.100
1#	$NetBSD: Makefile,v 1.100 2006/03/17 21:43:16 christos Exp $
2#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
3
4.include <bsd.own.mk>
5
6SUBDIR=	csu libc .WAIT libarch libbsdmalloc libbz2 libcompat libcrypt \
7	libcurses libevent libform libintl libkvm libl libm libmagic \
8	libmenu libossaudio libpcap libpci libpmc libposix libpthread \
9	libpthread_dbg libresolv librmt librpcsvc librt libterm \
10	libusbhid libutil libwrap liby libz
11
12.if (${MKSKEY} != "no")
13SUBDIR+= libskey
14.endif
15
16# XXX Crypto bits must be done before libtelnet.
17
18.if (${MKCRYPTO} != "no")
19# OpenSSL libraries.
20SUBDIR+= libcrypto libdes
21
22.if (${MKCRYPTO_IDEA} != "no")
23SUBDIR+= libcrypto_idea
24.endif	# MKCRYPTO_IDEA != no
25
26.if (${MKCRYPTO_MDC2} != "no")
27SUBDIR+= libcrypto_mdc2
28.endif	# MKCRYPTO_MDC2 != no
29
30.if (${MKCRYPTO_RC5} != "no")
31SUBDIR+= libcrypto_rc5
32.endif	# MKCRYPTO_RC5 != no
33
34.endif	# MKCRYPTO != no
35
36.if (${MKKERBEROS} != "no")
37# Heimdal Kerberos 5 libraries
38SUBDIR+= libroken libvers libcom_err libasn1
39
40.if (${MKKERBEROS4} != "no")
41# KTH Kerberos 4 libraries
42SUBDIR+= libkdb libkadm libkstream
43.endif	# MKKERBEROS4 != no
44.endif	# MKKERBEROS != no
45
46SUBDIR+=	libtelnet
47
48# IPv6/IPsec
49SUBDIR+=	libipsec
50
51# I18N modules
52SUBDIR+=	i18n_module
53
54
55#
56# Libraries that depend upon any listed previously
57# (and those that depend upon these [and ...])
58#
59#==================== 1st library dependency barrier ====================
60SUBDIR+=	.WAIT
61
62SUBDIR+=	libedit		# depends on libterm
63
64SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
65
66SUBDIR+=	libiscsi	# depends on libpthread
67
68.if (${MKCRYPTO} != "no")
69SUBDIR+=	libssl		# depends on libcrypto
70SUBDIR+=	libssh		# depends on libcrypto
71.endif
72
73.if (${MKKERBEROS} != "no")
74SUBDIR+=	libkrb5		# depends on libcrypto and more
75.endif
76
77.if (${MKKERBEROS4} != "no")
78SUBDIR+=	libkrb		# depends on libdes
79.endif
80
81#==================== 2nd library dependency barrier ====================
82SUBDIR+=	.WAIT
83
84SUBDIR+=	libcdk 		# depends on libedit
85
86.if (${MKKERBEROS} != "no")
87# Heimdal Kerberos 5 libraries depending on libkrb5 and more
88SUBDIR+=	libgssapi libhdb libkadm5srv libkadm5clnt libkafs libsl libss
89.endif
90
91.if (${MKPAM} != "no")
92SUBDIR+=	libpam		# depends on libkrb5 and more
93.endif
94
95.include <bsd.subdir.mk>
96