Changeset View
Changeset View
Standalone View
Standalone View
cddl/lib/libdtrace/Makefile
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/riscv | CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/riscv | ||||
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/riscv | .PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/riscv | ||||
.PATH: ${SRCTOP}/sys/cddl/dev/dtrace/riscv | .PATH: ${SRCTOP}/sys/cddl/dev/dtrace/riscv | ||||
.else | .else | ||||
# temporary hack | # temporary hack | ||||
CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/intel | CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/intel | ||||
.endif | .endif | ||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" | ||||
markj: Add these to the `LIBADD=` line below instead. | |||||
SRCS+= dis_tables.c | SRCS+= dis_tables.c | ||||
DSRCS+= regs_x86.d | DSRCS+= regs_x86.d | ||||
.endif | .endif | ||||
YFLAGS+=-d | YFLAGS+=-d | ||||
LIBADD= ctf elf proc pthread rtld_db | LIBADD= ctf dwarf elf proc pthread rtld_db | ||||
CLEANFILES= dt_errtags.c dt_names.c | CLEANFILES= dt_errtags.c dt_names.c | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> | ||||
dt_errtags.c: ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h | dt_errtags.c: ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h | ||||
sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${.ALLSRC} > ${.TARGET} | sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${.ALLSRC} > ${.TARGET} | ||||
dt_names.c: ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h | dt_names.c: ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h | ||||
sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${.ALLSRC} > ${.TARGET} | sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${.ALLSRC} > ${.TARGET} |
Add these to the LIBADD= line below instead.