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

Annotation of src/lib/Makefile, Revision 1.227

1.227   ! christos    1: #      $NetBSD: Makefile,v 1.226 2015/07/08 01:08:24 matt 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.188     joerg       6: SUBDIR=                csu .WAIT
1.155     plunky      7:
                      8: .if (${MKGCC} != "no")
1.211     mrg         9: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgcc .WAIT
1.155     plunky     10: .endif
                     11:
                     12: SUBDIR+=       libc
                     13: SUBDIR+=       .WAIT
                     14:
                     15: #
                     16: # The SUBDIRs above are included here for completeness but should be built
                     17: # and installed prior to make(dependall) in this file, as libraries listed
                     18: # below will depend on versions from DESTDIR only.
                     19: #
                     20:
1.158     plunky     21: SUBDIR+=       i18n_module
                     22:
                     23: SUBDIR+=       libarch \
                     24:                libbluetooth libbsdmalloc libbz2 \
1.184     matt       25:                libcompat libcrypt \
1.207     joerg      26:                libintl libipsec libkvm libm \
1.158     plunky     27:                libossaudio libpci libpmc libposix libprop libpthread \
                     28:                libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
1.187     christos   29:                libtelnet libterminfo \
1.158     plunky     30:                libusbhid libutil libwrap liby libz
                     31:
1.206     matt       32: .if !defined(BSD_MK_COMPAT_FILE)
                     33: SUBDIR+=       libkern
                     34: .endif
                     35:
1.226     matt       36: .if (${MACHINE_CPU} == "arm" || ${MACHINE_CPU} == "aarch64")
1.201     matt       37: LIBC_MACHINE_ARCH?=${MACHINE_ARCH}
                     38: .if empty(LIBC_MACHINE_ARCH:M*hf*)
1.197     matt       39: SUBDIR+=       libc_vfp
                     40: .endif
1.201     matt       41: .endif
1.187     christos   42: .if (${MKRUMP} != "no")
                     43: SUBDIR+=       librumpclient
                     44: .endif
1.158     plunky     45: .if (${MKSKEY} != "no")
                     46: SUBDIR+=       libskey
                     47: .endif
1.60      thorpej    48:
1.155     plunky     49: .if (${MKMDNS} != "no")
                     50: SUBDIR+=       ../external/apache2/mDNSResponder/lib
                     51: .endif
                     52:
                     53: SUBDIR+=       ../external/bsd/am-utils/lib
1.220     christos   54: SUBDIR+=       ../external/bsd/blacklist/lib
1.155     plunky     55:
                     56: SUBDIR+=       ../external/bsd/flex/lib
1.180     christos   57: SUBDIR+=       ../external/bsd/tre/lib
1.212     christos   58: SUBDIR+=       ../external/bsd/elftoolchain/lib/libelf
1.163     matt       59: SUBDIR+=       ../external/bsd/liblzf/lib
1.158     plunky     60: SUBDIR+=       ../external/bsd/libpcap/lib
1.155     plunky     61:
1.214     plunky     62: .if ${MKSLJIT} != "no"
                     63: SUBDIR+=       ../external/bsd/sljit/lib
                     64: SUBDIR+=       libbpfjit
                     65: .endif
                     66:
1.225     matt       67: .if ${MKDTRACE} != "no"
                     68: SUBDIR+=        ../external/cddl/osnet/lib/libdtrace
                     69: .endif
                     70:
1.224     matt       71: .if (${MKZFS} != "no")
                     72: SUBDIR+=        ../external/cddl/osnet/lib/libavl
                     73: SUBDIR+=        ../external/cddl/osnet/lib/libnvpair
                     74: SUBDIR+=        ../external/cddl/osnet/lib/libumem
                     75: SUBDIR+=        ../external/cddl/osnet/lib/libuutil
                     76: .endif
                     77:
1.182     tron       78: SUBDIR+=       ../external/mit/expat/lib
1.155     plunky     79:
1.179     joerg      80: SUBDIR+=       ../external/public-domain/sqlite/lib
1.155     plunky     81:
                     82: SUBDIR+=       ../gnu/lib/libmalloc
                     83:
                     84: .if (${MKGCC} != "no")
1.211     mrg        85: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc
                     86: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgomp
1.223     matt       87: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflap
                     88: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflapth
1.173     mrg        89: # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
                     90: # specific build area, but we get better parallelism this way.
1.215     mrg        91: # We don't build compat versions of these.
                     92: . if !defined(MLIBDIR)
1.172     matt       93: SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
1.174     plunky     94: SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
1.209     mrg        95: SUBDIR+=       ../external/lgpl3/mpc/lib/libmpc
1.174     plunky     96: . endif
1.155     plunky     97: .endif
1.144     christos   98:
1.89      lukem      99: #
                    100: # Libraries that depend upon any listed previously
1.93      lukem     101: # (and those that depend upon these [and ...])
1.89      lukem     102: #
1.97      christos  103: #==================== 1st library dependency barrier ====================
                    104: SUBDIR+=       .WAIT
                    105:
1.227   ! christos  106: .if ${MKDTRACE} != "no" || ${MKCTF} != "no"
        !           107: SUBDIR+=        ../external/cddl/osnet/lib/libctf
        !           108: .endif
        !           109:
1.221     mrg       110: SUBDIR+=       ../external/public-domain/xz/lib        # depends on libpthread
                    111:
1.208     mrg       112: .if (${MKCRYPTO} != "no")
                    113: SUBDIR+=       ../crypto/external/bsd/netpgp/libmj
                    114: SUBDIR+=       ../crypto/external/bsd/netpgp/lib/verify # depends on libz
                    115: .endif
                    116:
1.212     christos  117: SUBDIR+=       ../external/bsd/elftoolchain/lib/libdwarf # depends on libelf
1.208     mrg       118: SUBDIR+=       ../external/mit/lua/lib # depends on libm
1.158     plunky    119: SUBDIR+=       libcurses       # depends on libterminfo
1.162     haad      120: SUBDIR+=       libdm           # depends on libprop
1.158     plunky    121: SUBDIR+=       libedit         # depends on libterminfo
1.184     matt      122: SUBDIR+=       libexecinfo     # depends on libelf
1.176     dyoung    123: SUBDIR+=       libppath        # depends on libprop
1.175     plunky    124: SUBDIR+=       libperfuse      # depends on libpuffs
1.165     bouyer    125: SUBDIR+=       libquota        # depends on libprop and librpcsvc
1.113     pooka     126: SUBDIR+=       librefuse       # depends on libpuffs
1.207     joerg     127: SUBDIR+=       libisns         # depends on libpthread
1.187     christos  128: .if (${MKRUMP} != "no")
1.126     pooka     129: SUBDIR+=       librumpuser     # depends on libpthread
1.175     plunky    130: SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
1.187     christos  131: .endif
1.126     pooka     132:
1.161     rmind     133: .if (${MKNPF} != "no")
                    134: SUBDIR+=       libnpf          # depends on libprop
                    135: .endif
                    136:
1.148     mrg       137: .if (${MKCRYPTO} != "no")
1.158     plunky    138: SUBDIR+=       ../crypto/external/bsd/openssl/lib # depends on libcrypt
1.148     mrg       139: .endif
1.139     mrg       140:
1.155     plunky    141: SUBDIR+=       ../external/bsd/file/lib        # depends on libz
                    142:
                    143: .if (${MKISCSI} != "no")
                    144: SUBDIR+=       ../external/bsd/iscsi/lib       # depends on libpthread
                    145: .endif
                    146:
1.224     matt      147: .if (${MKZFS} != "no")
                    148: SUBDIR+=        ../external/cddl/osnet/lib/libzfs
                    149: SUBDIR+=        ../external/cddl/osnet/lib/libzpool
                    150: .endif
                    151:
1.163     matt      152: .if (${MKLVM} != "no")
                    153: SUBDIR+=       ../external/gpl2/lvm2/lib       # depends on libprop
                    154: .endif
                    155:
1.155     plunky    156: .if (${MKBINUTILS} != "no")
                    157: SUBDIR+=       ../external/gpl3/binutils/lib   # libbfd depends on libz
                    158: .endif
                    159:
1.202     joerg     160: .if (${MKLIBCXX} != "no")
                    161: SUBDIR+=       ../external/bsd/libc++
                    162: .endif
                    163:
1.203     joerg     164: .if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no")
1.211     mrg       165: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3
                    166: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libsupc++
1.155     plunky    167: .endif
1.222     christos  168:
                    169: #==================== 2nd library dependency barrier ====================
                    170: SUBDIR+=       .WAIT
                    171:
1.219     christos  172: SANITIZER_DIR=../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libasan
                    173: .if exists(${SANITIZER_DIR})
                    174: SUBDIR+=       ${SANITIZER_DIR}
1.217     martin    175: .endif
1.155     plunky    176:
1.221     mrg       177: SUBDIR+=       ../external/bsd/libarchive/lib  # depends on libxz
                    178:
1.208     mrg       179: .if (${MKNPF} != "no")
                    180: SUBDIR+=       npf             # depends on libnpf
                    181: .endif
                    182:
