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