aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/strings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/strings/Makefile')
-rw-r--r--usr.bin/strings/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.bin/strings/Makefile b/usr.bin/strings/Makefile
new file mode 100644
index 000000000000..8e2572810947
--- /dev/null
+++ b/usr.bin/strings/Makefile
@@ -0,0 +1,19 @@
+.include <src.opts.mk>
+
+ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
+
+.PATH: ${ELFTCDIR}/strings
+
+PROG= strings
+
+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>