summaryrefslogtreecommitdiff
path: root/libmath/mkfile
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
commit37da2899f40661e3e9631e497da8dc59b971cbd0 (patch)
treecbc6d4680e347d906f5fa7fca73214418741df72 /libmath/mkfile
parent54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff)
20060303a
Diffstat (limited to 'libmath/mkfile')
-rw-r--r--libmath/mkfile67
1 files changed, 67 insertions, 0 deletions
diff --git a/libmath/mkfile b/libmath/mkfile
new file mode 100644
index 00000000..5c668951
--- /dev/null
+++ b/libmath/mkfile
@@ -0,0 +1,67 @@
+<../mkconfig
+
+TARGTYPE=${SYSTARG:os%=Inferno%} # maps 'os' into 'Inferno'
+
+LIB=libmath.a
+OFILES=\
+ blas.$O\
+ dtoa.$O\
+ fdim.$O\
+ FPcontrol-$TARGTYPE.$O\
+ gemm.$O\
+ g_fmt.$O\
+ gfltconv.$O\
+ pow10.$O\
+ e_acos.$O\
+ e_acosh.$O\
+ e_asin.$O\
+ e_atan2.$O\
+ e_atanh.$O\
+ e_cosh.$O\
+ e_exp.$O\
+ e_fmod.$O\
+ e_hypot.$O\
+ e_j0.$O\
+ e_j1.$O\
+ e_jn.$O\
+ e_lgamma_r.$O\
+ e_log.$O\
+ e_log10.$O\
+ e_pow.$O\
+ e_rem_pio2.$O\
+ e_remainder.$O\
+ e_sinh.$O\
+ e_sqrt.$O\
+ k_cos.$O\
+ k_rem_pio2.$O\
+ k_sin.$O\
+ k_tan.$O\
+ s_asinh.$O\
+ s_atan.$O\
+ s_cbrt.$O\
+ s_ceil.$O\
+ s_copysign.$O\
+ s_cos.$O\
+ s_erf.$O\
+ s_expm1.$O\
+ s_fabs.$O\
+ s_finite.$O\
+ s_floor.$O\
+ s_ilogb.$O\
+ s_isnan.$O\
+ s_log1p.$O\
+ s_nextafter.$O\
+ s_rint.$O\
+ s_scalbn.$O\
+ s_sin.$O\
+ s_tan.$O\
+ s_tanh.$O\
+
+HFILES=\
+ $ROOT/include/mathi.h\
+ fdlibm/fdlibm.h\
+
+<$ROOT/mkfiles/mksyslib-$SHELLTYPE
+
+%.$O: fdlibm/%.c
+ $CC $CFLAGS -o $target -Ifdlibm fdlibm/$stem.c