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