131942939SEd Maste# $FreeBSD$ 231942939SEd Maste 331942939SEd Maste.include <src.opts.mk> 431942939SEd Maste 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 14*052ad61bSMark Johnston.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET) 15*052ad61bSMark JohnstonLIBADD+= casper 16*052ad61bSMark JohnstonLIBADD+= cap_fileargs 17*052ad61bSMark JohnstonCFLAGS+= -DWITH_CASPER 18*052ad61bSMark Johnston.endif 19*052ad61bSMark Johnston 2031942939SEd MasteCFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common 2131942939SEd Maste 2231942939SEd Maste.include <bsd.prog.mk> 23