1PACKAGE=lib${LIB} 2 3.include <src.opts.mk> 4 5LIB= execinfo 6SHLIB_MAJOR= 1 7 8.PATH: ${SRCTOP}/contrib/libexecinfo 9 10INCS= execinfo.h 11SRCS= backtrace.c symtab.c unwind.c 12CFLAGS+= -I${SRCTOP}/contrib/llvm-project/libunwind/include 13 14LIBADD= elf 15 16MAN= backtrace.3 17 18MLINKS+= backtrace.3 backtrace_symbols.3 19MLINKS+= backtrace.3 backtrace_symbols_fmt.3 20MLINKS+= backtrace.3 backtrace_symbols_fd.3 21MLINKS+= backtrace.3 backtrace_symbols_fd_fmt.3 22 23HAS_TESTS= 24SUBDIR.${MK_TESTS}+= tests 25 26.include <bsd.lib.mk> 27