Makefile revision 1.103
1#	$NetBSD: Makefile,v 1.103 2006/03/30 00:00:23 rtr 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.endif	# MKKERBEROS != no
41
42SUBDIR+=	libtelnet
43
44# IPv6/IPsec
45SUBDIR+=	libipsec
46
47# I18N modules
48SUBDIR+=	i18n_module
49
50
51#
52# Libraries that depend upon any listed previously
53# (and those that depend upon these [and ...])
54#
55#==================== 1st library dependency barrier ====================
56SUBDIR+=	.WAIT
57
58SUBDIR+=	libedit		# depends on libterm
59
60SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
61
62SUBDIR+=	libiscsi	# depends on libpthread
63
64.if (${MKCRYPTO} != "no")
65SUBDIR+=	libssl		# depends on libcrypto
66SUBDIR+=	libssh		# depends on libcrypto
67.endif
68
69.if (${MKKERBEROS} != "no")
70SUBDIR+=	libkrb5		# depends on libcrypto and more
71.endif
72
73#==================== 2nd library dependency barrier ====================
74SUBDIR+=	.WAIT
75
76.if (${MKKERBEROS} != "no")
77# Heimdal Kerberos 5 libraries depending on libkrb5 and more
78SUBDIR+=	libgssapi libhdb .WAIT libkadm5srv libkadm5clnt libkafs libsl libss
79.endif
80
81.if (${MKPAM} != "no")
82SUBDIR+=	libpam		# depends on libkrb5 and more
83.endif
84
85.include <bsd.subdir.mk>
86