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