Changeset View
Changeset View
Standalone View
Standalone View
share/mk/src.libnames.mk
Show First 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
DPADD_${_l}?= ${LIB${_l:tu}} | DPADD_${_l}?= ${LIB${_l:tu}} | ||||
.if ${_PRIVATELIBS:M${_l}} | .if ${_PRIVATELIBS:M${_l}} | ||||
LDADD_${_l}?= -lprivate${_l} | LDADD_${_l}?= -lprivate${_l} | ||||
.else | .else | ||||
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l} | LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l} | ||||
.endif | .endif | ||||
# Add in all dependencies for static linkage. | # Add in all dependencies for static linkage. | ||||
.if defined(_DP_${_l}) && (${_INTERNALLIBS:M${_l}} || \ | .if defined(_DP_${_l}) && (${_INTERNALLIBS:M${_l}} || ${MK_SHARED} != "yes") | ||||
(defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO"))) | |||||
.for _d in ${_DP_${_l}} | .for _d in ${_DP_${_l}} | ||||
DPADD_${_l}+= ${DPADD_${_d}} | DPADD_${_l}+= ${DPADD_${_d}} | ||||
LDADD_${_l}+= ${LDADD_${_d}} | LDADD_${_l}+= ${LDADD_${_d}} | ||||
.endfor | .endfor | ||||
.endif | .endif | ||||
.endfor | .endfor | ||||
# These are special cases where the library is broken and anything that uses | # These are special cases where the library is broken and anything that uses | ||||
▲ Show 20 Lines • Show All 206 Lines • Show Last 20 Lines |