freebsd-skq/usr.bin/size/Makefile

23 lines
376 B
Makefile
Raw Normal View History

# $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>