mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 14:21:18 +01:00
0b57cec536
This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next.
29 lines
515 B
Makefile
29 lines
515 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/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>
|