Changeset View
Changeset View
Standalone View
Standalone View
share/mk/local.dirdeps.mk
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | DIRDEPS += \ | ||||
cddl/usr.bin/ctfconvert.host \ | cddl/usr.bin/ctfconvert.host \ | ||||
cddl/usr.bin/ctfmerge.host | cddl/usr.bin/ctfmerge.host | ||||
.endif | .endif | ||||
# Add in proper libgcc (gnu or LLVM) if not building libcc and libc is needed. | # Add in proper libgcc (gnu or LLVM) if not building libcc and libc is needed. | ||||
# Add both gcc_s and gcc_eh as dependencies as the decision to build | # Add both gcc_s and gcc_eh as dependencies as the decision to build | ||||
# -static or not is not known here. | # -static or not is not known here. | ||||
.if ${DEP_RELDIR:M*libgcc*} == "" && ${DIRDEPS:U:Mlib/libc} != "" | .if ${DEP_RELDIR:M*libgcc*} == "" && ${DIRDEPS:U:Mlib/libc} != "" | ||||
.if ${MK_LLVM_LIBUNWIND} == "yes" | |||||
DIRDEPS+= \ | DIRDEPS+= \ | ||||
lib/libgcc_eh \ | lib/libgcc_eh \ | ||||
lib/libgcc_s | lib/libgcc_s | ||||
.else | |||||
DIRDEPS+= gnu/lib/libgcc | |||||
.endif | |||||
.endif | .endif | ||||
# Bootstrap support. Give hints to DIRDEPS if there is no Makefile.depend* | # Bootstrap support. Give hints to DIRDEPS if there is no Makefile.depend* | ||||
# generated yet. This can be based on things such as SRC files and LIBADD. | # generated yet. This can be based on things such as SRC files and LIBADD. | ||||
# These hints will not factor into the final Makefile.depend as only what is | # These hints will not factor into the final Makefile.depend as only what is | ||||
# used will be added in and handled via [local.]gendirdeps.mk. This is not | # used will be added in and handled via [local.]gendirdeps.mk. This is not | ||||
# done for MACHINE=host builds. | # done for MACHINE=host builds. | ||||
# XXX: Include this in local.autodep.mk as well for gendirdeps without filemon. | # XXX: Include this in local.autodep.mk as well for gendirdeps without filemon. | ||||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |