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

Annotation of src/lib/Makefile, Revision 1.244

1.244   ! christos    1: #      $NetBSD: Makefile,v 1.243 2016/06/04 02:06:46 christos 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}
1.228     joerg      38: LIBC_MACHINE_CPU?=${MACHINE_CPU}
                     39: .if ${LIBC_MACHINE_CPU} == "arm" && empty(LIBC_MACHINE_ARCH:M*hf*)
1.197     matt       40: SUBDIR+=       libc_vfp
                     41: .endif
1.201     matt       42: .endif
1.187     christos   43: .if (${MKRUMP} != "no")
                     44: SUBDIR+=       librumpclient
                     45: .endif
1.158     plunky     46: .if (${MKSKEY} != "no")
                     47: SUBDIR+=       libskey
                     48: .endif
1.60      thorpej    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: 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.224     matt       67: .if (${MKZFS} != "no")
                     68: SUBDIR+=        ../external/cddl/osnet/lib/libavl
                     69: SUBDIR+=        ../external/cddl/osnet/lib/libnvpair
                     70: SUBDIR+=        ../external/cddl/osnet/lib/libumem
                     71: SUBDIR+=        ../external/cddl/osnet/lib/libuutil
                     72: .endif
                     73:
1.182     tron       74: SUBDIR+=       ../external/mit/expat/lib
1.155     plunky     75:
1.179     joerg      76: SUBDIR+=       ../external/public-domain/sqlite/lib
1.155     plunky     77:
1.238     christos   78: SUBDIR+=       ../external/gpl2/libmalloc
1.155     plunky     79:
                     80: .if (${MKGCC} != "no")
1.211     mrg        81: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc
                     82: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgomp
1.241     mrg        83: . if ${HAVE_GCC} == 48
1.223     matt       84: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflap
                     85: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflapth
1.241     mrg        86: . endif
1.173     mrg        87: # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
                     88: # specific build area, but we get better parallelism this way.
1.215     mrg        89: # We don't build compat versions of these.
                     90: . if !defined(MLIBDIR)
1.172     matt       91: SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
1.174     plunky     92: SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
1.209     mrg        93: SUBDIR+=       ../external/lgpl3/mpc/lib/libmpc
1.174     plunky     94: . endif
1.155     plunky     95: .endif
1.144     christos   96:
1.89      lukem      97: #
                     98: # Libraries that depend upon any listed previously
1.93      lukem      99: # (and those that depend upon these [and ...])
1.89      lukem     100: #
1.97      christos  101: #==================== 1st library dependency barrier ====================
                    102: SUBDIR+=       .WAIT
                    103:
1.235     christos  104: .if ${MKDTRACE} != "no"
1.229     christos  105: SUBDIR+=       ../external/bsd/librtld_db/lib          # depends on libutil
1.234     christos  106: .endif
1.229     christos  107:
1.240     riastrad  108: .if ${MKCTF} != "no"
1.227     christos  109: SUBDIR+=        ../external/cddl/osnet/lib/libctf
                    110: .endif
                    111:
1.221     mrg       112: SUBDIR+=       ../external/public-domain/xz/lib        # depends on libpthread
                    113:
1.208     mrg       114: .if (${MKCRYPTO} != "no")
                    115: SUBDIR+=       ../crypto/external/bsd/netpgp/libmj
                    116: SUBDIR+=       ../crypto/external/bsd/netpgp/lib/verify # depends on libz
                    117: .endif
                    118:
