1.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common 2.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/cvt 3 4PACKAGE= ctf-tools 5PROG= ctfmerge 6SRCS= alist.c \ 7 barrier.c \ 8 ctf.c \ 9 ctfmerge.c \ 10 fifo.c \ 11 hash.c \ 12 iidesc.c \ 13 input.c \ 14 list.c \ 15 memory.c \ 16 merge.c \ 17 output.c \ 18 strtab.c \ 19 symbol.c \ 20 tdata.c \ 21 traverse.c \ 22 util.c 23 24WARNS?= 1 25 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 elf z pthread 43 44.include <bsd.prog.mk> 45