29 lines
502 B
Makefile
29 lines
502 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE=lib${LIB}
|
|
|
|
.include <src.opts.mk>
|
|
|
|
LIB= execinfo
|
|
SHLIB_MAJOR= 1
|
|
|
|
.PATH: ${SRCTOP}/contrib/libexecinfo
|
|
|
|
INCS= execinfo.h
|
|
SRCS= backtrace.c symtab.c unwind.c
|
|
CFLAGS+= -I${SRCTOP}/contrib/libunwind/include
|
|
|
|
LIBADD= elf
|
|
|
|
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
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.lib.mk>
|