aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/drti/Makefile
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-05-22 04:26:42 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-05-22 04:26:42 +0000
commitebe86aacbec3ee6283865bae78f6a78fe683e165 (patch)
tree7f4ef68af1cd84b6a341618eb121c92de40c2262 /cddl/lib/drti/Makefile
parent0cb540ce616a6da4636de4b6ab6964648705e36d (diff)
downloadsrc-ebe86aacbec3ee6283865bae78f6a78fe683e165.tar.gz
src-ebe86aacbec3ee6283865bae78f6a78fe683e165.zip
Add the DTrace libraries and D library scripts.
Notes
Notes: svn path=/head/; revision=179189
Diffstat (limited to 'cddl/lib/drti/Makefile')
-rw-r--r--cddl/lib/drti/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile
new file mode 100644
index 000000000000..4be57a54b2c4
--- /dev/null
+++ b/cddl/lib/drti/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+.include "../../Makefile.inc"
+
+.PATH: ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
+
+SRCS= drti.c
+FILES= ${SRCS:R:S/$/.o/g}
+FILESOWN= ${LIBOWN}
+FILESGRP= ${LIBGRP}
+FILESMODE= ${LIBMODE}
+FILESDIR= ${LIBDIR}/dtrace
+WARNS?= 6
+CLEANFILES= ${FILES}
+
+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
+
+.include <bsd.prog.mk>