Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.163
      1 #	$NetBSD: Makefile,v 1.163 2011/02/10 20:57:22 matt 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 (${MKKERBEROS} != "no")
     36 SUBDIR+=	libcom_err
     37 SUBDIR+=	libvers
     38 .endif
     39 
     40 .if (${MKSKEY} != "no")
     41 SUBDIR+=	libskey
     42 .endif
     43 
     44 .if (${MKCRYPTO} != "no")
     45 SUBDIR+=	../crypto/external/bsd/netpgp/libmj
     46 .endif
     47 
     48 .if (${MKMDNS} != "no")
     49 SUBDIR+=	../external/apache2/mDNSResponder/lib
     50 .endif
     51 
     52 SUBDIR+=	../external/bsd/am-utils/lib
     53 
     54 .if (${MKATF} != "no")
     55 SUBDIR+=	../external/bsd/atf/lib
     56 .endif
     57 
     58 SUBDIR+=	../external/bsd/flex/lib
     59 SUBDIR+=	../external/bsd/libdwarf/lib
     60 SUBDIR+=	../external/bsd/libelf/lib
     61 SUBDIR+=	../external/bsd/libevent/lib
     62 SUBDIR+=	../external/bsd/liblzf/lib
     63 SUBDIR+=	../external/bsd/libpcap/lib
     64 
     65 SUBDIR+=	../external/mit/lua/lib
     66 
     67 SUBDIR+=	../external/public-domain/xz/lib
     68 
     69 SUBDIR+=	../gnu/lib/libmalloc
     70 
     71 .if (${MKGCC} != "no")
     72 SUBDIR+=	../gnu/lib/libobjc4
     73 .endif
     74 
     75 #
     76 # Libraries that depend upon any listed previously
     77 # (and those that depend upon these [and ...])
     78 #
     79 #==================== 1st library dependency barrier ====================
     80 SUBDIR+=	.WAIT
     81 
     82 .if (${MKKERBEROS} != "no")
     83 SUBDIR+=	libasn1		# depends on libcom_err
     84 SUBDIR+=	libroken	# depends on libutil, libcrypt
     85 .endif
     86 
     87 SUBDIR+=	libcurses	# depends on libterminfo
     88 SUBDIR+=	libdm		# depends on libprop
     89 SUBDIR+=	libedit		# depends on libterminfo
     90 SUBDIR+=	librefuse	# depends on libpuffs
     91 SUBDIR+=	librumpuser	# depends on libpthread
     92 
     93 .if (${MKNPF} != "no")
     94 SUBDIR+=	libnpf		# depends on libprop
     95 .endif
     96 
     97 .if (${MKCRYPTO} != "no")
     98 SUBDIR+=	../crypto/external/bsd/openssl/lib # depends on libcrypt
     99 .endif
    100 
    101 SUBDIR+=	../external/bsd/file/lib	# depends on libz
    102 
    103 .if (${MKISCSI} != "no")
    104 SUBDIR+=	../external/bsd/iscsi/lib	# depends on libpthread
    105 .endif
    106 
    107 SUBDIR+=	../external/bsd/libarchive/lib	# depends on libxz
    108 
    109 .if (${MKLVM} != "no")
    110 SUBDIR+=	../external/gpl2/lvm2/lib	# depends on libprop
    111 .endif
    112 
    113 .if (${MKBINUTILS} != "no")
    114 SUBDIR+=	../external/gpl3/binutils/lib	# libbfd depends on libz
    115 .endif
    116 
    117 .if (${MKGCC} != "no" && ${MKCXX} != "no")
    118 SUBDIR+=	../gnu/lib/libstdc++-v3_4	# depends on libm
    119 SUBDIR+=	../gnu/lib/libsupc++4
    120 .endif
    121 
    122 #==================== 2nd library dependency barrier ====================
    123 SUBDIR+=	.WAIT
    124 
    125 SUBDIR+=	libform		# depends on libcurses
    126 
    127 .if (${MKKERBEROS} != "no")
    128 SUBDIR+=	libhx509	# depends on libcrypto, libasn1, libroken
    129 SUBDIR+=	libsl		# depends on libedit, libterminfo
    130 SUBDIR+=	libss		# depends on libedit, libterminfo, ...
    131 .endif
    132 
    133 SUBDIR+=	libmenu		# depends on libcurses
    134 SUBDIR+=	libradius	# depends on libcrypto if (${MKCRYPTO} != "no")
    135 SUBDIR+=	librump		# depends on librumpuser
    136 
    137 .if (${MKCRYPTO} != "no")
    138 SUBDIR+=	../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
    139 SUBDIR+=	../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
    140 .endif
    141 
    142 SUBDIR+=	../external/bsd/bind/lib	# depends on libcrypto
    143 SUBDIR+=	../external/bsd/fetch/lib	# depends on libssl
    144 
    145 .if (${MKLDAP} != "no")
    146 SUBDIR+=	../external/bsd/openldap/lib	# depends on libcrypto, ...
    147 .endif
    148 
    149 SUBDIR+=	librumphijack
    150 
    151 #==================== 3rd library dependency barrier ====================
    152 SUBDIR+=	.WAIT
    153 
    154 .if (${MKKERBEROS} != "no")
    155 SUBDIR+=	libkrb5		# depends on libhx509, libcrypto, libasn1, ...
    156 .endif
    157 
    158 SUBDIR+=	librumpdev	# depends on librump
    159 SUBDIR+=	librumpnet	# depends on librump
    160 SUBDIR+=	librumpvfs	# depends on librump
    161 
    162 #==================== 4th library dependency barrier ====================
    163 SUBDIR+=	.WAIT
    164 
    165 .if (${MKKERBEROS} != "no")
    166 SUBDIR+=	libhdb		# depends on libkrb5, libasn1, libroken
    167 SUBDIR+=	libheimntlm	# depends on libkrb5, libasn1, libroken
    168 SUBDIR+=	libkafs		# depends on libkrb5, libroken
    169 .endif
    170 
    171 SUBDIR+=	libukfs		# depends on librumpvfs, librump
    172 
    173 #==================== 5th library dependency barrier ====================
    174 SUBDIR+=	.WAIT
    175 
    176 .if (${MKKERBEROS} != "no")
    177 SUBDIR+=	libgssapi	# depends on libheimntlm
    178 SUBDIR+=	libkadm5clnt	# depends on libhdb, libkrb5, libroken
    179 SUBDIR+=	libkadm5srv	# depends on libhdb, libkrb5, libroken
    180 .endif
    181 
    182 SUBDIR+=	libp2k		# depends on libukfs, librumpvfs, libpuffs
    183 
    184 .if (${MKPAM} != "no")
    185 SUBDIR+=	libpam		# depends on libkafs, libkrb5, ...
    186 .endif
    187 
    188 .include <bsd.subdir.mk>
    189