aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/strings
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/strings')
-rw-r--r--usr.bin/strings/Makefile19
-rw-r--r--usr.bin/strings/Makefile.depend18
-rw-r--r--usr.bin/strings/Makefile.depend.options7
3 files changed, 44 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>
diff --git a/usr.bin/strings/Makefile.depend b/usr.bin/strings/Makefile.depend
new file mode 100644
index 000000000000..fff85220223b
--- /dev/null
+++ b/usr.bin/strings/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcapsicum \
+ lib/libcompiler_rt \
+ lib/libelf \
+ lib/libelftc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/strings/Makefile.depend.options b/usr.bin/strings/Makefile.depend.options
new file mode 100644
index 000000000000..16ba822617d3
--- /dev/null
+++ b/usr.bin/strings/Makefile.depend.options
@@ -0,0 +1,7 @@
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= CASPER
+
+DIRDEPS.CASPER.yes= lib/libcasper/services/cap_fileargs
+
+.include <dirdeps-options.mk>