summaryrefslogtreecommitdiff
path: root/libmp/port/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'libmp/port/mkfile')
-rw-r--r--libmp/port/mkfile52
1 files changed, 52 insertions, 0 deletions
diff --git a/libmp/port/mkfile b/libmp/port/mkfile
new file mode 100644
index 00000000..67ee36ed
--- /dev/null
+++ b/libmp/port/mkfile
@@ -0,0 +1,52 @@
+<../../mkconfig
+
+LIB=libmp.a
+FILES=\
+ mpaux\
+ mpfmt\
+ strtomp\
+ mptobe\
+ mptole\
+ betomp\
+ letomp\
+ mpadd\
+ mpsub\
+ mpcmp\
+ mpfactorial\
+ mpmul\
+ mpleft\
+ mpright\
+ mpvecadd\
+ mpvecsub\
+ mpvecdigmuladd\
+ mpveccmp\
+ mpdigdiv\
+ mpdiv\
+ mpexp\
+ mpmod\
+ mpextendedgcd\
+ mpinvert\
+ mprand\
+ crt\
+ mptoi\
+ mptoui\
+ mptov\
+ mptouv\
+
+ALLOFILES=${FILES:%=%.$O}
+# cull things in the per-machine directories from this list
+OFILES= `{$SHELLNAME ./reduce-$SHELLTYPE $O $TARGMODEL-$OBJTYPE $ALLOFILES }
+
+HFILES=\
+ $ROOT/$OBJDIR/include/lib9.h\
+ $ROOT/include/mp.h\
+ dat.h\
+
+CFILES=${FILES:%=%.c}
+
+
+UPDATE=mkfile\
+ $HFILES\
+ $CFILES\
+
+<$ROOT/mkfiles/mksyslib-$SHELLTYPE