summaryrefslogtreecommitdiffstats
path: root/lib/libexecinfo
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-08-23 14:31:05 +0000
committeremaste <emaste@FreeBSD.org>2013-08-23 14:31:05 +0000
commit01af225f384a4dade5770162da4457093515f9cf (patch)
treec0ddaa81aa52299a8df3c3cfaefe5865e6946c24 /lib/libexecinfo
parentea95259d9852f44f3ada0f2eac976efc4683f3a7 (diff)
downloadFreeBSD-src-01af225f384a4dade5770162da4457093515f9cf.zip
FreeBSD-src-01af225f384a4dade5770162da4457093515f9cf.tar.gz
Add libexecinfo Makefile
Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/libexecinfo')
-rw-r--r--lib/libexecinfo/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile
new file mode 100644
index 0000000..4b2778c
--- /dev/null
+++ b/lib/libexecinfo/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+LIBEXECINFO= ${.CURDIR}/../../contrib/libexecinfo
+
+LIB= execinfo
+
+.PATH: ${LIBEXECINFO}
+
+INCS= execinfo.h symtab.h unwind.h
+SRCS= backtrace.c symtab.c unwind.c
+
+MAN= backtrace.3
+
+MLINKS+= backtrace.3 backtrace_symbols.3
+MLINKS+= backtrace.3 backtrace_symbols_fmt.3
+MLINKS+= backtrace.3 backtrace_symbols_fd.3
+MLINKS+= backtrace.3 backtrace_symbols_fd_fmt.3
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud