0740d168a5
Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21105
23 lines
376 B
Makefile
23 lines
376 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
|
|
SIZEDIR= ${ELFTCDIR}/size
|
|
|
|
.PATH: ${SIZEDIR}
|
|
|
|
PROG= size
|
|
|
|
LIBADD= elftc elf
|
|
|
|
.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
|
|
LIBADD+= casper
|
|
LIBADD+= cap_fileargs
|
|
CFLAGS+= -DWITH_CASPER
|
|
.endif
|
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
.include <bsd.prog.mk>
|