1.PATH: ${SRCTOP}/cddl/contrib/opensolaris/common/ctf 2.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libctf/common 3.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/ctf 4 5LIB= ctf 6SRCS= ctf_create.c \ 7 ctf_decl.c \ 8 ctf_error.c \ 9 ctf_hash.c \ 10 ctf_labels.c \ 11 ctf_lib.c \ 12 ctf_lookup.c \ 13 ctf_open.c \ 14 ctf_subr.c \ 15 ctf_types.c \ 16 ctf_util.c 17MAN= ctf.5 18 19WARNS?= 2 20CFLAGS+= -DCTF_OLD_VERSIONS 21 22CFLAGS+= -DIN_BASE 23CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 24CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 25CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 26CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 27CFLAGS+= -DHAVE_ISSETUGID 28 29CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 30 -I${SRCTOP}/cddl/compat/opensolaris/include \ 31 -I${OPENSOLARIS_USR_DISTDIR}/head \ 32 -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \ 33 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 34 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 35 36LIBADD+= spl z 37 38.include <bsd.lib.mk> 39