xref: /freebsd-14.2/usr.bin/addr2line/Makefile (revision d0b2dbfa)
131942939SEd Maste
231942939SEd Maste.include <src.opts.mk>
331942939SEd Maste
4*1af3908cSEmmanuel VadotPACKAGE=	elftoolchain
5*1af3908cSEmmanuel Vadot
62821bdccSEd MasteELFTCDIR=	${SRCTOP}/contrib/elftoolchain
731942939SEd MasteADDR2LINEDIR=	${ELFTCDIR}/addr2line
831942939SEd Maste
931942939SEd Maste.PATH: ${ADDR2LINEDIR}
1031942939SEd Maste
1131942939SEd MastePROG=	addr2line
1231942939SEd Maste
1331942939SEd MasteLIBADD=	elftc dwarf elf
1431942939SEd Maste
1531942939SEd MasteCFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
1631942939SEd Maste
1731942939SEd Maste.include <bsd.prog.mk>
18