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