aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/nm/Makefile')
-rw-r--r--usr.bin/nm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/nm/Makefile b/usr.bin/nm/Makefile
index 113553f8c5647..b1b9555962e75 100644
--- a/usr.bin/nm/Makefile
+++ b/usr.bin/nm/Makefile
@@ -11,6 +11,12 @@ PROG= nm
LIBADD= dwarf 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>