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