1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../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} 12LIB= drti-dummy 13INTERNALLIB= 14 15CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 16 -I${.CURDIR}/../../../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.if make(install) && defined(LIBRARIES_ONLY) 24install: 25 ${INSTALL} -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \ 26 ${FILES} ${DESTDIR}${FILESDIR} 27.endif 28 29.include <bsd.lib.mk> 30