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