xref: /freebsd/lib/libexecinfo/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1a70cba95SGlen BarberPACKAGE=lib${LIB}
243e9023fSConrad Meyer
343e9023fSConrad Meyer.include <src.opts.mk>
4a741a747SEd Maste
5a741a747SEd MasteLIB=		execinfo
61d6136f8SEd MasteSHLIB_MAJOR=	1
7a741a747SEd Maste
843e9023fSConrad Meyer.PATH:		${SRCTOP}/contrib/libexecinfo
9a741a747SEd Maste
10a06021b0SEd MasteINCS=		execinfo.h
11a741a747SEd MasteSRCS=		backtrace.c symtab.c unwind.c
12*0b57cec5SDimitry AndricCFLAGS+=	-I${SRCTOP}/contrib/llvm-project/libunwind/include
13a741a747SEd Maste
146b129086SBaptiste DaroussinLIBADD=		elf
151d6136f8SEd Maste
16a741a747SEd MasteMAN=		backtrace.3
17a741a747SEd Maste
18a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols.3
19a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fmt.3
20a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd.3
21a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd_fmt.3
22a741a747SEd Maste
2343e9023fSConrad MeyerHAS_TESTS=
2443e9023fSConrad MeyerSUBDIR.${MK_TESTS}+= tests
2543e9023fSConrad Meyer
26a741a747SEd Maste.include <bsd.lib.mk>
27