summaryrefslogtreecommitdiffstats
path: root/cddl/usr.bin/ctfconvert
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-05-22 08:04:49 +0000
committerjb <jb@FreeBSD.org>2008-05-22 08:04:49 +0000
commit8a79fc60dccfc8500086afa4f3cd081c86aec025 (patch)
treef8065ef887d79f7b0ae63c2125fc6298c61eeb52 /cddl/usr.bin/ctfconvert
parentc0a128b2a462075f54611f5c4945626ff0fe2704 (diff)
downloadFreeBSD-src-8a79fc60dccfc8500086afa4f3cd081c86aec025.zip
FreeBSD-src-8a79fc60dccfc8500086afa4f3cd081c86aec025.tar.gz
Add the DTrace build tools.
Diffstat (limited to 'cddl/usr.bin/ctfconvert')
-rw-r--r--cddl/usr.bin/ctfconvert/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/cddl/usr.bin/ctfconvert/Makefile b/cddl/usr.bin/ctfconvert/Makefile
new file mode 100644
index 0000000..57a08dd
--- /dev/null
+++ b/cddl/usr.bin/ctfconvert/Makefile
@@ -0,0 +1,51 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+.include "../../Makefile.inc"
+
+DEBUG_FLAGS= -g
+
+PROG= ctfconvert
+
+SRCS= alist.c \
+ ctf.c \
+ ctfconvert.c \
+ dwarf.c \
+ fixup_tdescs.c \
+ hash.c \
+ iidesc.c \
+ input.c \
+ list.c \
+ memory.c \
+ merge.c \
+ output.c \
+ st_parse.c \
+ stabs.c \
+ stack.c \
+ strtab.c \
+ symbol.c \
+ tdata.c \
+ traverse.c \
+ util.c
+
+WARNS?= 6
+
+CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
+ -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
+ -I${OPENSOLARIS_USR_DISTDIR} \
+ -I${OPENSOLARIS_SYS_DISTDIR} \
+ -I${OPENSOLARIS_USR_DISTDIR}/head \
+ -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
+ -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
+ -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
+
+LDADD+= -lctf -ldwarf -lelf -lz -lthr
+
+.PATH: ${.CURDIR}
+.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common
+.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt
+
+MK_MAN= no
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud