commit 28455ea68ff1c0bf5f6cddbc12eca76d66b68d25
parent 0195dad0ca33edf0f83e0aeb17fca79571dcca91
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 6 Apr 2021 08:07:20 -0400
stdlib.mk: add more errors dependencies
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -135,7 +135,7 @@ crypto_random() {
gen_srcs crypto::random \
'$(PLATFORM).ha' \
random.ha
- gen_ssa crypto::random rt io
+ gen_ssa crypto::random rt io errors
}
gensrcs_crypto_sha256() {
@@ -584,7 +584,7 @@ unix() {
nice'$(PLATFORM)'.ha \
getuid.ha \
setuid.ha
- gen_ssa unix
+ gen_ssa unix errors
}
unix_passwd() {
diff --git a/stdlib.mk b/stdlib.mk
@@ -270,7 +270,7 @@ stdlib_crypto_random_srcs= \
$(STDLIB)/crypto/random/$(PLATFORM).ha \
$(STDLIB)/crypto/random/random.ha
-$(HARECACHE)/crypto/random/crypto_random.ssa: $(stdlib_crypto_random_srcs) $(stdlib_rt) $(stdlib_rt) $(stdlib_io)
+$(HARECACHE)/crypto/random/crypto_random.ssa: $(stdlib_crypto_random_srcs) $(stdlib_rt) $(stdlib_rt) $(stdlib_io) $(stdlib_errors)
@printf 'HAREC \t$@\n'
@mkdir -p $(HARECACHE)/crypto/random
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Ncrypto::random \
@@ -781,7 +781,7 @@ stdlib_unix_srcs= \
$(STDLIB)/unix/getuid.ha \
$(STDLIB)/unix/setuid.ha
-$(HARECACHE)/unix/unix.ssa: $(stdlib_unix_srcs) $(stdlib_rt)
+$(HARECACHE)/unix/unix.ssa: $(stdlib_unix_srcs) $(stdlib_rt) $(stdlib_errors)
@printf 'HAREC \t$@\n'
@mkdir -p $(HARECACHE)/unix
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nunix \
@@ -1080,7 +1080,7 @@ testlib_crypto_random_srcs= \
$(STDLIB)/crypto/random/$(PLATFORM).ha \
$(STDLIB)/crypto/random/random.ha
-$(TESTCACHE)/crypto/random/crypto_random.ssa: $(testlib_crypto_random_srcs) $(testlib_rt) $(testlib_rt) $(testlib_io)
+$(TESTCACHE)/crypto/random/crypto_random.ssa: $(testlib_crypto_random_srcs) $(testlib_rt) $(testlib_rt) $(testlib_io) $(testlib_errors)
@printf 'HAREC \t$@\n'
@mkdir -p $(TESTCACHE)/crypto/random
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Ncrypto::random \
@@ -1604,7 +1604,7 @@ testlib_unix_srcs= \
$(STDLIB)/unix/getuid.ha \
$(STDLIB)/unix/setuid.ha
-$(TESTCACHE)/unix/unix.ssa: $(testlib_unix_srcs) $(testlib_rt)
+$(TESTCACHE)/unix/unix.ssa: $(testlib_unix_srcs) $(testlib_rt) $(testlib_errors)
@printf 'HAREC \t$@\n'
@mkdir -p $(TESTCACHE)/unix
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nunix \