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