xref: /freebsd-13.1/lib/libexecinfo/Makefile (revision 0b57cec5)
1a741a747SEd Maste# $FreeBSD$
2a741a747SEd Maste
3a70cba95SGlen BarberPACKAGE=lib${LIB}
443e9023fSConrad Meyer
543e9023fSConrad Meyer.include <src.opts.mk>
6a741a747SEd Maste
7a741a747SEd MasteLIB=		execinfo
81d6136f8SEd MasteSHLIB_MAJOR=	1
9a741a747SEd Maste
1043e9023fSConrad Meyer.PATH:		${SRCTOP}/contrib/libexecinfo
11a741a747SEd Maste
12a06021b0SEd MasteINCS=		execinfo.h
13a741a747SEd MasteSRCS=		backtrace.c symtab.c unwind.c
14*0b57cec5SDimitry AndricCFLAGS+=	-I${SRCTOP}/contrib/llvm-project/libunwind/include
15a741a747SEd Maste
166b129086SBaptiste DaroussinLIBADD=		elf
171d6136f8SEd Maste
18a741a747SEd MasteMAN=		backtrace.3
19a741a747SEd Maste
20a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols.3
21a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fmt.3
22a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd.3
23a741a747SEd MasteMLINKS+=	backtrace.3 backtrace_symbols_fd_fmt.3
24a741a747SEd Maste
2543e9023fSConrad MeyerHAS_TESTS=
2643e9023fSConrad MeyerSUBDIR.${MK_TESTS}+= tests
2743e9023fSConrad Meyer
28a741a747SEd Maste.include <bsd.lib.mk>
29