Changeset View
Changeset View
Standalone View
Standalone View
lib/Makefile
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | SUBDIR= ${SUBDIR_BOOTSTRAP} \ | ||||
| libdevstat \ | libdevstat \ | ||||
| ${_libdl} \ | ${_libdl} \ | ||||
| libdwarf \ | libdwarf \ | ||||
| libedit \ | libedit \ | ||||
| libelftc \ | libelftc \ | ||||
| libevent \ | libevent \ | ||||
| libexecinfo \ | libexecinfo \ | ||||
| libexpat \ | libexpat \ | ||||
| libfetch \ | |||||
| libfigpar \ | libfigpar \ | ||||
| libgeom \ | libgeom \ | ||||
| libifconfig \ | libifconfig \ | ||||
| libipsec \ | libipsec \ | ||||
| libjail \ | libjail \ | ||||
| libkiconv \ | libkiconv \ | ||||
| libkvm \ | libkvm \ | ||||
| liblzma \ | liblzma \ | ||||
| ▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
| SUBDIR_DEPEND_libopie= libmd | SUBDIR_DEPEND_libopie= libmd | ||||
| SUBDIR_DEPEND_libpam= libcrypt libopie ${_libradius} librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err} | SUBDIR_DEPEND_libpam= libcrypt libopie ${_libradius} librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err} | ||||
| SUBDIR_DEPEND_libpjdlog= libutil | SUBDIR_DEPEND_libpjdlog= libutil | ||||
| SUBDIR_DEPEND_libprocstat= libkvm libutil | SUBDIR_DEPEND_libprocstat= libkvm libutil | ||||
| SUBDIR_DEPEND_libradius= libmd | SUBDIR_DEPEND_libradius= libmd | ||||
| SUBDIR_DEPEND_libsmb= libkiconv | SUBDIR_DEPEND_libsmb= libkiconv | ||||
| SUBDIR_DEPEND_libtacplus= libmd | SUBDIR_DEPEND_libtacplus= libmd | ||||
| SUBDIR_DEPEND_libulog= libmd | SUBDIR_DEPEND_libulog= libmd | ||||
| .if ${MK_OPENSSL} != "no" | |||||
| SUBDIR_DEPEND_libunbound= ${_libldns} | SUBDIR_DEPEND_libunbound= ${_libldns} | ||||
| .endif | |||||
| SUBDIR_DEPEND_liblzma= ${_libthr} | SUBDIR_DEPEND_liblzma= ${_libthr} | ||||
| .if ${MK_OFED} != "no" | .if ${MK_OFED} != "no" | ||||
| SUBDIR_DEPEND_libpcap= ofed | SUBDIR_DEPEND_libpcap= ofed | ||||
| .endif | .endif | ||||
| # NB: keep these sorted by MK_* knobs | # NB: keep these sorted by MK_* knobs | ||||
| SUBDIR.${MK_ATM}+= libngatm | SUBDIR.${MK_ATM}+= libngatm | ||||
| SUBDIR.${MK_BLACKLIST}+=libblacklist | SUBDIR.${MK_BLACKLIST}+=libblacklist | ||||
| SUBDIR.${MK_BLUETOOTH}+=libbluetooth libsdp | SUBDIR.${MK_BLUETOOTH}+=libbluetooth libsdp | ||||
| SUBDIR.${MK_BSNMP}+= libbsnmp | SUBDIR.${MK_BSNMP}+= libbsnmp | ||||
| .if !defined(COMPAT_32BIT) && !defined(COMPAT_SOFTFP) | .if !defined(COMPAT_32BIT) && !defined(COMPAT_SOFTFP) | ||||
| SUBDIR.${MK_CLANG}+= clang | SUBDIR.${MK_CLANG}+= clang | ||||
| .endif | .endif | ||||
| .if ${MK_OPENSSL} != "no" | |||||
| SUBDIR+= libfetch | |||||
emaste: Ideally we'd build a ssl-less libfetch if the OPENSSL knob is off rather than avoiding building… | |||||
| .endif | |||||
| .if ${MK_OPENSSL} != "no" | |||||
| SUBDIR.${MK_LDNS}+= libldns | |||||
| .endif | |||||
| SUBDIR.${MK_CUSE}+= libcuse | SUBDIR.${MK_CUSE}+= libcuse | ||||
| SUBDIR.${MK_CXX}+= libdevdctl | SUBDIR.${MK_CXX}+= libdevdctl | ||||
| SUBDIR.${MK_TOOLCHAIN}+=libpe | SUBDIR.${MK_TOOLCHAIN}+=libpe | ||||
| SUBDIR.${MK_DIALOG}+= libdpv | SUBDIR.${MK_DIALOG}+= libdpv | ||||
| SUBDIR.${MK_FILE}+= libmagic | SUBDIR.${MK_FILE}+= libmagic | ||||
| SUBDIR.${MK_GPIO}+= libgpio | SUBDIR.${MK_GPIO}+= libgpio | ||||
| SUBDIR.${MK_GSSAPI}+= libgssapi librpcsec_gss | SUBDIR.${MK_GSSAPI}+= libgssapi librpcsec_gss | ||||
| SUBDIR.${MK_ICONV}+= libiconv_modules | SUBDIR.${MK_ICONV}+= libiconv_modules | ||||
| SUBDIR.${MK_KERBEROS_SUPPORT}+= libcom_err | SUBDIR.${MK_KERBEROS_SUPPORT}+= libcom_err | ||||
| SUBDIR.${MK_LDNS}+= libldns | |||||
| # The libraries under libclang_rt can only be built by clang, and only make | # The libraries under libclang_rt can only be built by clang, and only make | ||||
| # sense to build when clang is enabled at all. Furthermore, they can only be | # sense to build when clang is enabled at all. Furthermore, they can only be | ||||
| # built for certain architectures. | # built for certain architectures. | ||||
| .if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \ | .if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \ | ||||
| (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ | (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ | ||||
| ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386") | ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386") | ||||
| _libclang_rt= libclang_rt | _libclang_rt= libclang_rt | ||||
| Show All 30 Lines | |||||
| _libproc= libproc | _libproc= libproc | ||||
| _librtld_db= librtld_db | _librtld_db= librtld_db | ||||
| .endif | .endif | ||||
| .if defined(LINKER_FEATURES) && ${LINKER_FEATURES:Mfilter} | .if defined(LINKER_FEATURES) && ${LINKER_FEATURES:Mfilter} | ||||
| _libdl= libdl | _libdl= libdl | ||||
| .endif | .endif | ||||
| SUBDIR.${MK_OPENSSL}+= libmp | SUBDIR.${MK_OPENSSL}+= libmp libfetch | ||||
Not Done Inline Actionslibfetch being added 2nd time here emaste: libfetch being added 2nd time here | |||||
| .if (${COMPILER_TYPE} == "clang" || (${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 && ${MACHINE_CPUARCH} != "riscv")) | .if (${COMPILER_TYPE} == "clang" || (${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 && ${MACHINE_CPUARCH} != "riscv")) | ||||
| SUBDIR.${MK_PMC}+= libpmc libpmcstat | SUBDIR.${MK_PMC}+= libpmc libpmcstat | ||||
| .endif | .endif | ||||
| SUBDIR.${MK_RADIUS_SUPPORT}+= libradius | SUBDIR.${MK_RADIUS_SUPPORT}+= libradius | ||||
| SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil | SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil | ||||
| .if ${MK_CRYPT} != "no" && ${MK_OPENSSL} != "no" | |||||
| SUBDIR.${MK_TELNET}+= libtelnet | SUBDIR.${MK_TELNET}+= libtelnet | ||||
| .endif | |||||
| SUBDIR.${MK_TESTS_SUPPORT}+= atf | SUBDIR.${MK_TESTS_SUPPORT}+= atf | ||||
| SUBDIR.${MK_TESTS}+= tests | SUBDIR.${MK_TESTS}+= tests | ||||
| .if ${MK_OPENSSL} != "no" | |||||
| SUBDIR.${MK_UNBOUND}+= libunbound | SUBDIR.${MK_UNBOUND}+= libunbound | ||||
| .endif | |||||
| SUBDIR.${MK_USB}+= libusbhid libusb | SUBDIR.${MK_USB}+= libusbhid libusb | ||||
| SUBDIR.${MK_OFED}+= ofed | SUBDIR.${MK_OFED}+= ofed | ||||
| SUBDIR.${MK_ZFS}+= libbe | SUBDIR.${MK_ZFS}+= libbe | ||||
| .if !make(install) | .if !make(install) | ||||
| SUBDIR_PARALLEL= | SUBDIR_PARALLEL= | ||||
| .endif | .endif | ||||
| .include <bsd.subdir.mk> | .include <bsd.subdir.mk> | ||||
Ideally we'd build a ssl-less libfetch if the OPENSSL knob is off rather than avoiding building libfetch altogether, and the same for other cases (where feasible). That will take more investigation though.