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