Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.files.mk
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
${group}PREFIX_${file}= ${DESTDIR}${${_${group}DIR_${file}}} | ${group}PREFIX_${file}= ${DESTDIR}${${_${group}DIR_${file}}} | ||||
# Append DIR to DIRS if not already in place -- DIRS is already filtered, so | # Append DIR to DIRS if not already in place -- DIRS is already filtered, so | ||||
# this is primarily to ease inspection. | # this is primarily to ease inspection. | ||||
.for d in ${DIRS} | .for d in ${DIRS} | ||||
_DIRS+= ${${d}} | _DIRS+= ${${d}} | ||||
.endfor | .endfor | ||||
.if ${DIRS:M${_${group}DIR_${file}}} == "" | .if ${DIRS:M${_${group}DIR_${file}}} == "" | ||||
.if ${_DIRS:M${${_${group}DIR_${file}}}} == "" | |||||
DIRS+= ${_${group}DIR_${file}} | DIRS+= ${_${group}DIR_${file}} | ||||
.else | |||||
_${group}DIR_${file}= ${group}DIR | |||||
.endif | |||||
.endif | .endif | ||||
.if defined(${group}NAME) | .if defined(${group}NAME) | ||||
${group}NAME_${file}?= ${${group}NAME} | ${group}NAME_${file}?= ${${group}NAME} | ||||
.else | .else | ||||
${group}NAME_${file}?= ${file:T} | ${group}NAME_${file}?= ${file:T} | ||||
.endif # defined(${group}NAME) | .endif # defined(${group}NAME) | ||||
STAGE_AS_${file}= ${${group}NAME_${file}} | STAGE_AS_${file}= ${${group}NAME_${file}} | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |