summaryrefslogtreecommitdiff
path: root/corebinutils/sh
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-03 18:38:20 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-03 18:38:20 +0300
commit2a3a110dac53b271caf9aa97776cf95efecc83bc (patch)
tree06a0069c02b8d2363afc3a6100685ad72f081fc1 /corebinutils/sh
parentbd279f51f566fb21ed58748b4d903ca796221dc8 (diff)
downloadProject-Tick-2a3a110dac53b271caf9aa97776cf95efecc83bc.tar.gz
Project-Tick-2a3a110dac53b271caf9aa97776cf95efecc83bc.zip
NOISSUE add some contrib files and fixes sh
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'corebinutils/sh')
-rw-r--r--corebinutils/sh/GNUmakefile12
-rw-r--r--corebinutils/sh/testcmd.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/corebinutils/sh/GNUmakefile b/corebinutils/sh/GNUmakefile
index a72eb1d61e..60e61a0846 100644
--- a/corebinutils/sh/GNUmakefile
+++ b/corebinutils/sh/GNUmakefile
@@ -8,7 +8,7 @@ CC ?= cc
AWK ?= awk
CPPFLAGS += -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 \
-I"$(CURDIR)" -I"$(CURDIR)/build/gen" -I"$(CURDIR)/../kill" \
- -I"$(CURDIR)/../../usr.bin/printf" -I"$(CURDIR)/../../bin/test"
+ -I"$(CURDIR)/../contrib/printf" -I"$(CURDIR)/../test"
CFLAGS ?= -O2
CFLAGS += -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare
LDFLAGS ?=
@@ -22,13 +22,13 @@ GENDIR := $(CURDIR)/build/gen
OUTDIR := $(CURDIR)/out
TARGET := $(OUTDIR)/sh
TEST_RUNNER := $(TOOLDIR)/run-default-sigpipe
-LIBEDITDIR := $(CURDIR)/../../contrib/libedit
-LIBEDIT_GENDIR := $(GENDIR)/libedit
-VISDIR := $(CURDIR)/../../contrib/libc-vis
+LIBEDITDIR := $(CURDIR)/../contrib/libedit
+LIBEDIT_GENDIR := $(GENDIR)/../contrib/libedit
+VISDIR := $(CURDIR)/../contrib/libc-vis
KILLDIR := $(CURDIR)/../kill
-TESTDIR := $(CURDIR)/../../bin/test
-PRINTFDIR := $(CURDIR)/../../usr.bin/printf
+TESTDIR := $(CURDIR)/../test
+PRINTFDIR := $(CURDIR)/../contrib/printf
CPPFLAGS += -I"$(LIBEDIT_GENDIR)" -I"$(LIBEDITDIR)"
LIBEDIT_CPPFLAGS := $(CPPFLAGS) $(EDITLINE_CPPFLAGS) -include "$(CURDIR)/compat.h" -I"$(VISDIR)"
diff --git a/corebinutils/sh/testcmd.c b/corebinutils/sh/testcmd.c
index d82d3c9e45..b8b8e7a4ee 100644
--- a/corebinutils/sh/testcmd.c
+++ b/corebinutils/sh/testcmd.c
@@ -21,7 +21,7 @@ testcmd_exit(int status)
#define exit testcmd_exit
#define main testcmd_main
-#include "../../bin/test/test.c"
+#include "../test/test.c"
#undef main
#undef exit