Changeset View
Changeset View
Standalone View
Standalone View
lib/Makefile
Show All 9 Lines | ||||||||||
SUBDIR_BOOTSTRAP= \ | SUBDIR_BOOTSTRAP= \ | |||||||||
csu \ | csu \ | |||||||||
.WAIT \ | .WAIT \ | |||||||||
libc \ | libc \ | |||||||||
libc_nonshared \ | libc_nonshared \ | |||||||||
libcompiler_rt \ | libcompiler_rt \ | |||||||||
${_libclang_rt} \ | ${_libclang_rt} \ | |||||||||
${_libcplusplus} \ | libc++ \ | |||||||||
${_libcxxrt} \ | libc++experimental \ | |||||||||
libcxxrt \ | ||||||||||
libelf \ | libelf \ | |||||||||
libssp \ | libssp \ | |||||||||
libssp_nonshared \ | libssp_nonshared \ | |||||||||
msun | msun | |||||||||
# The main list; please keep these sorted alphabetically. | # The main list; please keep these sorted alphabetically. | |||||||||
# The only exception is sqlite3: we place it at the start of the list since it | # The only exception is sqlite3: we place it at the start of the list since it | |||||||||
# takes a long time to build and starting it first improves parallelism. | # takes a long time to build and starting it first improves parallelism. | |||||||||
Show All 14 Lines | SUBDIR= ${SUBDIR_BOOTSTRAP} \ | |||||||||
libbz2 \ | libbz2 \ | |||||||||
libcalendar \ | libcalendar \ | |||||||||
libcam \ | libcam \ | |||||||||
libcapsicum \ | libcapsicum \ | |||||||||
libcasper \ | libcasper \ | |||||||||
libcompat \ | libcompat \ | |||||||||
libcrypt \ | libcrypt \ | |||||||||
libdevctl \ | libdevctl \ | |||||||||
libdevdctl \ | ||||||||||
libdevinfo \ | libdevinfo \ | |||||||||
libdevstat \ | libdevstat \ | |||||||||
libdl \ | libdl \ | |||||||||
libdwarf \ | libdwarf \ | |||||||||
libedit \ | libedit \ | |||||||||
libelftc \ | libelftc \ | |||||||||
libevent1 \ | libevent1 \ | |||||||||
libexecinfo \ | libexecinfo \ | |||||||||
▲ Show 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | ||||||||||
.if !defined(COMPAT_32BIT) && !defined(COMPAT_SOFTFP) | .if !defined(COMPAT_32BIT) && !defined(COMPAT_SOFTFP) | |||||||||
.if ${MK_CLANG} != "no" || ${MK_LLD} != "no" || \ | .if ${MK_CLANG} != "no" || ${MK_LLD} != "no" || \ | |||||||||
${MK_LLDB} != "no" || ${MK_LLVM_BINUTILS} != "no" | ${MK_LLDB} != "no" || ${MK_LLVM_BINUTILS} != "no" | |||||||||
SUBDIR+= clang | SUBDIR+= clang | |||||||||
.endif | .endif | |||||||||
.endif | .endif | |||||||||
SUBDIR.${MK_CUSE}+= libcuse | SUBDIR.${MK_CUSE}+= libcuse | |||||||||
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 | SUBDIR.${MK_LDNS}+= libldns | |||||||||
SUBDIR.${MK_STATS}+= libstats | SUBDIR.${MK_STATS}+= libstats | |||||||||
# The libraries under libclang_rt can only be built by clang and when we enable | # The libraries under libclang_rt can only be built by clang and when we enable | |||||||||
# C++ support. Furthermore, they can only be built for certain architectures. | # C++ support. Furthermore, they can only be built for certain architectures. | |||||||||
.if ${COMPILER_TYPE} == "clang" && ${MK_CXX} != "no" && \ | .if ${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" || \ | |||||||||
${MACHINE_CPUARCH} == "powerpc") | ${MACHINE_CPUARCH} == "powerpc") | |||||||||
_libclang_rt= libclang_rt | _libclang_rt= libclang_rt | |||||||||
.elif ${MK_ASAN} != "no" || ${MK_UBSAN} != "no" | .elif ${MK_ASAN} != "no" || ${MK_UBSAN} != "no" | |||||||||
.error "Requested build with sanitizers but cannot build runtime libraries!" | .error "Requested build with sanitizers but cannot build runtime libraries!" | |||||||||
.endif | .endif | |||||||||
.if ${MK_CXX} != "no" | ||||||||||
jhb: Should references to these libraries (e.g. ${_libcxxrt}) now just be expanded inline instead? | ||||||||||
_libcxxrt= libcxxrt | ||||||||||
_libcplusplus= libc++ | ||||||||||
_libcplusplus+= libc++experimental | ||||||||||
.endif | ||||||||||
SUBDIR.${MK_EFI}+= libefivar | SUBDIR.${MK_EFI}+= libefivar | |||||||||
SUBDIR.${MK_GOOGLETEST}+= googletest | SUBDIR.${MK_GOOGLETEST}+= googletest | |||||||||
SUBDIR.${MK_NETGRAPH}+= libnetgraph | SUBDIR.${MK_NETGRAPH}+= libnetgraph | |||||||||
SUBDIR.${MK_NIS}+= libypclnt | SUBDIR.${MK_NIS}+= libypclnt | |||||||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | |||||||||
_libvgl= libvgl | _libvgl= libvgl | |||||||||
.endif | .endif | |||||||||
Show All 14 Lines | ||||||||||
SUBDIR.${MK_OPENSSH}+= libcbor libfido2 | SUBDIR.${MK_OPENSSH}+= libcbor libfido2 | |||||||||
.endif | .endif | |||||||||
SUBDIR.${MK_OPENSSL}+= libmp | SUBDIR.${MK_OPENSSL}+= libmp | |||||||||
SUBDIR.${MK_PF}+= libpfctl | SUBDIR.${MK_PF}+= libpfctl | |||||||||
SUBDIR.${MK_PMC}+= libpmc libpmcstat | SUBDIR.${MK_PMC}+= libpmc libpmcstat | |||||||||
SUBDIR.${MK_RADIUS_SUPPORT}+= libradius | SUBDIR.${MK_RADIUS_SUPPORT}+= libradius | |||||||||
SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil | SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil | |||||||||
SUBDIR.${MK_TELNET}+= libtelnet | SUBDIR.${MK_TELNET}+= libtelnet | |||||||||
SUBDIR.${MK_TESTS_SUPPORT}+= atf | SUBDIR.${MK_TESTS_SUPPORT}+= atf | |||||||||
SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+= liblutok | SUBDIR.${MK_TESTS_SUPPORT}+= liblutok | |||||||||
Not Done Inline Actions
brooks: | ||||||||||
SUBDIR.${MK_TESTS}+= tests | SUBDIR.${MK_TESTS}+= tests | |||||||||
SUBDIR.${MK_UNBOUND}+= libunbound | SUBDIR.${MK_UNBOUND}+= libunbound | |||||||||
SUBDIR.${MK_USB}+= libusbhid libusb | SUBDIR.${MK_USB}+= libusbhid libusb | |||||||||
SUBDIR.${MK_OFED}+= ofed | SUBDIR.${MK_OFED}+= ofed | |||||||||
SUBDIR.${MK_VERIEXEC}+= libveriexec | SUBDIR.${MK_VERIEXEC}+= libveriexec | |||||||||
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> |
Should references to these libraries (e.g. ${_libcxxrt}) now just be expanded inline instead?