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

Annotation of src/lib/Makefile, Revision 1.220

1.220   ! christos    1: #      $NetBSD: Makefile,v 1.219 2014/10/25 12:54:28 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.201     matt       36: .if (${MACHINE_CPU} == "arm")
                     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.182     tron       67: SUBDIR+=       ../external/mit/expat/lib
1.155     plunky     68:
1.179     joerg      69: SUBDIR+=       ../external/public-domain/sqlite/lib
1.155     plunky     70: SUBDIR+=       ../external/public-domain/xz/lib
                     71:
                     72: SUBDIR+=       ../gnu/lib/libmalloc
                     73:
                     74: .if (${MKGCC} != "no")
1.211     mrg        75: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc
                     76: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgomp
1.173     mrg        77: # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
                     78: # specific build area, but we get better parallelism this way.
1.215     mrg        79: # We don't build compat versions of these.
                     80: . if !defined(MLIBDIR)
1.172     matt       81: SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
1.174     plunky     82: SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
1.209     mrg        83: SUBDIR+=       ../external/lgpl3/mpc/lib/libmpc
1.174     plunky     84: . endif
1.155     plunky     85: .endif
1.144     christos   86:
1.89      lukem      87: #
                     88: # Libraries that depend upon any listed previously
1.93      lukem      89: # (and those that depend upon these [and ...])
1.89      lukem      90: #
1.97      christos   91: #==================== 1st library dependency barrier ====================
                     92: SUBDIR+=       .WAIT
                     93:
1.208     mrg        94: .if (${MKCRYPTO} != "no")
                     95: SUBDIR+=       ../crypto/external/bsd/netpgp/libmj
                     96: SUBDIR+=       ../crypto/external/bsd/netpgp/lib/verify # depends on libz
                     97: .endif
                     98:
1.212     christos   99: SUBDIR+=       ../external/bsd/elftoolchain/lib/libdwarf # depends on libelf
1.208     mrg       100: SUBDIR+=       ../external/mit/lua/lib # depends on libm
1.158     plunky    101: SUBDIR+=       libcurses       # depends on libterminfo
1.162     haad      102: SUBDIR+=       libdm           # depends on libprop
1.158     plunky    103: SUBDIR+=       libedit         # depends on libterminfo
1.184     matt      104: SUBDIR+=       libexecinfo     # depends on libelf
1.176     dyoung    105: SUBDIR+=       libppath        # depends on libprop
1.175     plunky    106: SUBDIR+=       libperfuse      # depends on libpuffs
1.165     bouyer    107: SUBDIR+=       libquota        # depends on libprop and librpcsvc
1.113     pooka     108: SUBDIR+=       librefuse       # depends on libpuffs
1.207     joerg     109: SUBDIR+=       libisns         # depends on libpthread
1.187     christos  110: .if (${MKRUMP} != "no")
1.126     pooka     111: SUBDIR+=       librumpuser     # depends on libpthread
1.175     plunky    112: SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
1.187     christos  113: .endif
1.126     pooka     114:
1.161     rmind     115: .if (${MKNPF} != "no")
                    116: SUBDIR+=       libnpf          # depends on libprop
                    117: .endif
                    118:
1.148     mrg       119: .if (${MKCRYPTO} != "no")
1.158     plunky    120: SUBDIR+=       ../crypto/external/bsd/openssl/lib # depends on libcrypt
1.148     mrg       121: .endif
1.139     mrg       122:
1.155     plunky    123: SUBDIR+=       ../external/bsd/file/lib        # depends on libz
                    124:
                    125: .if (${MKISCSI} != "no")
                    126: SUBDIR+=       ../external/bsd/iscsi/lib       # depends on libpthread
                    127: .endif
                    128:
                    129: SUBDIR+=       ../external/bsd/libarchive/lib  # depends on libxz
                    130:
1.163     matt      131: .if (${MKLVM} != "no")
                    132: SUBDIR+=       ../external/gpl2/lvm2/lib       # depends on libprop
                    133: .endif
                    134:
1.155     plunky    135: .if (${MKBINUTILS} != "no")
                    136: SUBDIR+=       ../external/gpl3/binutils/lib   # libbfd depends on libz
                    137: .endif
                    138:
1.202     joerg     139: .if (${MKLIBCXX} != "no")
                    140: SUBDIR+=       ../external/bsd/libc++
                    141: .endif
                    142:
1.203     joerg     143: .if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no")
1.211     mrg       144: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3
                    145: SUBDIR+=       ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libsupc++
1.155     plunky    146: .endif
1.219     christos  147: SANITIZER_DIR=../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libasan
                    148: .if exists(${SANITIZER_DIR})
                    149: SUBDIR+=       ${SANITIZER_DIR}
1.217     martin    150: .endif
1.155     plunky    151:
1.97      christos  152: #==================== 2nd library dependency barrier ====================
                    153: SUBDIR+=       .WAIT
                    154:
