fe893d53e4
This uses the same pattern that I applied to the other cases of this in the csu directories. Sponsored by: EMC / Isilon Storage Division
24 lines
680 B
Makefile
24 lines
680 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/common
|
|
|
|
SRCS= drti.c
|
|
FILES= ${SRCS:R:S/$/.o/g}
|
|
FILESOWN= ${LIBOWN}
|
|
FILESGRP= ${LIBGRP}
|
|
FILESMODE= ${LIBMODE}
|
|
FILESDIR= ${LIBDIR}/dtrace
|
|
CLEANFILES= ${FILES}
|
|
# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY.
|
|
.undef LIBRARIES_ONLY
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
|
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
|
|
-DPIC ${PICFLAG}
|
|
|
|
.include <bsd.lib.mk>
|