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