1.208     mrg       155: .if (${MKNPF} != "no")
                    156: SUBDIR+=       npf             # depends on libnpf
                    157: .endif
                    158:
1.185     christos  159: .if (${MKATF} != "no")
1.186     christos  160: SUBDIR+=       ../external/bsd/atf/lib         # depends on libstdc++
1.185     christos  161: .endif
                    162:
1.198     jmmv      163: .if (${MKKYUA} != "no")
                    164: SUBDIR+=       ../external/bsd/lutok/lib       # depends on lua and libstdc++
                    165: .endif
                    166:
1.158     plunky    167: SUBDIR+=       libform         # depends on libcurses
1.175     plunky    168: SUBDIR+=       libmenu         # depends on libcurses
                    169: SUBDIR+=       libradius       # depends on libcrypto if (${MKCRYPTO} != "no")
1.187     christos  170: .if (${MKRUMP} != "no")
1.175     plunky    171: SUBDIR+=       librump         # depends on librumpuser
1.187     christos  172: .endif
1.158     plunky    173:
1.100     christos  174: .if (${MKKERBEROS} != "no")
1.166     elric     175: SUBDIR+=       ../crypto/external/bsd/heimdal/lib      # depends on libcrypto
                    176:                                                        # libedit, libterminfo,
1.100     christos  177: .endif
                    178:
1.158     plunky    179: .if (${MKCRYPTO} != "no")
                    180: SUBDIR+=       ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
                    181: SUBDIR+=       ../crypto/external/bsd/netpgp/lib  # depends on libcrypto, ...
                    182: .endif
                    183:
1.199     christos  184: SUBDIR+=       ../external/bsd/libevent/lib    # depends on libcrypto
1.158     plunky    185: SUBDIR+=       ../external/bsd/fetch/lib       # depends on libssl
                    186:
                    187: .if (${MKLDAP} != "no")
                    188: SUBDIR+=       ../external/bsd/openldap/lib    # depends on libcrypto, ...
                    189: .endif
                    190:
1.124     lukem     191: #==================== 3rd library dependency barrier ====================
                    192: SUBDIR+=       .WAIT
                    193:
1.204     joerg     194: SUBDIR+=       ../external/bsd/bind/lib        # depends on heimdal, libcrypto
                    195:
1.187     christos  196: .if (${MKRUMP} != "no")
1.143     pooka     197: SUBDIR+=       librumpdev      # depends on librump
1.128     pooka     198: SUBDIR+=       librumpnet      # depends on librump
1.130     pooka     199: SUBDIR+=       librumpvfs      # depends on librump
1.187     christos  200: .endif
1.126     pooka     201:
1.175     plunky    202: .if (${MKPAM} != "no")
                    203: SUBDIR+=       libpam          # depends on heimdal
                    204: .endif
                    205:
                    206: .if (${MKCRYPTO} != "no")
                    207: SUBDIR+=       ../crypto/external/bsd/libsaslc # depends on heimdal, openssl
                    208: .endif
                    209:
1.181     joerg     210: SUBDIR+=       ../external/bsd/mdocml/lib
                    211:
1.187     christos  212: .if (${MKRUMP} != "no")
1.126     pooka     213: #==================== 4th library dependency barrier ====================
                    214: SUBDIR+=       .WAIT
1.158     plunky    215:
                    216: SUBDIR+=       libukfs         # depends on librumpvfs, librump
1.131     pooka     217:
1.190     christos  218: .if (${MKTPM} != "no")
                    219: SUBDIR+=       ../crypto/external/cpl/trousers/lib
                    220: .endif
                    221:
1.131     pooka     222: #==================== 5th library dependency barrier ====================
                    223: SUBDIR+=       .WAIT
1.158     plunky    224:
                    225: SUBDIR+=       libp2k          # depends on libukfs, librumpvfs, libpuffs
1.188     joerg     226:
1.192     christos  227: .if (${MKTPM} != "no")
                    228: SUBDIR+=       ../crypto/external/cpl/tpm-tools/lib    # depends on trousers
                    229: .endif
                    230:
1.188     joerg     231: .if !defined(BSD_MK_COMPAT_FILE)
                    232: SUBDIR+=       ../sys/rump/dev/lib
                    233: SUBDIR+=       ../sys/rump/fs/lib
                    234: SUBDIR+=       ../sys/rump/kern/lib
                    235: SUBDIR+=       ../sys/rump/net/lib
                    236: .endif
1.187     christos  237: .endif
1.158     plunky    238:
1.178     mbalmer   239: # Lua bindings come last, they might depend on anything
                    240: SUBDIR+=       lua
                    241:
1.210     christos  242: # Needed by rump and rescue which are outside the smbfs tree
                    243: SUBDIR+=       ../external/bsd/smbfs/lib
                    244:
1.195     joerg     245: .include <bsd.buildinstall.mk>
1.1       cgd       246: .include <bsd.subdir.mk>

CVSweb <webmaster@jp.NetBSD.org>