Commit 310f39067a0f12353407610bca0ab626111aa7df

Thomas de Grivel 2023-01-21T08:41:40

rename files

diff --git a/.gitignore b/.gitignore
index d008566..8d9b565 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,22 +2,22 @@
 c3-*/
 c3-*.tar.gz
 c3c/c3c
-c3c/c3c.asan
-c3c/c3c.cov
-c3c/c3c.debug
+c3c/c3c_asan
+c3c/c3c_cov
+c3c/c3c_debug
 c3s/c3s
-c3s/c3s.asan
-c3s/c3s.cov
-c3s/c3s.debug
+c3s/c3s_asan
+c3s/c3s_cov
+c3s/c3s_debug
 config.mk
 *.core
 *.css
 *.gcno
 *.html
 ic3/ic3
-ic3/ic3.asan
-ic3/ic3.cov
-ic3/ic3.debug
+ic3/ic3_asan
+ic3/ic3_cov
+ic3/ic3_debug
 *.la
 .libs/
 *.lo
@@ -27,8 +27,8 @@ test/ic3/*.err
 test/ic3/*.out
 test/ic3/*.ret
 test/libc3_test
-test/libc3_test.asan
-test/libc3_test.cov
-test/libc3_test.debug
+test/libc3_test_asan
+test/libc3_test_cov
+test/libc3_test_debug
 *.tmp
 ucd2c/ucd2c
diff --git a/Makefile b/Makefile
index 3aded36..a1f7ffb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 ## c3
-## Copyright 2022 kmx.io <contact@kmx.io>
+## Copyright 2022,2023 kmx.io <contact@kmx.io>
 ##
 ## Permission is hereby granted to use this software excepted
 ## on Apple computers granted the above copyright notice and
@@ -10,7 +10,7 @@
 ## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
 ## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
 ## THIS SOFTWARE.
-
+##
 build:
 	${MAKE} -C libtommath build
 	${MAKE} -C ucd2c build
diff --git a/c3s/configure b/c3s/configure
index f781fdc..dd6560f 100755
--- a/c3s/configure
+++ b/c3s/configure
@@ -14,7 +14,7 @@
 
 set -e
 
-export SRC_TOP="$(pwd)/.."
+export SRC_TOP="$(dirname "$PWD")"
 
 . ../config.subr
 
diff --git a/ic3/configure b/ic3/configure
index 00d0af0..de90afd 100755
--- a/ic3/configure
+++ b/ic3/configure
@@ -14,7 +14,7 @@
 
 set -e
 
-export SRC_TOP="$(pwd)/.."
+export SRC_TOP="$(dirname "$PWD")"
 
 . ../config.subr
 
diff --git a/libc3/Makefile b/libc3/Makefile
index a5b99fb..77b3f6a 100644
--- a/libc3/Makefile
+++ b/libc3/Makefile
@@ -1,5 +1,5 @@
 ## c3
-## Copyright 2022 kmx.io <contact@kmx.io>
+## Copyright 2022,2023 kmx.io <contact@kmx.io>
 ##
 ## Permission is hereby granted to use this software excepted
 ## on Apple computers granted the above copyright notice and
@@ -10,8 +10,8 @@
 ## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
 ## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
 ## THIS SOFTWARE.
-
-CLEANFILES = *.a *.gcno *.la libc3.la .libs *.lo *.o
+##
+CLEANFILES = *.a *.gcno *.la .libs *.lo *.o
 
 CLEANFILES_COV = *.css *.gcda *.html .libs/*.gcda
 CLEANFILES += ${CLEANFILES_COV}
@@ -26,7 +26,7 @@ all:
 	${MAKE} debug
 	if ${HAVE_ASAN}; then ${MAKE} asan; fi
 
-asan: libc3.asan.la libc3.asan.a
+asan: libc3_asan.la libc3_asan.a
 
 clean:
 	rm -rf ${CLEANFILES}
@@ -34,9 +34,9 @@ clean:
 clean_cov:
 	rm -rf ${CLEANFILES_COV}
 
-cov: libc3.cov.la libc3.cov.a
+cov: libc3_cov.la libc3_cov.a
 
-debug: libc3.debug.la libc3.debug.a
+debug: libc3_debug.la libc3_debug.a
 
 distclean:
 	rm -rf ${DISTCLEANFILES}
@@ -78,14 +78,14 @@ install:
 libc3.a: libc3.la
 	cp .libs/libc3.a ./
 
-libc3.asan.a: libc3.asan.la
-	cp .libs/libc3.asan.a ./
+libc3_asan.a: libc3_asan.la
+	cp .libs/libc3_asan.a ./
 
-libc3.cov.a: libc3.cov.la
-	cp .libs/libc3.cov.a ./
+libc3_cov.a: libc3_cov.la
+	cp .libs/libc3_cov.a ./
 
-libc3.debug.a: libc3.debug.la
-	cp .libs/libc3.debug.a ./
+libc3_debug.a: libc3_debug.la
+	cp .libs/libc3_debug.a ./
 
 SED_FACT = sed -e 's/_NAME[$$]/fact/g' -e 's/_TYPE[$$]/s_fact/g'
 set_cursor__fact.h: set_cursor.h.in Makefile
diff --git a/libc3/configure b/libc3/configure
index ae4177f..b3e3c6b 100755
--- a/libc3/configure
+++ b/libc3/configure
@@ -13,7 +13,7 @@
 ## THIS SOFTWARE.
 set -e
 
-export SRC_TOP="$(pwd)/.."
+export SRC_TOP="$(dirname "$PWD")"
 
 . ../config.subr
 
diff --git a/libtommath b/libtommath
index 8b3d921..ce33fd7 160000
--- a/libtommath
+++ b/libtommath
@@ -1 +1 @@
-Subproject commit 8b3d921e94165be18fc1d62af014a5af8f7c90d1
+Subproject commit ce33fd708565f1538878e9756746beb15012411f