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/lib/libspl/include/os/freebsd/spl 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