1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE= elftoolchain 6 7ELFTCDIR= ${SRCTOP}/contrib/elftoolchain 8NMDIR= ${ELFTCDIR}/nm 9 10.PATH: ${NMDIR} 11 12PROG= nm 13 14LIBADD= dwarf elftc elf 15 16.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET) 17LIBADD+= casper 18LIBADD+= cap_fileargs 19CFLAGS+= -DWITH_CASPER 20.endif 21 22CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common 23 24.include <bsd.prog.mk> 25