Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.167
      1 #	$NetBSD: Makefile,v 1.167 2011/05/09 08:51:18 manu Exp $
      2 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
      3 
      4 .include <bsd.own.mk>
      5 
      6 SUBDIR=		csu
      7 
      8 .if (${MKGCC} != "no")
      9 .if (${USE_COMPILERCRTSTUFF} == "yes")
     10 SUBDIR+=	../gnu/lib/crtstuff4
     11 .endif
     12 SUBDIR+=	../gnu/lib/libgcc4
     13 .endif
     14 
     15 SUBDIR+=	libc
     16 SUBDIR+=	.WAIT
     17 
     18 #
     19 # The SUBDIRs above are included here for completeness but should be built
     20 # and installed prior to make(dependall) in this file, as libraries listed
     21 # below will depend on versions from DESTDIR only.
     22 #
     23 
     24 SUBDIR+=	i18n_module
     25 
     26 SUBDIR+=	libarch \
     27 		libbluetooth libbsdmalloc libbz2 \
     28 		libcompat libcrypt \
     29 		libintl libipsec libisns libkvm libm \
     30 		libossaudio libpci libpmc libposix libprop libpthread \
     31 		libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
     32 		librumpclient libtelnet libterminfo \
     33 		libusbhid libutil libwrap liby libz
     34 
     35 .if (${MKSKEY} != "no")
     36 SUBDIR+=	libskey
     37 .endif
     38 
     39 .if (${MKCRYPTO} != "no")
     40 SUBDIR+=	../crypto/external/bsd/netpgp/libmj
     41 .endif
     42 
     43 .if (${MKMDNS} != "no")
     44 SUBDIR+=	../external/apache2/mDNSResponder/lib
     45 .endif
     46 
     47 SUBDIR+=	../external/bsd/am-utils/lib
     48 
     49 .if (${MKATF} != "no")
     50 SUBDIR+=	../external/bsd/atf/lib
     51 .endif
     52 
     53 SUBDIR+=	../external/bsd/flex/lib
     54 SUBDIR+=	../external/bsd/libdwarf/lib
     55 SUBDIR+=	../external/bsd/libelf/lib
     56 SUBDIR+=	../external/bsd/libevent/lib
     57 SUBDIR+=	../external/bsd/liblzf/lib
     58 SUBDIR+=	../external/bsd/libpcap/lib
     59 
     60 SUBDIR+=	../external/mit/lua/lib
     61 
     62 SUBDIR+=	../external/public-domain/xz/lib
     63 
     64 SUBDIR+=	../gnu/lib/libmalloc
     65 
     66 .if (${MKGCC} != "no")
     67 SUBDIR+=	../gnu/lib/libobjc4
     68 .endif
     69 
     70 #
     71 # Libraries that depend upon any listed previously
     72 # (and those that depend upon these [and ...])
     73 #
     74 #==================== 1st library dependency barrier ====================
     75 SUBDIR+=	.WAIT
     76 
     77 SUBDIR+=	libcurses	# depends on libterminfo
     78 SUBDIR+=	libdm		# depends on libprop
     79 SUBDIR+=	libedit		# depends on libterminfo
     80 SUBDIR+=	libquota	# depends on libprop and librpcsvc
     81 SUBDIR+=	librefuse	# depends on libpuffs
     82 SUBDIR+=	libperfuse	# depends on libpuffs
     83 SUBDIR+=	librumpuser	# depends on libpthread
     84 
     85 .if (${MKNPF} != "no")
     86 SUBDIR+=	libnpf		# depends on libprop
     87 .endif
     88 
     89 .if (${MKCRYPTO} != "no")
     90 SUBDIR+=	../crypto/external/bsd/openssl/lib # depends on libcrypt
     91 .endif
     92 
     93 SUBDIR+=	../external/bsd/file/lib	# depends on libz
     94 
     95 .if (${MKISCSI} != "no")
     96 SUBDIR+=	../external/bsd/iscsi/lib	# depends on libpthread
     97 .endif
     98 
     99 SUBDIR+=	../external/bsd/libarchive/lib	# depends on libxz
    100 
    101 .if (${MKLVM} != "no")
    102 SUBDIR+=	../external/gpl2/lvm2/lib	# depends on libprop
    103 .endif
    104 
    105 .if (${MKBINUTILS} != "no")
    106 SUBDIR+=	../external/gpl3/binutils/lib	# libbfd depends on libz
    107 .endif
    108 
    109 .if (${MKGCC} != "no" && ${MKCXX} != "no")
    110 SUBDIR+=	../gnu/lib/libstdc++-v3_4	# depends on libm
    111 SUBDIR+=	../gnu/lib/libsupc++4
    112 .endif
    113 
    114 #==================== 2nd library dependency barrier ====================
    115 SUBDIR+=	.WAIT
    116 
    117 SUBDIR+=	libform		# depends on libcurses
    118 
    119 .if (${MKKERBEROS} != "no")
    120 SUBDIR+=	../crypto/external/bsd/heimdal/lib	# depends on libcrypto
    121 							# libedit, libterminfo,
    122 .endif
    123 
    124 SUBDIR+=	libmenu		# depends on libcurses
    125 SUBDIR+=	libradius	# depends on libcrypto if (${MKCRYPTO} != "no")
    126 SUBDIR+=	librump		# depends on librumpuser
    127 
    128 .if (${MKCRYPTO} != "no")
    129 SUBDIR+=	../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
    130 SUBDIR+=	../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
    131 .endif
    132 
    133 SUBDIR+=	../external/bsd/bind/lib	# depends on libcrypto
    134 SUBDIR+=	../external/bsd/fetch/lib	# depends on libssl
    135 
    136 .if (${MKLDAP} != "no")
    137 SUBDIR+=	../external/bsd/openldap/lib	# depends on libcrypto, ...
    138 .endif
    139 
    140 SUBDIR+=	librumphijack
    141 
    142 #==================== 3rd library dependency barrier ====================
    143 SUBDIR+=	.WAIT
    144 
    145 SUBDIR+=	librumpdev	# depends on librump
    146 SUBDIR+=	librumpnet	# depends on librump
    147 SUBDIR+=	librumpvfs	# depends on librump
    148 
    149 #==================== 4th library dependency barrier ====================
    150 SUBDIR+=	.WAIT
    151 
    152 SUBDIR+=	libukfs		# depends on librumpvfs, librump
    153 
    154 #==================== 5th library dependency barrier ====================
    155 SUBDIR+=	.WAIT
    156 
    157 SUBDIR+=	libp2k		# depends on libukfs, librumpvfs, libpuffs
    158 
    159 .if (${MKPAM} != "no")
    160 SUBDIR+=	libpam		# depends on libkafs, libkrb5, ...
    161 .endif
    162 
    163 #==================== 6th library dependency barrier ====================
    164 SUBDIR+=	.WAIT
    165 
    166 .if (${MKCRYPTO} != "no")
    167 SUBDIR+=	../crypto/external/bsd/libsaslc		# depends on gssapi
    168 .endif
    169 
    170 .include <bsd.subdir.mk>
    171