131942939SEd Maste.include <src.opts.mk> 231942939SEd Maste 3*1af3908cSEmmanuel VadotPACKAGE= elftoolchain 4*1af3908cSEmmanuel Vadot 52821bdccSEd MasteELFTCDIR= ${SRCTOP}/contrib/elftoolchain 631942939SEd MasteNMDIR= ${ELFTCDIR}/nm 731942939SEd Maste 831942939SEd Maste.PATH: ${NMDIR} 931942939SEd Maste 1031942939SEd MastePROG= nm 1131942939SEd Maste 1231942939SEd MasteLIBADD= dwarf elftc elf 1331942939SEd Maste 14052ad61bSMark Johnston.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET) 15052ad61bSMark JohnstonLIBADD+= casper 16052ad61bSMark JohnstonLIBADD+= cap_fileargs 17052ad61bSMark JohnstonCFLAGS+= -DWITH_CASPER 18052ad61bSMark Johnston.endif 19052ad61bSMark Johnston 2031942939SEd MasteCFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common 2131942939SEd Maste 2231942939SEd Maste.include <bsd.prog.mk> 23