2014-12-01 17:49:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-04-21 12:58:29 +00:00
|
|
|
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
|
2014-12-01 17:49:42 +00:00
|
|
|
NMDIR= ${ELFTCDIR}/nm
|
|
|
|
|
|
|
|
.PATH: ${NMDIR}
|
|
|
|
|
|
|
|
PROG= nm
|
|
|
|
|
|
|
|
LIBADD= dwarf elftc elf
|
|
|
|
|
2019-09-30 17:27:59 +00:00
|
|
|
.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
|
|
|
|
LIBADD+= casper
|
|
|
|
LIBADD+= cap_fileargs
|
|
|
|
CFLAGS+= -DWITH_CASPER
|
|
|
|
.endif
|
|
|
|
|
2014-12-01 17:49:42 +00:00
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|