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