summaryrefslogtreecommitdiffstats
path: root/cddl/lib/libctf
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-05-22 04:26:42 +0000
committerjb <jb@FreeBSD.org>2008-05-22 04:26:42 +0000
commit1f1c4e3e67b182ececc1bb5c6c512d0637d1d978 (patch)
tree7f4ef68af1cd84b6a341618eb121c92de40c2262 /cddl/lib/libctf
parentbc5f57f95dfe82f0a6ca992ab61558fe2eb16916 (diff)
downloadFreeBSD-src-1f1c4e3e67b182ececc1bb5c6c512d0637d1d978.zip
FreeBSD-src-1f1c4e3e67b182ececc1bb5c6c512d0637d1d978.tar.gz
Add the DTrace libraries and D library scripts.
Diffstat (limited to 'cddl/lib/libctf')
-rw-r--r--cddl/lib/libctf/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/cddl/lib/libctf/Makefile b/cddl/lib/libctf/Makefile
new file mode 100644
index 0000000..b3d3b03
--- /dev/null
+++ b/cddl/lib/libctf/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+.include "../../Makefile.inc"
+
+LIB= ctf
+SHLIB_MAJOR= 1
+
+SRCS= ctf_create.c \
+ ctf_decl.c \
+ ctf_error.c \
+ ctf_hash.c \
+ ctf_labels.c \
+ ctf_lib.c \
+ ctf_lookup.c \
+ ctf_open.c \
+ ctf_subr.c \
+ ctf_types.c \
+ ctf_util.c
+
+.PATH: ${OPENSOLARIS_USR_DISTDIR}/common/ctf
+.PATH: ${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common
+.PATH: ${OPENSOLARIS_SYS_DISTDIR}/common/ctf
+
+CFLAGS+= -DCTF_OLD_VERSIONS
+
+CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
+ -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
+ -I${OPENSOLARIS_USR_DISTDIR}/head \
+ -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
+ -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
+ -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
+
+.include <bsd.lib.mk>
+
OpenPOWER on IntegriCloud