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