[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib

Annotation of src/lib/Makefile, Revision 1.181.2.2.2.1

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

CVSweb <webmaster@jp.NetBSD.org>