1.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common 2.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/dump 3 4PACKAGE= ctf-tools 5PROG= ctfdump 6SRCS= dump.c \ 7 symbol.c \ 8 utils.c 9 10CFLAGS+= -DIN_BASE 11CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 12CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 13CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 14CFLAGS+= -I${SRCTOP}/sys 15CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 16CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \ 17 -I${OPENSOLARIS_SYS_DISTDIR} \ 18 -I${OPENSOLARIS_USR_DISTDIR}/head \ 19 -I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \ 20 -I${SRCTOP}/sys/cddl/compat/opensolaris \ 21 -I${SRCTOP}/cddl/compat/opensolaris/include \ 22 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 23 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 24CFLAGS+= -DHAVE_ISSETUGID 25 26LIBADD= elf z 27 28.include <bsd.prog.mk> 29