Changeset View
Changeset View
Standalone View
Standalone View
share/mk/local.dirdeps.mk
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.endif # !target(${_prog}) | .endif # !target(${_prog}) | ||||
.endfor # .for _prog in ${PROGS} | .endfor # .for _prog in ${PROGS} | ||||
.endif # !empty(PROGS) | .endif # !empty(PROGS) | ||||
_SRCS= ${SRCS} ${_PROGS_SRCS} | _SRCS= ${SRCS} ${_PROGS_SRCS} | ||||
# Has C files. The C_DIRDEPS are shared with C++ files as well. | # Has C files. The C_DIRDEPS are shared with C++ files as well. | ||||
C_DIRDEPS= \ | C_DIRDEPS= \ | ||||
gnu/lib/csu \ | |||||
include \ | include \ | ||||
include/arpa \ | include/arpa \ | ||||
include/protocols \ | include/protocols \ | ||||
include/rpc \ | include/rpc \ | ||||
include/rpcsvc \ | include/rpcsvc \ | ||||
include/xlocale \ | include/xlocale \ | ||||
lib/${CSU_DIR} \ | lib/${CSU_DIR} \ | ||||
lib/libc \ | lib/libc \ | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
.endif # ${DEP_MACHINE} != "host" | .endif # ${DEP_MACHINE} != "host" | ||||
.if ${MK_STAGING} == "yes" | .if ${MK_STAGING} == "yes" | ||||
# we need targets/pseudo/stage to prep the stage tree | # we need targets/pseudo/stage to prep the stage tree | ||||
.if ${DEP_RELDIR} != "targets/pseudo/stage" | .if ${DEP_RELDIR} != "targets/pseudo/stage" | ||||
DIRDEPS += targets/pseudo/stage | DIRDEPS += targets/pseudo/stage | ||||
.endif | .endif | ||||
.endif | |||||
# this one is too pervasive | |||||
.if ${MK_BSD_CRTBEGIN} == "no" && ${DEP_RELDIR} != "gnu/lib/csu" | |||||
DIRDEPS+= gnu/lib/csu | |||||
.endif | .endif | ||||
DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} | DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} | ||||
CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} | CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} | ||||
CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} | CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} | ||||
BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} | BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} | ||||
KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} | KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} |