1.185     christos  183: .if (${MKATF} != "no")
1.186     christos  184: SUBDIR+=       ../external/bsd/atf/lib         # depends on libstdc++
1.185     christos  185: .endif
                    186:
1.198     jmmv      187: .if (${MKKYUA} != "no")
                    188: SUBDIR+=       ../external/bsd/lutok/lib       # depends on lua and libstdc++
                    189: .endif
                    190:
1.158     plunky    191: SUBDIR+=       libform         # depends on libcurses
1.175     plunky    192: SUBDIR+=       libmenu         # depends on libcurses
                    193: SUBDIR+=       libradius       # depends on libcrypto if (${MKCRYPTO} != "no")
1.187     christos  194: .if (${MKRUMP} != "no")
1.175     plunky    195: SUBDIR+=       librump         # depends on librumpuser
1.187     christos  196: .endif
1.158     plunky    197:
1.100     christos  198: .if (${MKKERBEROS} != "no")
1.166     elric     199: SUBDIR+=       ../crypto/external/bsd/heimdal/lib      # depends on libcrypto
                    200:                                                        # libedit, libterminfo,
1.100     christos  201: .endif
                    202:
1.158     plunky    203: .if (${MKCRYPTO} != "no")
                    204: SUBDIR+=       ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
                    205: SUBDIR+=       ../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
                    206: .endif
                    207:
1.199     christos  208: SUBDIR+=       ../external/bsd/libevent/lib    # depends on libcrypto
1.158     plunky    209: SUBDIR+=       ../external/bsd/fetch/lib       # depends on libssl
                    210:
                    211: .if (${MKLDAP} != "no")
                    212: SUBDIR+=       ../external/bsd/openldap/lib    # depends on libcrypto, ...
                    213: .endif
                    214:
1.124     lukem     215: #==================== 3rd library dependency barrier ====================
                    216: SUBDIR+=       .WAIT
                    217:
1.204     joerg     218: SUBDIR+=       ../external/bsd/bind/lib        # depends on heimdal, libcrypto
                    219:
1.187     christos  220: .if (${MKRUMP} != "no")
1.143     pooka     221: SUBDIR+=       librumpdev      # depends on librump
1.128     pooka     222: SUBDIR+=       librumpnet      # depends on librump
1.130     pooka     223: SUBDIR+=       librumpvfs      # depends on librump
1.187     christos  224: .endif
1.126     pooka     225:
1.175     plunky    226: .if (${MKPAM} != "no")
                    227: SUBDIR+=       libpam          # depends on heimdal
                    228: .endif
                    229:
                    230: .if (${MKCRYPTO} != "no")
                    231: SUBDIR+=       ../crypto/external/bsd/libsaslc # depends on heimdal, openssl
                    232: .endif
                    233:
1.181     joerg     234: SUBDIR+=       ../external/bsd/mdocml/lib
                    235:
1.187     christos  236: .if (${MKRUMP} != "no")
1.126     pooka     237: #==================== 4th library dependency barrier ====================
                    238: SUBDIR+=       .WAIT
1.158     plunky    239:
                    240: SUBDIR+=       libukfs         # depends on librumpvfs, librump
1.131     pooka     241:
1.190     christos  242: .if (${MKTPM} != "no")
                    243: SUBDIR+=       ../crypto/external/cpl/trousers/lib
                    244: .endif
                    245:
1.131     pooka     246: #==================== 5th library dependency barrier ====================
                    247: SUBDIR+=       .WAIT
1.158     plunky    248:
                    249: SUBDIR+=       libp2k          # depends on libukfs, librumpvfs, libpuffs
1.188     joerg     250:
1.192     christos  251: .if (${MKTPM} != "no")
                    252: SUBDIR+=       ../crypto/external/cpl/tpm-tools/lib    # depends on trousers
                    253: .endif
                    254:
1.188     joerg     255: .if !defined(BSD_MK_COMPAT_FILE)
                    256: SUBDIR+=       ../sys/rump/dev/lib
                    257: SUBDIR+=       ../sys/rump/fs/lib
                    258: SUBDIR+=       ../sys/rump/kern/lib
                    259: SUBDIR+=       ../sys/rump/net/lib
                    260: .endif
1.187     christos  261: .endif
1.158     plunky    262:
1.178     mbalmer   263: # Lua bindings come last, they might depend on anything
                    264: SUBDIR+=       lua
                    265:
1.210     christos  266: # Needed by rump and rescue which are outside the smbfs tree
                    267: SUBDIR+=       ../external/bsd/smbfs/lib
                    268:
1.195     joerg     269: .include <bsd.buildinstall.mk>
1.1       cgd       270: .include <bsd.subdir.mk>

CVSweb <webmaster@jp.NetBSD.org>