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 14 15CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 16 -I${SRCTOP}/cddl/compat/opensolaris/include \ 17 -I${OPENSOLARIS_USR_DISTDIR}/head \ 18 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 19 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ 20 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ 21 -DPIC ${PICFLAG} 22 23.include <bsd.lib.mk> 24