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