xref: /freebsd-14.2/lib/libexecinfo/Makefile (revision d0b2dbfa)
1a741a747SEd Maste
2a70cba95SGlen BarberPACKAGE=lib${LIB}
343e9023fSConrad Meyer
443e9023fSConrad Meyer.include <src.opts.mk>
5a741a747SEd Maste
6a741a747SEd MasteLIB=		execinfo
71d6136f8SEd MasteSHLIB_MAJOR=	1
8a741a747SEd Maste
943e9023fSConrad Meyer.PATH:		${SRCTOP}/contrib/libexecinfo
10a741a747SEd Maste
11a06021b0SEd MasteINCS=		execinfo.h
12a741a747SEd MasteSRCS=		backtrace.c symtab.c unwind.c
13*0b57cec5SDimitry AndricCFLAGS+=	-I${SRCTOP}/contrib/llvm-project/libunwind/include
14a741a747SEd Maste
156b129086SBaptiste DaroussinLIBADD=		elf
161d6136f8SEd Maste
17a741a747SEd MasteMAN=		backtrace.3
18a741a747SEd Maste
19a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols.3
20a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fmt.3
21a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd.3
22a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd_fmt.3
23a741a747SEd Maste
2443e9023fSConrad MeyerHAS_TESTS=
2543e9023fSConrad MeyerSUBDIR.${MK_TESTS}+= tests
2643e9023fSConrad Meyer
27a741a747SEd Maste.include <bsd.lib.mk>
28