2013-08-23 14:31:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
LIBEXECINFO= ${.CURDIR}/../../contrib/libexecinfo
|
|
|
|
|
|
|
|
LIB= execinfo
|
2013-09-02 12:37:33 +00:00
|
|
|
SHLIB_MAJOR= 1
|
2013-08-23 14:31:05 +00:00
|
|
|
|
|
|
|
.PATH: ${LIBEXECINFO}
|
|
|
|
|
|
|
|
INCS= execinfo.h symtab.h unwind.h
|
|
|
|
SRCS= backtrace.c symtab.c unwind.c
|
|
|
|
|
2013-09-02 12:37:33 +00:00
|
|
|
DPADD= ${LIBELF}
|
|
|
|
LDADD= -lelf
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|