1.237     christos  119: SUBDIR+=       ../external/bsd/blacklist/lib           # depends on libpthread
1.212     christos  120: SUBDIR+=       ../external/bsd/elftoolchain/lib/libdwarf # depends on libelf
1.208     mrg       121: SUBDIR+=       ../external/mit/lua/lib # depends on libm
1.158     plunky    122: SUBDIR+=       libcurses       # depends on libterminfo
1.162     haad      123: SUBDIR+=       libdm           # depends on libprop
1.158     plunky    124: SUBDIR+=       libedit         # depends on libterminfo
1.184     matt      125: SUBDIR+=       libexecinfo     # depends on libelf
1.176     dyoung    126: SUBDIR+=       libppath        # depends on libprop
1.175     plunky    127: SUBDIR+=       libperfuse      # depends on libpuffs
1.165     bouyer    128: SUBDIR+=       libquota        # depends on libprop and librpcsvc
1.113     pooka     129: SUBDIR+=       librefuse       # depends on libpuffs
1.207     joerg     130: SUBDIR+=       libisns         # depends on libpthread
1.187     christos  131: .if (${MKRUMP} != "no")
1.126     pooka     132: SUBDIR+=       librumpuser     # depends on libpthread
1.175     plunky    133: SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
1.187     christos  134: .endif
1.126     pooka     135:
1.161     rmind     136: .if (${MKNPF} != "no")
                    137: SUBDIR+=       libnpf          # depends on libprop
                    138: .endif
                    139:
1.148     mrg       140: .if (${MKCRYPTO} != "no")
1.158     plunky    141: SUBDIR+=       ../crypto/external/bsd/openssl/lib # depends on libcrypt
1.148     mrg       142: .endif
1.139     mrg       143:
1.155     plunky    144: SUBDIR+=       ../external/bsd/file/lib        # depends on libz
                    145:
                    146: .if (${MKISCSI} != "no")
                    147: SUBDIR+=       ../external/bsd/iscsi/lib       # depends on libpthread
                    148: .endif
                    149:
1.224     matt      150: .if (${MKZFS} != "no")
                    151: SUBDIR+=        ../external/cddl/osnet/lib/libzfs
                    152: SUBDIR+=        ../external/cddl/osnet/lib/libzpool
                    153: .endif
                    154:
1.163     matt      155: .if (${MKLVM} != "no")
                    156: SUBDIR+=       ../external/gpl2/lvm2/lib       # depends on libprop
                    157: .endif
                    158:
1.155     plunky    159: .if (${MKBINUTILS} != "no")
1.239     christos  160: SUBDIR+=       ../external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/lib        # libbfd depends on libz
1.155     plunky    161: .endif
                    162:
1.202     joerg     163: .if (${MKLIBCXX} != "no")
                    164: SUBDIR+=       ../external/bsd/libc++
                    165: .endif
                    166:
1.203     joerg     167: .if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no")
1.211     mrg       168: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3
                    169: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libsupc++
1.155     plunky    170: .endif
1.222     christos  171:
                    172: #==================== 2nd library dependency barrier ====================
                    173: SUBDIR+=       .WAIT
                    174:
1.244   ! christos  175: SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libasan
        !           176: SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libubsan
1.155     plunky    177:
1.221     mrg       178: SUBDIR+=       ../external/bsd/libarchive/lib  # depends on libxz
                    179:
1.208     mrg       180: .if (${MKNPF} != "no")
                    181: SUBDIR+=       npf             # depends on libnpf
                    182: .endif
                    183:
1.185     christos  184: .if (${MKATF} != "no")
1.186     christos  185: SUBDIR+=       ../external/bsd/atf/lib         # depends on libstdc++
1.185     christos  186: .endif
                    187:
1.198     jmmv      188: .if (${MKKYUA} != "no")
                    189: SUBDIR+=       ../external/bsd/lutok/lib       # depends on lua and libstdc++
                    190: .endif
                    191:
1.158     plunky    192: SUBDIR+=       libform         # depends on libcurses
1.175     plunky    193: SUBDIR+=       libmenu         # depends on libcurses
1.236     kamil     194: SUBDIR+=       libpanel        # depends on libcurses
1.175     plunky    195: SUBDIR+=       libradius       # depends on libcrypto if (${MKCRYPTO} != "no")
1.187     christos  196: .if (${MKRUMP} != "no")
1.175     plunky    197: SUBDIR+=       librump         # depends on librumpuser
1.187     christos  198: .endif
1.158     plunky    199:
1.100     christos  200: .if (${MKKERBEROS} != "no")
1.166     elric     201: SUBDIR+=       ../crypto/external/bsd/heimdal/lib      # depends on libcrypto
                    202:                                                        # libedit, libterminfo,
