1d30b4ed2SJohn Birrell# $FreeBSD$ 2d30b4ed2SJohn Birrell 3acc37ca1SEnji Cooper.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common 4acc37ca1SEnji Cooper.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/dump 5d30b4ed2SJohn Birrell 6*f0408cd9SEmmanuel VadotPACKAGE= ctf-tools 7d30b4ed2SJohn BirrellPROG= ctfdump 8d30b4ed2SJohn BirrellSRCS= dump.c \ 9d30b4ed2SJohn Birrell symbol.c \ 10d30b4ed2SJohn Birrell utils.c 11d30b4ed2SJohn Birrell 129e5787d2SMatt MacyCFLAGS+= -DIN_BASE 139e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 149e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 159e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 169e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys 179e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 18d30b4ed2SJohn BirrellCFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \ 19d30b4ed2SJohn Birrell -I${OPENSOLARIS_SYS_DISTDIR} \ 20d30b4ed2SJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/head \ 21d30b4ed2SJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \ 22acc37ca1SEnji Cooper -I${SRCTOP}/sys/cddl/compat/opensolaris \ 23acc37ca1SEnji Cooper -I${SRCTOP}/cddl/compat/opensolaris/include \ 24d30b4ed2SJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 25d30b4ed2SJohn Birrell -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 269e5787d2SMatt MacyCFLAGS+= -DHAVE_ISSETUGID 27d30b4ed2SJohn Birrell 28dc4eeb59SBaptiste DaroussinLIBADD= elf z 29d30b4ed2SJohn Birrell 30d30b4ed2SJohn Birrell.include <bsd.prog.mk> 31