1.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/common 2 3PACKAGE= dtrace 4SRCS= drti.c 5FILES= ${SRCS:R:S/$/.o/g} 6FILESOWN= ${LIBOWN} 7FILESGRP= ${LIBGRP} 8FILESMODE= ${LIBMODE} 9FILESDIR= ${LIBDIR}/dtrace 10CLEANFILES= ${FILES} 11# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. 12.undef LIBRARIES_ONLY 13CFLAGS+= -DIN_BASE 14CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 15CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 16CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 17CFLAGS+= -I${SRCTOP}/sys 18CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 19CFLAGS+= -DHAVE_ISSETUGID 20CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 21 -I${SRCTOP}/cddl/compat/opensolaris/include \ 22 -I${OPENSOLARIS_USR_DISTDIR}/head \ 23 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 24 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ 25 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ 26 -DPIC ${PICFLAG} 27 28.include <bsd.lib.mk> 29