1.include <src.opts.mk> 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common 4.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/cvt 5 6PACKAGE= ctf-tools 7PROG= ctfconvert 8SRCS= alist.c \ 9 ctf.c \ 10 ctfconvert.c \ 11 dwarf.c \ 12 fixup_tdescs.c \ 13 hash.c \ 14 iidesc.c \ 15 input.c \ 16 list.c \ 17 memory.c \ 18 merge.c \ 19 output.c \ 20 stack.c \ 21 strtab.c \ 22 symbol.c \ 23 tdata.c \ 24 traverse.c \ 25 util.c 26 27CFLAGS+= -DIN_BASE 28CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 29CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 30CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 31CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 32CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 33 -I${SRCTOP}/cddl/compat/opensolaris/include \ 34 -I${OPENSOLARIS_USR_DISTDIR} \ 35 -I${OPENSOLARIS_SYS_DISTDIR} \ 36 -I${OPENSOLARIS_USR_DISTDIR}/head \ 37 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 38 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ 39 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 40CFLAGS+= -DHAVE_ISSETUGID 41 42LIBADD= spl dwarf elf z pthread 43 44HAS_TESTS= 45SUBDIR.${MK_TESTS}+= tests 46 47.include <bsd.prog.mk> 48