2011-01-18 23:09:37 +03:00
|
|
|
# $NetBSD: Makefile,v 1.160 2011/01/18 20:09:37 pooka Exp $
|
1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2000-06-23 10:01:10 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-12-04 00:38:46 +03:00
|
|
|
SUBDIR= csu
|
|
|
|
|
|
|
|
.if (${MKGCC} != "no")
|
|
|
|
.if (${USE_COMPILERCRTSTUFF} == "yes")
|
|
|
|
SUBDIR+= ../gnu/lib/crtstuff4
|
|
|
|
.endif
|
|
|
|
SUBDIR+= ../gnu/lib/libgcc4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= libc
|
|
|
|
SUBDIR+= .WAIT
|
|
|
|
|
|
|
|
#
|
|
|
|
# The SUBDIRs above are included here for completeness but should be built
|
|
|
|
# and installed prior to make(dependall) in this file, as libraries listed
|
|
|
|
# below will depend on versions from DESTDIR only.
|
|
|
|
#
|
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= i18n_module
|
1996-03-10 08:45:38 +03:00
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libarch \
|
|
|
|
libbluetooth libbsdmalloc libbz2 \
|
|
|
|
libcompat libcrypt \
|
2011-01-17 23:39:03 +03:00
|
|
|
libintl libipsec libisns libkvm libm \
|
2010-12-12 15:09:51 +03:00
|
|
|
libossaudio libpci libpmc libposix libprop libpthread \
|
|
|
|
libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
|
|
|
|
librumpclient libtelnet libterminfo \
|
|
|
|
libusbhid libutil libwrap liby libz
|
|
|
|
|
|
|
|
.if (${MKKERBEROS} != "no")
|
|
|
|
SUBDIR+= libcom_err
|
|
|
|
SUBDIR+= libvers
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKSKEY} != "no")
|
|
|
|
SUBDIR+= libskey
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKCRYPTO} != "no")
|
|
|
|
SUBDIR+= ../crypto/external/bsd/netpgp/libmj
|
|
|
|
.endif
|
2010-12-05 08:58:12 +03:00
|
|
|
|
2010-12-04 00:38:46 +03:00
|
|
|
.if (${MKMDNS} != "no")
|
|
|
|
SUBDIR+= ../external/apache2/mDNSResponder/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= ../external/bsd/am-utils/lib
|
|
|
|
|
|
|
|
.if (${MKATF} != "no")
|
|
|
|
SUBDIR+= ../external/bsd/atf/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= ../external/bsd/flex/lib
|
|
|
|
SUBDIR+= ../external/bsd/libdwarf/lib
|
|
|
|
SUBDIR+= ../external/bsd/libelf/lib
|
|
|
|
SUBDIR+= ../external/bsd/libevent/lib
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= ../external/bsd/libpcap/lib
|
2010-12-04 00:38:46 +03:00
|
|
|
|
|
|
|
SUBDIR+= ../external/mit/lua/lib
|
|
|
|
|
|
|
|
SUBDIR+= ../external/public-domain/xz/lib
|
|
|
|
|
|
|
|
SUBDIR+= ../gnu/lib/libmalloc
|
|
|
|
|
|
|
|
.if (${MKGCC} != "no")
|
|
|
|
SUBDIR+= ../gnu/lib/libobjc4
|
|
|
|
.endif
|
2009-10-26 04:18:46 +03:00
|
|
|
|
2004-07-30 11:02:53 +04:00
|
|
|
#
|
|
|
|
# Libraries that depend upon any listed previously
|
2005-01-03 09:00:12 +03:00
|
|
|
# (and those that depend upon these [and ...])
|
2004-07-30 11:02:53 +04:00
|
|
|
#
|
2005-06-03 18:28:07 +04:00
|
|
|
#==================== 1st library dependency barrier ====================
|
|
|
|
SUBDIR+= .WAIT
|
|
|
|
|
2004-07-30 11:02:53 +04:00
|
|
|
.if (${MKKERBEROS} != "no")
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libasn1 # depends on libcom_err
|
|
|
|
SUBDIR+= libroken # depends on libutil, libcrypt
|
2004-07-30 11:02:53 +04:00
|
|
|
.endif
|
2005-06-03 18:28:07 +04:00
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libcurses # depends on libterminfo
|
|
|
|
SUBDIR+= libedit # depends on libterminfo
|
2007-02-11 21:36:26 +03:00
|
|
|
SUBDIR+= librefuse # depends on libpuffs
|
2008-07-29 17:17:40 +04:00
|
|
|
SUBDIR+= librumpuser # depends on libpthread
|
|
|
|
|
2009-12-30 02:01:09 +03:00
|
|
|
.if (${MKCRYPTO} != "no")
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= ../crypto/external/bsd/openssl/lib # depends on libcrypt
|
2009-12-30 02:01:09 +03:00
|
|
|
.endif
|
2009-06-09 09:20:15 +04:00
|
|
|
|
2010-12-04 00:38:46 +03:00
|
|
|
SUBDIR+= ../external/bsd/file/lib # depends on libz
|
|
|
|
|
|
|
|
.if (${MKISCSI} != "no")
|
|
|
|
SUBDIR+= ../external/bsd/iscsi/lib # depends on libpthread
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= ../external/bsd/libarchive/lib # depends on libxz
|
|
|
|
|
|
|
|
.if (${MKBINUTILS} != "no")
|
|
|
|
SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKGCC} != "no" && ${MKCXX} != "no")
|
|
|
|
SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm
|
|
|
|
SUBDIR+= ../gnu/lib/libsupc++4
|
|
|
|
.endif
|
|
|
|
|
2005-06-03 18:28:07 +04:00
|
|
|
#==================== 2nd library dependency barrier ====================
|
|
|
|
SUBDIR+= .WAIT
|
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libform # depends on libcurses
|
|
|
|
|
2006-03-18 00:43:16 +03:00
|
|
|
.if (${MKKERBEROS} != "no")
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libhx509 # depends on libcrypto, libasn1, libroken
|
|
|
|
SUBDIR+= libsl # depends on libedit, libterminfo
|
|
|
|
SUBDIR+= libss # depends on libedit, libterminfo, ...
|
2006-03-18 00:43:16 +03:00
|
|
|
.endif
|
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
SUBDIR+= libmenu # depends on libcurses
|
|
|
|
SUBDIR+= libradius # depends on libcrypto if (${MKCRYPTO} != "no")
|
2008-07-29 17:17:40 +04:00
|
|
|
SUBDIR+= librump # depends on librumpuser
|
2008-05-22 18:16:11 +04:00
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
.if (${MKCRYPTO} != "no")
|
|
|
|
SUBDIR+= ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
|
|
|
|
SUBDIR+= ../crypto/external/bsd/netpgp/lib # depends on libcrypto, ...
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto
|
|
|
|
SUBDIR+= ../external/bsd/fetch/lib # depends on libssl
|
|
|
|
|
|
|
|
.if (${MKLDAP} != "no")
|
|
|
|
SUBDIR+= ../external/bsd/openldap/lib # depends on libcrypto, ...
|
|
|
|
.endif
|
|
|
|
|
2011-01-18 23:09:37 +03:00
|
|
|
SUBDIR+= librumphijack
|
|
|
|
|
2008-05-22 18:16:11 +04:00
|
|
|
#==================== 3rd library dependency barrier ====================
|
|
|
|
SUBDIR+= .WAIT
|
|
|
|
|
2010-12-12 15:09:51 +03:00
|
|
|
.if (${MKKERBEROS} != "no")
|
|
|
|
SUBDIR+= libkrb5 # depends on libhx509, libcrypto, libasn1, ...
|
2005-01-10 03:20:21 +03:00
|
|
|
.endif
|
2004-12-29 18:49:42 +03:00
|
|
|
|
2009-09-03 19:35:58 +04:00
|
|
|
SUBDIR+= librumpdev # depends on librump
|
2008-10-16 13:44:12 +04:00
|
|
|
SUBDIR+= librumpnet # depends on librump
|
2008-11-19 17:10:48 +03:00
|
|
|
SUBDIR+= librumpvfs # depends on librump
|
2008-07-29 17:17:40 +04:00
|
|
|
|
|
|
|
#==================== 4th library dependency barrier ====================
|
|
|
|
SUBDIR+= .WAIT
|
2010-12-12 15:09:51 +03:00
|
|
|
|
|
|
|
.if (${MKKERBEROS} != "no")
|
|
|
|
SUBDIR+= libhdb # depends on libkrb5, libasn1, libroken
|
|
|
|
SUBDIR+= libheimntlm # depends on libkrb5, libasn1, libroken
|
|
|
|
SUBDIR+= libkafs # depends on libkrb5, libroken
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= libukfs # depends on librumpvfs, librump
|
2008-11-27 19:14:46 +03:00
|
|
|
|
|
|
|
#==================== 5th library dependency barrier ====================
|
|
|
|
SUBDIR+= .WAIT
|
2010-12-12 15:09:51 +03:00
|
|
|
|
|
|
|
.if (${MKKERBEROS} != "no")
|
|
|
|
SUBDIR+= libgssapi # depends on libheimntlm
|
|
|
|
SUBDIR+= libkadm5clnt # depends on libhdb, libkrb5, libroken
|
|
|
|
SUBDIR+= libkadm5srv # depends on libhdb, libkrb5, libroken
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= libp2k # depends on libukfs, librumpvfs, libpuffs
|
|
|
|
|
|
|
|
.if (${MKPAM} != "no")
|
|
|
|
SUBDIR+= libpam # depends on libkafs, libkrb5, ...
|
|
|
|
.endif
|
2008-07-29 17:17:40 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.subdir.mk>
|