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