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}
|
|
|
|
|
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
|
|
|
|
|
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>
|