commit 1704eb8ddae55d4a0b1e559dd0ce281cb468870f parent c4ad566a219f22ece5753e32e3bdcb450172580f Author: Drew DeVault <sir@cmpwn.com> Date: Sat, 27 Feb 2021 09:50:45 -0500 stdlib: update path Diffstat:
M | gen-stdlib | | | 6 | ++++-- |
M | mk/stdlib.mk | | | 12 | ++++++++---- |
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/gen-stdlib b/gen-stdlib @@ -342,8 +342,10 @@ path() { gen_srcs path \ '$(PLATFORM).ha' \ util.ha \ - join.ha - gen_ssa path strings bufio + join.ha \ + norm.ha \ + names.ha + gen_ssa path strings bufio bytes } gensrcs_strconv() { diff --git a/mk/stdlib.mk b/mk/stdlib.mk @@ -395,9 +395,11 @@ $(HARECACHE)/os/exec/os.exec.ssa: $(stdlib_os_exec_srcs) $(stdlib_rt) $(stdlib_o stdlib_path_srcs= \ $(STDLIB)/path/$(PLATFORM).ha \ $(STDLIB)/path/util.ha \ - $(STDLIB)/path/join.ha + $(STDLIB)/path/join.ha \ + $(STDLIB)/path/norm.ha \ + $(STDLIB)/path/names.ha -$(HARECACHE)/path/path.ssa: $(stdlib_path_srcs) $(stdlib_rt) $(stdlib_strings) $(stdlib_bufio) +$(HARECACHE)/path/path.ssa: $(stdlib_path_srcs) $(stdlib_rt) $(stdlib_strings) $(stdlib_bufio) $(stdlib_bytes) @printf 'HAREC \t$@\n' @mkdir -p $(HARECACHE)/path @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Npath \ @@ -884,9 +886,11 @@ $(TESTCACHE)/os/exec/os.exec.ssa: $(testlib_os_exec_srcs) $(testlib_rt) $(testli testlib_path_srcs= \ $(STDLIB)/path/$(PLATFORM).ha \ $(STDLIB)/path/util.ha \ - $(STDLIB)/path/join.ha + $(STDLIB)/path/join.ha \ + $(STDLIB)/path/norm.ha \ + $(STDLIB)/path/names.ha -$(TESTCACHE)/path/path.ssa: $(testlib_path_srcs) $(testlib_rt) $(testlib_strings) $(testlib_bufio) +$(TESTCACHE)/path/path.ssa: $(testlib_path_srcs) $(testlib_rt) $(testlib_strings) $(testlib_bufio) $(testlib_bytes) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/path @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Npath \