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

Annotation of src/lib/Makefile, Revision 1.212

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

CVSweb <webmaster@jp.NetBSD.org>