- Added missing basename.c;
- Added original dirname.c;
- Added getcwd (extension of POSIX.1 standard, as in the original NewLib).

git-svn-id: svn://kolibrios.org@9989 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2024-03-07 20:39:33 +00:00
parent 64d4ca96c4
commit aae3ae86cc
7 changed files with 134 additions and 93 deletions

View File

@@ -100,7 +100,6 @@ CORE_SRCS = {
"sys/close.c",
"sys/conio.c",
"sys/chdir.c",
"sys/getcwd.c",
"sys/errno.c",
"sys/fstat.c",
"sys/gettod.c",
@@ -307,8 +306,7 @@ STRING_SRCS = {
"wmemcmp.c",
"wmemcpy.c",
"wmemmove.c",
"wmemset.c",
"dirname.c"
"wmemset.c"
}
STDIO_SRCS = {
@@ -455,6 +453,7 @@ STDIO_SRCS = {
"wscanf.c",
"wsetup.c"
}
POSIX_SRCS = {
"opendir.c",
"closedir.c",
@@ -464,6 +463,12 @@ POSIX_SRCS = {
"rewinddir.c"
}
UNIX_SRCS = {
"getcwd.c",
"dirname.c",
"basename.c"
}
MATH_SRCS = {
"e_acos.c", "e_acosh.c", "e_asin.c", "e_atan2.c", "e_atanh.c", "e_cosh.c", "e_exp.c", "e_fmod.c",
"e_hypot.c", "e_j0.c", "e_j1.c", "e_jn.c", "e_log.c", "e_log10.c", "e_pow.c", "e_rem_pio2.c",
@@ -516,6 +521,7 @@ LIB_SRCS += prepend("stdio/", STDIO_SRCS)
LIB_SRCS += prepend("string/", STRING_SRCS)
LIB_SRCS += prepend("stdlib/", STDLIB_SRCS)
LIB_SRCS += prepend("posix/", POSIX_SRCS)
LIB_SRCS += prepend("unix/", UNIX_SRCS)
LIB_SRCS += prepend("math/", MATH_SRCS)
ALL_OBJS = {}