2013-08-23 14:31:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2019-10-27 05:32:08 +00:00
|
|
|
|
|
|
|
.include <src.opts.mk>
|
2013-08-23 14:31:05 +00:00
|
|
|
|
|
|
|
LIB= execinfo
|
2013-09-02 12:37:33 +00:00
|
|
|
SHLIB_MAJOR= 1
|
2013-08-23 14:31:05 +00:00
|
|
|
|
2019-10-27 05:32:08 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/libexecinfo
|
2013-08-23 14:31:05 +00:00
|
|
|
|
2013-09-03 13:31:43 +00:00
|
|
|
INCS= execinfo.h
|
2013-08-23 14:31:05 +00:00
|
|
|
SRCS= backtrace.c symtab.c unwind.c
|
2019-12-20 19:53:05 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/llvm-project/libunwind/include
|
2013-08-23 14:31:05 +00:00
|
|
|
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD= elf
|
2013-09-02 12:37:33 +00:00
|
|
|
|
2013-08-23 14:31:05 +00:00
|
|
|
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
|
|
|
|
|
2019-10-27 05:32:08 +00:00
|
|
|
HAS_TESTS=
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
2013-08-23 14:31:05 +00:00
|
|
|
.include <bsd.lib.mk>
|