1.include <src.opts.mk> 2 3PACKAGE= elftoolchain 4 5ELFTCDIR= ${SRCTOP}/contrib/elftoolchain 6SIZEDIR= ${ELFTCDIR}/size 7 8.PATH: ${SIZEDIR} 9 10PROG= size 11 12LIBADD= 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