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