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