Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.dep.mk
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if !exists(${.OBJDIR}/${DEPENDFILE}) | .if !exists(${.OBJDIR}/${DEPENDFILE}) | ||||
${_YC:R}.o: ${_YC} | ${_YC:R}.o: ${_YC} | ||||
.endif | .endif | ||||
.endfor | .endfor | ||||
.endfor | .endfor | ||||
# DTrace probe definitions | # DTrace probe definitions | ||||
# libelf is currently needed for drti.o | |||||
.if ${SRCS:M*.d} | .if ${SRCS:M*.d} | ||||
LDADD+= -lelf | |||||
DPADD+= ${LIBELF} | |||||
CFLAGS+= -I${.OBJDIR} | CFLAGS+= -I${.OBJDIR} | ||||
.endif | .endif | ||||
.for _DSRC in ${SRCS:M*.d:N*/*} | .for _DSRC in ${SRCS:M*.d:N*/*} | ||||
.for _D in ${_DSRC:R} | .for _D in ${_DSRC:R} | ||||
DHDRS+= ${_D}.h | DHDRS+= ${_D}.h | ||||
${_D}.h: ${_DSRC} | ${_D}.h: ${_DSRC} | ||||
${DTRACE} -xnolibs -h -s ${.ALLSRC} | ${DTRACE} -xnolibs -h -s ${.ALLSRC} | ||||
SRCS:= ${SRCS:S/^${_DSRC}$//} | SRCS:= ${SRCS:S/^${_DSRC}$//} | ||||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |