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