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
|
|
|
|
|
|
|
.PATH: ${ELFTCDIR}/strings
|
|
|
|
|
|
|
|
PROG= strings
|
|
|
|
|
|
|
|
LIBADD= elftc elf
|
|
|
|
|
2019-04-08 03:35:47 +00:00
|
|
|
.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
|
2019-04-04 16:32:27 +00:00
|
|
|
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>
|