Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.181.2.3
      1  1.181.2.3   msaitoh #	$NetBSD: Makefile,v 1.181.2.3 2014/12/26 05:30:29 msaitoh Exp $
      2        1.8   mycroft #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
      3       1.21       cgd 
      4       1.62   thorpej .include <bsd.own.mk>
      5       1.62   thorpej 
      6      1.155    plunky SUBDIR=		csu
      7      1.155    plunky 
      8      1.155    plunky .if (${MKGCC} != "no")
      9      1.169       mrg . if ${HAVE_GCC} == 4
     10      1.169       mrg .  if (${USE_COMPILERCRTSTUFF} == "yes")
     11      1.155    plunky SUBDIR+=	../gnu/lib/crtstuff4
     12      1.169       mrg .  endif
     13      1.155    plunky SUBDIR+=	../gnu/lib/libgcc4
     14      1.169       mrg . else
     15      1.169       mrg .  if (${USE_COMPILERCRTSTUFF} == "yes")
     16      1.170       mrg SUBDIR+=	../external/gpl3/gcc/lib/crtstuff
     17      1.169       mrg .  endif
     18      1.170       mrg SUBDIR+=	../external/gpl3/gcc/lib/libgcc
     19      1.169       mrg . endif
     20      1.155    plunky .endif
     21      1.155    plunky 
     22      1.155    plunky SUBDIR+=	libc
     23      1.155    plunky SUBDIR+=	.WAIT
     24      1.155    plunky 
     25      1.155    plunky #
     26      1.155    plunky # The SUBDIRs above are included here for completeness but should be built
     27      1.155    plunky # and installed prior to make(dependall) in this file, as libraries listed
     28      1.155    plunky # below will depend on versions from DESTDIR only.
     29      1.155    plunky #
     30      1.155    plunky 
     31      1.158    plunky SUBDIR+=	i18n_module
     32      1.158    plunky 
     33      1.158    plunky SUBDIR+=	libarch \
     34      1.158    plunky 		libbluetooth libbsdmalloc libbz2 \
     35      1.158    plunky 		libcompat libcrypt \
     36      1.159       agc 		libintl libipsec libisns libkvm libm \
     37      1.158    plunky 		libossaudio libpci libpmc libposix libprop libpthread \
     38      1.158    plunky 		libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
     39      1.158    plunky 		librumpclient libtelnet libterminfo \
     40      1.158    plunky 		libusbhid libutil libwrap liby libz
     41      1.158    plunky 
     42      1.158    plunky .if (${MKSKEY} != "no")
     43      1.158    plunky SUBDIR+=	libskey
     44      1.158    plunky .endif
     45       1.60   thorpej 
     46      1.158    plunky .if (${MKCRYPTO} != "no")
     47      1.158    plunky SUBDIR+=	../crypto/external/bsd/netpgp/libmj
     48      1.158    plunky .endif
     49      1.156  christos 
     50      1.155    plunky .if (${MKMDNS} != "no")
     51      1.155    plunky SUBDIR+=	../external/apache2/mDNSResponder/lib
     52      1.155    plunky .endif
     53      1.155    plunky 
     54      1.155    plunky SUBDIR+=	../external/bsd/am-utils/lib
     55      1.155    plunky 
     56      1.155    plunky .if (${MKATF} != "no")
     57      1.155    plunky SUBDIR+=	../external/bsd/atf/lib
     58      1.155    plunky .endif
     59      1.155    plunky 
     60      1.155    plunky SUBDIR+=	../external/bsd/flex/lib
     61      1.180  christos SUBDIR+=	../external/bsd/tre/lib
     62      1.155    plunky SUBDIR+=	../external/bsd/libdwarf/lib
     63      1.155    plunky SUBDIR+=	../external/bsd/libelf/lib
     64      1.155    plunky SUBDIR+=	../external/bsd/libevent/lib
     65      1.163      matt SUBDIR+=	../external/bsd/liblzf/lib
     66      1.158    plunky SUBDIR+=	../external/bsd/libpcap/lib
     67      1.155    plunky 
     68      1.155    plunky SUBDIR+=	../external/mit/lua/lib
     69  1.181.2.1       riz SUBDIR+=	../external/mit/expat/lib
     70      1.155    plunky 
     71      1.179     joerg SUBDIR+=	../external/public-domain/sqlite/lib
     72      1.155    plunky SUBDIR+=	../external/public-domain/xz/lib
     73      1.155    plunky 
     74      1.155    plunky SUBDIR+=	../gnu/lib/libmalloc
     75      1.155    plunky 
     76      1.155    plunky .if (${MKGCC} != "no")
     77      1.168       mrg . if ${HAVE_GCC} == 4
     78      1.155    plunky SUBDIR+=	../gnu/lib/libobjc4
     79      1.170       mrg . else
     80      1.170       mrg SUBDIR+=	../external/gpl3/gcc/lib/libobjc
     81      1.177       mrg SUBDIR+=	../external/gpl3/gcc/lib/libgomp
     82      1.168       mrg . endif
     83      1.174    plunky . if ${HAVE_GCC} >= 45 && !defined(MLIBDIR)
     84      1.173       mrg # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
     85      1.173       mrg # specific build area, but we get better parallelism this way.
     86      1.172      matt SUBDIR+=	../external/lgpl3/gmp/lib/libgmp
     87      1.174    plunky SUBDIR+=	../external/lgpl3/mpfr/lib/libmpfr
     88      1.174    plunky SUBDIR+=	../external/lgpl2/mpc/lib/libmpc
     89      1.174    plunky . endif
     90      1.155    plunky .endif
     91      1.144  christos 
     92       1.89     lukem #
     93       1.89     lukem # Libraries that depend upon any listed previously
     94       1.93     lukem # (and those that depend upon these [and ...])
     95       1.89     lukem #
     96       1.97  christos #==================== 1st library dependency barrier ====================
     97       1.97  christos SUBDIR+=	.WAIT
     98       1.97  christos 
     99      1.158    plunky SUBDIR+=	libcurses	# depends on libterminfo
    100      1.162      haad SUBDIR+=	libdm		# depends on libprop
    101      1.158    plunky SUBDIR+=	libedit		# depends on libterminfo
    102      1.176    dyoung SUBDIR+=	libppath	# depends on libprop
    103      1.175    plunky SUBDIR+=	libperfuse	# depends on libpuffs
    104      1.165    bouyer SUBDIR+=	libquota	# depends on libprop and librpcsvc
    105      1.113     pooka SUBDIR+=	librefuse	# depends on libpuffs
    106      1.126     pooka SUBDIR+=	librumpuser	# depends on libpthread
    107      1.175    plunky SUBDIR+=	librumphijack	# depends on librumpclient and libpthread
    108      1.126     pooka 
    109      1.161     rmind .if (${MKNPF} != "no")
    110      1.161     rmind SUBDIR+=	libnpf		# depends on libprop
    111      1.161     rmind .endif
    112      1.161     rmind 
    113  1.181.2.2       riz SUBDIR+=	npf
    114      1.148       mrg .if (${MKCRYPTO} != "no")
    115      1.158    plunky SUBDIR+=	../crypto/external/bsd/openssl/lib # depends on libcrypt
    116      1.148       mrg .endif
    117      1.139       mrg 
    118      1.155    plunky SUBDIR+=	../external/bsd/file/lib	# depends on libz
    119      1.155    plunky 
    120      1.155    plunky .if (${MKISCSI} != "no")
    121      1.155    plunky SUBDIR+=	../external/bsd/iscsi/lib	# depends on libpthread
    122      1.155    plunky .endif
    123      1.155    plunky 
    124      1.155    plunky SUBDIR+=	../external/bsd/libarchive/lib	# depends on libxz
    125      1.155    plunky 
    126      1.163      matt .if (${MKLVM} != "no")
    127      1.163      matt SUBDIR+=	../external/gpl2/lvm2/lib	# depends on libprop
    128      1.163      matt .endif
    129      1.163      matt 
    130      1.155    plunky .if (${MKBINUTILS} != "no")
    131      1.155    plunky SUBDIR+=	../external/gpl3/binutils/lib	# libbfd depends on libz
    132      1.155    plunky .endif
    133      1.155    plunky 
    134      1.155    plunky .if (${MKGCC} != "no" && ${MKCXX} != "no")
    135      1.168       mrg . if ${HAVE_GCC} == 4
    136      1.155    plunky SUBDIR+=	../gnu/lib/libstdc++-v3_4	# depends on libm
    137      1.155    plunky SUBDIR+=	../gnu/lib/libsupc++4
    138      1.170       mrg . else
    139      1.170       mrg SUBDIR+=	../external/gpl3/gcc/lib/libstdc++-v3
    140      1.170       mrg SUBDIR+=	../external/gpl3/gcc/lib/libsupc++
    141      1.168       mrg . endif
    142      1.155    plunky .endif
    143      1.155    plunky 
    144       1.97  christos #==================== 2nd library dependency barrier ====================
    145       1.97  christos SUBDIR+=	.WAIT
    146       1.97  christos 
    147      1.158    plunky SUBDIR+=	libform		# depends on libcurses
    148      1.175    plunky SUBDIR+=	libmenu		# depends on libcurses
    149      1.175    plunky SUBDIR+=	libradius	# depends on libcrypto if (${MKCRYPTO} != "no")
    150      1.175    plunky SUBDIR+=	librump		# depends on librumpuser
    151      1.158    plunky 
    152      1.100  christos .if (${MKKERBEROS} != "no")
    153      1.166     elric SUBDIR+=	../crypto/external/bsd/heimdal/lib	# depends on libcrypto
    154      1.166     elric 							# libedit, libterminfo,
    155      1.100  christos .endif
    156      1.100  christos 
    157      1.158    plunky .if (${MKCRYPTO} != "no")
    158      1.158    plunky SUBDIR+=	../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
    159      1.158    plunky SUBDIR+=	../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
    160      1.158    plunky .endif
    161      1.158    plunky 
    162      1.158    plunky SUBDIR+=	../external/bsd/fetch/lib	# depends on libssl
    163      1.158    plunky 
    164      1.158    plunky .if (${MKLDAP} != "no")
    165      1.158    plunky SUBDIR+=	../external/bsd/openldap/lib	# depends on libcrypto, ...
    166      1.158    plunky .endif
    167      1.158    plunky 
    168      1.124     lukem #==================== 3rd library dependency barrier ====================
    169      1.124     lukem SUBDIR+=	.WAIT
    170      1.124     lukem 
    171  1.181.2.3   msaitoh SUBDIR+=	../external/bsd/bind/lib	# depends on heimdal, libcrypto
    172  1.181.2.3   msaitoh 
    173      1.143     pooka SUBDIR+=	librumpdev	# depends on librump
    174      1.128     pooka SUBDIR+=	librumpnet	# depends on librump
    175      1.130     pooka SUBDIR+=	librumpvfs	# depends on librump
    176      1.126     pooka 
    177      1.175    plunky .if (${MKPAM} != "no")
    178      1.175    plunky SUBDIR+=	libpam		# depends on heimdal
    179      1.175    plunky .endif
    180      1.175    plunky 
    181      1.175    plunky .if (${MKCRYPTO} != "no")
    182      1.175    plunky SUBDIR+=	../crypto/external/bsd/libsaslc	# depends on heimdal, openssl
    183      1.175    plunky .endif
    184      1.175    plunky 
    185      1.181     joerg SUBDIR+=	../external/bsd/mdocml/lib
    186      1.181     joerg 
    187      1.126     pooka #==================== 4th library dependency barrier ====================
    188      1.126     pooka SUBDIR+=	.WAIT
    189      1.158    plunky 
    190      1.158    plunky SUBDIR+=	libukfs		# depends on librumpvfs, librump
    191      1.131     pooka 
    192      1.131     pooka #==================== 5th library dependency barrier ====================
    193      1.131     pooka SUBDIR+=	.WAIT
    194      1.158    plunky 
    195      1.158    plunky SUBDIR+=	libp2k		# depends on libukfs, librumpvfs, libpuffs
    196      1.158    plunky 
    197      1.178   mbalmer # Lua bindings come last, they might depend on anything
    198      1.178   mbalmer SUBDIR+=	lua
    199      1.178   mbalmer 
    200        1.1       cgd .include <bsd.subdir.mk>
    201