1.100     christos  203: .endif
                    204:
1.158     plunky    205: .if (${MKCRYPTO} != "no")
                    206: SUBDIR+=       ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
                    207: SUBDIR+=       ../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
                    208: .endif
                    209:
1.199     christos  210: SUBDIR+=       ../external/bsd/libevent/lib    # depends on libcrypto
1.235     christos  211: .if ${MKDTRACE} != "no"
1.234     christos  212: SUBDIR+=       ../external/bsd/libproc/lib     # depends on libstdc++, libctf
                    213: .endif
1.158     plunky    214: SUBDIR+=       ../external/bsd/fetch/lib       # depends on libssl
                    215:
                    216: .if (${MKLDAP} != "no")
                    217: SUBDIR+=       ../external/bsd/openldap/lib    # depends on libcrypto, ...
                    218: .endif
                    219:
1.124     lukem     220: #==================== 3rd library dependency barrier ====================
                    221: SUBDIR+=       .WAIT
                    222:
1.204     joerg     223: SUBDIR+=       ../external/bsd/bind/lib        # depends on heimdal, libcrypto
                    224:
1.230     christos  225: .if ${MKDTRACE} != "no"
                    226: SUBDIR+=        ../external/cddl/osnet/lib/libdtrace   # depends on libproc
                    227: .endif
                    228:
1.187     christos  229: .if (${MKRUMP} != "no")
1.143     pooka     230: SUBDIR+=       librumpdev      # depends on librump
1.128     pooka     231: SUBDIR+=       librumpnet      # depends on librump
1.130     pooka     232: SUBDIR+=       librumpvfs      # depends on librump
1.187     christos  233: .endif
1.126     pooka     234:
1.175     plunky    235: .if (${MKPAM} != "no")
                    236: SUBDIR+=       libpam          # depends on heimdal
                    237: .endif
                    238:
                    239: .if (${MKCRYPTO} != "no")
                    240: SUBDIR+=       ../crypto/external/bsd/libsaslc # depends on heimdal, openssl
                    241: .endif
                    242:
1.181     joerg     243: SUBDIR+=       ../external/bsd/mdocml/lib
                    244:
1.187     christos  245: .if (${MKRUMP} != "no")
1.126     pooka     246: #==================== 4th library dependency barrier ====================
                    247: SUBDIR+=       .WAIT
1.158     plunky    248:
                    249: SUBDIR+=       libukfs         # depends on librumpvfs, librump
1.131     pooka     250:
1.190     christos  251: .if (${MKTPM} != "no")
                    252: SUBDIR+=       ../crypto/external/cpl/trousers/lib
                    253: .endif
                    254:
1.131     pooka     255: #==================== 5th library dependency barrier ====================
                    256: SUBDIR+=       .WAIT
1.158     plunky    257:
                    258: SUBDIR+=       libp2k          # depends on libukfs, librumpvfs, libpuffs
1.188     joerg     259:
1.192     christos  260: .if (${MKTPM} != "no")
                    261: SUBDIR+=       ../crypto/external/cpl/tpm-tools/lib    # depends on trousers
                    262: .endif
                    263:
1.188     joerg     264: .if !defined(BSD_MK_COMPAT_FILE)
                    265: SUBDIR+=       ../sys/rump/dev/lib
                    266: SUBDIR+=       ../sys/rump/fs/lib
                    267: SUBDIR+=       ../sys/rump/kern/lib
                    268: SUBDIR+=       ../sys/rump/net/lib
                    269: .endif
1.187     christos  270: .endif
1.158     plunky    271:
1.178     mbalmer   272: # Lua bindings come last, they might depend on anything
                    273: SUBDIR+=       lua
                    274:
1.210     christos  275: # Needed by rump and rescue which are outside the smbfs tree
                    276: SUBDIR+=       ../external/bsd/smbfs/lib
                    277:
1.195     joerg     278: .include <bsd.buildinstall.mk>
1.1       cgd       279: .include <bsd.subdir.mk>

CVSweb <webmaster@jp.NetBSD.org>