freebsd-skq/lib/libexecinfo/Makefile

29 lines
515 B
Makefile
Raw Permalink Normal View History

# $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/llvm-project/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>