diff --git a/lang/cem/libcc.ansi/build.lua b/lang/cem/libcc.ansi/build.lua index e1845eb69..47d9bc4b3 100644 --- a/lang/cem/libcc.ansi/build.lua +++ b/lang/cem/libcc.ansi/build.lua @@ -38,11 +38,11 @@ for _, plat in ipairs(vars.plats) do "./pure/locale/*.c", "./pure/setjmp/*.c", "./pure/setjmp/*.e", + "./pure/math/*.c", -- hypot.c + "./pure/math/*.e", "./ctype/*.c", "./errno/*.c", "./malloc/*.c", - "./math/*.c", -- hypot.c - "./math/*.e", "./misc/environ.c", -- don't build everything here as it's all obsolete "./signal/*.c", "./assert/*.c", @@ -56,7 +56,7 @@ for _, plat in ipairs(vars.plats) do "lang/cem/libcc.ansi/headers+pkg", "plat/"..plat.."/include+pkg", "./malloc/malloc.h", - "./math/localmath.h", + "./pure/math/localmath.h", "./stdio/loc_incl.h", "./stdlib/ext_fmt.h", "./time/loc_time.h", diff --git a/lang/cem/libcc.ansi/math/LIST b/lang/cem/libcc.ansi/math/LIST deleted file mode 100644 index 09a0b3c06..000000000 --- a/lang/cem/libcc.ansi/math/LIST +++ /dev/null @@ -1,22 +0,0 @@ -localmath.h -asin.c -atan2.c -atan.c -ceil.c -fabs.c -pow.c -log10.c -log.c -sin.c -sinh.c -sqrt.c -tan.c -tanh.c -exp.c -ldexp.c -fmod.c -floor.c -hugeval.c -frexp.e -modf.e -isnan.c diff --git a/lang/cem/libcc.ansi/math/Makefile b/lang/cem/libcc.ansi/math/Makefile deleted file mode 100644 index 1081596a0..000000000 --- a/lang/cem/libcc.ansi/math/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -clean: - rm -f asin.o atan2.o atan.o ceil.o fabs.o pow.o log10.o \ - log.o sin.o sinh.o sqrt.o tan.o tanh.o exp.o ldexp.o \ - fmod.o floor.o hugeval.o frexp.o modf.o isnan.o OLIST diff --git a/lang/cem/libcc.ansi/math/asin.c b/lang/cem/libcc.ansi/pure/math/asin.c similarity index 100% rename from lang/cem/libcc.ansi/math/asin.c rename to lang/cem/libcc.ansi/pure/math/asin.c diff --git a/lang/cem/libcc.ansi/math/atan.c b/lang/cem/libcc.ansi/pure/math/atan.c similarity index 100% rename from lang/cem/libcc.ansi/math/atan.c rename to lang/cem/libcc.ansi/pure/math/atan.c diff --git a/lang/cem/libcc.ansi/math/atan2.c b/lang/cem/libcc.ansi/pure/math/atan2.c similarity index 100% rename from lang/cem/libcc.ansi/math/atan2.c rename to lang/cem/libcc.ansi/pure/math/atan2.c diff --git a/lang/cem/libcc.ansi/math/ceil.c b/lang/cem/libcc.ansi/pure/math/ceil.c similarity index 100% rename from lang/cem/libcc.ansi/math/ceil.c rename to lang/cem/libcc.ansi/pure/math/ceil.c diff --git a/lang/cem/libcc.ansi/math/exp.c b/lang/cem/libcc.ansi/pure/math/exp.c similarity index 100% rename from lang/cem/libcc.ansi/math/exp.c rename to lang/cem/libcc.ansi/pure/math/exp.c diff --git a/lang/cem/libcc.ansi/math/fabs.c b/lang/cem/libcc.ansi/pure/math/fabs.c similarity index 100% rename from lang/cem/libcc.ansi/math/fabs.c rename to lang/cem/libcc.ansi/pure/math/fabs.c diff --git a/lang/cem/libcc.ansi/math/floor.c b/lang/cem/libcc.ansi/pure/math/floor.c similarity index 100% rename from lang/cem/libcc.ansi/math/floor.c rename to lang/cem/libcc.ansi/pure/math/floor.c diff --git a/lang/cem/libcc.ansi/math/fmod.c b/lang/cem/libcc.ansi/pure/math/fmod.c similarity index 100% rename from lang/cem/libcc.ansi/math/fmod.c rename to lang/cem/libcc.ansi/pure/math/fmod.c diff --git a/lang/cem/libcc.ansi/math/frexp.e b/lang/cem/libcc.ansi/pure/math/frexp.e similarity index 100% rename from lang/cem/libcc.ansi/math/frexp.e rename to lang/cem/libcc.ansi/pure/math/frexp.e diff --git a/lang/cem/libcc.ansi/math/hugeval.c b/lang/cem/libcc.ansi/pure/math/hugeval.c similarity index 100% rename from lang/cem/libcc.ansi/math/hugeval.c rename to lang/cem/libcc.ansi/pure/math/hugeval.c diff --git a/lang/cem/libcc.ansi/math/hypot.c b/lang/cem/libcc.ansi/pure/math/hypot.c similarity index 100% rename from lang/cem/libcc.ansi/math/hypot.c rename to lang/cem/libcc.ansi/pure/math/hypot.c diff --git a/lang/cem/libcc.ansi/math/isnan.c b/lang/cem/libcc.ansi/pure/math/isnan.c similarity index 100% rename from lang/cem/libcc.ansi/math/isnan.c rename to lang/cem/libcc.ansi/pure/math/isnan.c diff --git a/lang/cem/libcc.ansi/math/ldexp.c b/lang/cem/libcc.ansi/pure/math/ldexp.c similarity index 100% rename from lang/cem/libcc.ansi/math/ldexp.c rename to lang/cem/libcc.ansi/pure/math/ldexp.c diff --git a/lang/cem/libcc.ansi/math/localmath.h b/lang/cem/libcc.ansi/pure/math/localmath.h similarity index 100% rename from lang/cem/libcc.ansi/math/localmath.h rename to lang/cem/libcc.ansi/pure/math/localmath.h diff --git a/lang/cem/libcc.ansi/math/log.c b/lang/cem/libcc.ansi/pure/math/log.c similarity index 100% rename from lang/cem/libcc.ansi/math/log.c rename to lang/cem/libcc.ansi/pure/math/log.c diff --git a/lang/cem/libcc.ansi/math/log10.c b/lang/cem/libcc.ansi/pure/math/log10.c similarity index 100% rename from lang/cem/libcc.ansi/math/log10.c rename to lang/cem/libcc.ansi/pure/math/log10.c diff --git a/lang/cem/libcc.ansi/math/modf.e b/lang/cem/libcc.ansi/pure/math/modf.e similarity index 100% rename from lang/cem/libcc.ansi/math/modf.e rename to lang/cem/libcc.ansi/pure/math/modf.e diff --git a/lang/cem/libcc.ansi/math/pow.c b/lang/cem/libcc.ansi/pure/math/pow.c similarity index 100% rename from lang/cem/libcc.ansi/math/pow.c rename to lang/cem/libcc.ansi/pure/math/pow.c diff --git a/lang/cem/libcc.ansi/math/sin.c b/lang/cem/libcc.ansi/pure/math/sin.c similarity index 100% rename from lang/cem/libcc.ansi/math/sin.c rename to lang/cem/libcc.ansi/pure/math/sin.c diff --git a/lang/cem/libcc.ansi/math/sinh.c b/lang/cem/libcc.ansi/pure/math/sinh.c similarity index 100% rename from lang/cem/libcc.ansi/math/sinh.c rename to lang/cem/libcc.ansi/pure/math/sinh.c diff --git a/lang/cem/libcc.ansi/math/sqrt.c b/lang/cem/libcc.ansi/pure/math/sqrt.c similarity index 100% rename from lang/cem/libcc.ansi/math/sqrt.c rename to lang/cem/libcc.ansi/pure/math/sqrt.c diff --git a/lang/cem/libcc.ansi/math/tan.c b/lang/cem/libcc.ansi/pure/math/tan.c similarity index 100% rename from lang/cem/libcc.ansi/math/tan.c rename to lang/cem/libcc.ansi/pure/math/tan.c diff --git a/lang/cem/libcc.ansi/math/tanh.c b/lang/cem/libcc.ansi/pure/math/tanh.c similarity index 100% rename from lang/cem/libcc.ansi/math/tanh.c rename to lang/cem/libcc.ansi/pure/math/tanh.c