aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter <petershh@disroot.org>2022-07-29 23:31:32 +0300
committerGitHub <noreply@github.com>2022-07-29 23:31:32 +0300
commitb096cc58572143359a638b6d10748ddd4edd7a9c (patch)
treeec32665b7afdf4663d36e97adfff4a32853efe42 /package
parentf86f34feff33016eba52d778fa504ade183ee84b (diff)
downloadshh-portable-utils-b096cc58572143359a638b6d10748ddd4edd7a9c.tar.xz
Add wc
Diffstat (limited to 'package')
-rw-r--r--package/deps.mak3
-rw-r--r--package/modes1
-rw-r--r--package/targets.mak3
3 files changed, 6 insertions, 1 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 09c9583..d078b77 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -24,6 +24,7 @@ src/shh-portable-utils/true.o src/shh-portable-utils/true.lo: src/shh-portable-u
src/shh-portable-utils/uname.o src/shh-portable-utils/uname.lo: src/shh-portable-utils/uname.c
src/shh-portable-utils/uniq.o src/shh-portable-utils/uniq.lo: src/shh-portable-utils/uniq.c src/shh-portable-utils/shhfuncs.h
src/shh-portable-utils/unlink.o src/shh-portable-utils/unlink.lo: src/shh-portable-utils/unlink.c
+src/shh-portable-utils/wc.o src/shh-portable-utils/wc.lo: src/shh-portable-utils/wc.c src/shh-portable-utils/shhfuncs.h
basename: EXTRA_LIBS := -lskarnet
basename: src/shh-portable-utils/basename.o
@@ -61,3 +62,5 @@ uniq: EXTRA_LIBS := -lskarnet
uniq: src/shh-portable-utils/uniq.o src/shh-portable-utils/shhgetln.o src/shh-portable-utils/byte_notin.o
unlink: EXTRA_LIBS := -lskarnet
unlink: src/shh-portable-utils/unlink.o
+wc: EXTRA_LIBS := -lskarnet
+wc: src/shh-portable-utils/wc.o src/shh-portable-utils/byte_notin.o
diff --git a/package/modes b/package/modes
index 40c11ba..5ece3f4 100644
--- a/package/modes
+++ b/package/modes
@@ -16,3 +16,4 @@ true 0755
uniq 0755
uname 0755
unlink 0755
+wc 0755
diff --git a/package/targets.mak b/package/targets.mak
index 23fe74d..47c7185 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -16,6 +16,7 @@ tee \
true \
uname \
uniq \
-unlink
+unlink \
+wc
LIBEXEC_TARGETS :=