summaryrefslogtreecommitdiffstats
path: root/lib/libdwarf/Makefile
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-05-22 02:14:23 +0000
committerjb <jb@FreeBSD.org>2008-05-22 02:14:23 +0000
commit6bb9fac44691095d77c0fe90a650a6e10efad674 (patch)
treee3765f4585c6589b116b3afadce01322d61764ac /lib/libdwarf/Makefile
parentec1dde64a242f2a00001a19b01713bd34b4420ec (diff)
downloadFreeBSD-src-6bb9fac44691095d77c0fe90a650a6e10efad674.zip
FreeBSD-src-6bb9fac44691095d77c0fe90a650a6e10efad674.tar.gz
Add a BSD licensed DWARF library for use by the DTrace clients.
The API for this library is deliberately different to the GPL'd libdwarf to avoid licensing problems.
Diffstat (limited to 'lib/libdwarf/Makefile')
-rw-r--r--lib/libdwarf/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile
new file mode 100644
index 0000000..0acc6aa
--- /dev/null
+++ b/lib/libdwarf/Makefile
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+LIB= dwarf
+
+SRCS= \
+ dwarf_abbrev.c \
+ dwarf_attr.c \
+ dwarf_attrval.c \
+ dwarf_cu.c \
+ dwarf_dealloc.c \
+ dwarf_die.c \
+ dwarf_dump.c \
+ dwarf_errmsg.c \
+ dwarf_errno.c \
+ dwarf_finish.c \
+ dwarf_form.c \
+ dwarf_init.c \
+ dwarf_loc.c
+
+INCS= dwarf.h libdwarf.h
+
+CFLAGS+= -I. -I${.CURDIR}
+
+SHLIB_MAJOR= 1
+
+WARNS?= 6
+
+WITHOUT_MAN= yes
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud