c757049235
There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month
29 lines
453 B
Makefile
29 lines
453 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= ${_drti} \
|
|
libavl \
|
|
libctf \
|
|
${_libdtrace} \
|
|
libnvpair \
|
|
libumem \
|
|
libuutil \
|
|
${_libzfs} \
|
|
${_libzpool}
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_libzfs= libzfs
|
|
.if ${MK_LIBTHR} != "no"
|
|
_libzpool= libzpool
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc"
|
|
_drti= drti
|
|
_libdtrace= libdtrace
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|