Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.166
      1 #	$NetBSD: Makefile,v 1.166 2011/04/15 18:05:44 elric 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+=	librumpuser	# depends on libpthread
     83 
     84 .if (${MKNPF} != "no")
     85 SUBDIR+=	libnpf		# depends on libprop
     86 .endif
     87 
     88 .if (${MKCRYPTO} != "no")
     89 SUBDIR+=	../crypto/external/bsd/openssl/lib # depends on libcrypt
     90 .endif
     91 
     92 SUBDIR+=	../external/bsd/file/lib	# depends on libz
     93 
     94 .if (${MKISCSI} != "no")
     95 SUBDIR+=	../external/bsd/iscsi/lib	# depends on libpthread
     96 .endif
     97 
     98 SUBDIR+=	../external/bsd/libarchive/lib	# depends on libxz
     99 
    100 .if (${MKLVM} != "no")
    101 SUBDIR+=	../external/gpl2/lvm2/lib	# depends on libprop
    102 .endif
    103 
    104 .if (${MKBINUTILS} != "no")
    105 SUBDIR+=	../external/gpl3/binutils/lib	# libbfd depends on libz
    106 .endif
    107 
    108 .if (${MKGCC} != "no" && ${MKCXX} != "no")
    109 SUBDIR+=	../gnu/lib/libstdc++-v3_4	# depends on libm
    110 SUBDIR+=	../gnu/lib/libsupc++4
    111 .endif
    112 
    113 #==================== 2nd library dependency barrier ====================
    114 SUBDIR+=	.WAIT
    115 
    116 SUBDIR+=	libform		# depends on libcurses
    117 
    118 .if (${MKKERBEROS} != "no")
    119 SUBDIR+=	../crypto/external/bsd/heimdal/lib	# depends on libcrypto
    120 							# libedit, libterminfo,
    121 .endif
    122 
    123 SUBDIR+=	libmenu		# depends on libcurses
    124 SUBDIR+=	libradius	# depends on libcrypto if (${MKCRYPTO} != "no")
    125 SUBDIR+=	librump		# depends on librumpuser
    126 
    127 .if (${MKCRYPTO} != "no")
    128 SUBDIR+=	../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
    129 SUBDIR+=	../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
    130 .endif
    131 
    132 SUBDIR+=	../external/bsd/bind/lib	# depends on libcrypto
    133 SUBDIR+=	../external/bsd/fetch/lib	# depends on libssl
    134 
    135 .if (${MKLDAP} != "no")
    136 SUBDIR+=	../external/bsd/openldap/lib	# depends on libcrypto, ...
    137 .endif
    138 
    139 SUBDIR+=	librumphijack
    140 
    141 #==================== 3rd library dependency barrier ====================
    142 SUBDIR+=	.WAIT
    143 
    144 SUBDIR+=	librumpdev	# depends on librump
    145 SUBDIR+=	librumpnet	# depends on librump
    146 SUBDIR+=	librumpvfs	# depends on librump
    147 
    148 #==================== 4th library dependency barrier ====================
    149 SUBDIR+=	.WAIT
    150 
    151 SUBDIR+=	libukfs		# depends on librumpvfs, librump
    152 
    153 #==================== 5th library dependency barrier ====================
    154 SUBDIR+=	.WAIT
    155 
    156 SUBDIR+=	libp2k		# depends on libukfs, librumpvfs, libpuffs
    157 
    158 .if (${MKPAM} != "no")
    159 SUBDIR+=	libpam		# depends on libkafs, libkrb5, ...
    160 .endif
    161 
    162 #==================== 6th library dependency barrier ====================
    163 SUBDIR+=	.WAIT
    164 
    165 .if (${MKCRYPTO} != "no")
    166 SUBDIR+=	../crypto/external/bsd/libsaslc		# depends on gssapi
    167 .endif
    168 
    169 .include <bsd.subdir.mk>
    170