Makefile revision 1.98
11.29Srmind#	$NetBSD: Makefile,v 1.98 2005/11/26 16:07:15 christos Exp $
21.1Scgd#	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
31.1Scgd
41.1Scgd.include <bsd.own.mk>
51.9Sthorpej
61.20SrpauloSUBDIR=	csu libc .WAIT libarch libbsdmalloc libbz2 libcompat libcrypt \
71.28Skefren	libcurses libevent libform libintl libkvm libl libm libmagic \
81.22Sisaki	libmenu libossaudio libpcap libpci libpmc libposix libpthread \
91.23Sthorpej	libpthread_dbg libresolv librmt librpcsvc librt libterm \
101.15Sitojun	libusbhid libutil libwrap liby libz
111.25Sad
121.1Scgd.if (${MKSKEY} != "no")
131.29SrmindSUBDIR+= libskey
141.26Spooka.endif
151.1Scgd
161.15Sitojun# XXX Crypto bits must be done before libtelnet.
171.16Sitojun
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#
60#==================== 1st library dependency barrier ====================
61SUBDIR+=	.WAIT
62
63SUBDIR+=	libedit		# depends on libterm
64
65SUBDIR+=	libradius	# depends on libcrypto - only if ${MKCRYPTO}
66
67.if (${MKCRYPTO} != "no")
68SUBDIR+=	libssl		# depends on libcrypto
69SUBDIR+=	libssh		# depends on libcrypto
70.endif
71
72.if (${MKKERBEROS} != "no")
73SUBDIR+=	libkrb5		# depends on libcrypto and more
74.endif
75
76.if (${MKKERBEROS4} != "no")
77SUBDIR+=	libkrb		# depends on libdes
78.endif
79
80#==================== 2nd library dependency barrier ====================
81SUBDIR+=	.WAIT
82
83SUBDIR+=	libcdk 		# depends on libedit
84
85.if (${MKPAM} != "no")
86SUBDIR+=	libpam		# depends on libkrb5 and more
87.endif
88
89.include <bsd.subdir.mk>
90