xref: /netbsd-src/lib/Makefile (revision fd5cb0acea84d278e04e640d37ca2398f894991f)
1#	$NetBSD: Makefile,v 1.94 2005/01/10 00:20:21 he 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 libedit libevent libform libintl libkvm libl libm libmagic \
8	libmenu libossaudio libpcap libpci libpmc libposix libpthread \
9	libpthread_dbg libresolv librmt librpcsvc librt libterm libusbhid \
10	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 libsl libss libasn1 libhdb \
39	 libkadm5srv libkadm5clnt libgssapi libkafs
40
41.if (${MKKERBEROS4} != "no")
42# KTH Kerberos 4 libraries
43SUBDIR+= libkdb libkadm libkstream
44.endif	# MKKERBEROS4 != no
45.endif	# MKKERBEROS != no
46
47SUBDIR+=	libtelnet
48
49# IPv6/IPsec
50SUBDIR+=	libipsec
51
52# I18N modules
53SUBDIR+=	i18n_module
54
55
56#
57# Libraries that depend upon any listed previously
58# (and those that depend upon these [and ...])
59#
60SUBDIR+=	.WAIT
61SUBDIR+=	libcdk
62.if (${MKCRYPTO} != "no")
63SUBDIR+=	libssl
64.endif
65.if (${MKKERBEROS} != "no")
66SUBDIR+=	libkrb5
67.endif
68.if (${MKKERBEROS4} != "no")
69SUBDIR+=	libkrb
70.endif
71
72.if (${MKCRYPTO} != "no")
73SUBDIR+=	.WAIT libssh
74.endif
75
76.if (${MKPAM} != "no")
77SUBDIR+=	.WAIT libpam
78.endif
79
80.include <bsd.subdir.mk>
81