From b3f61791f1e9095ce8ae9c6d6415b4ee94e2f7eb Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 21 Mar 2004 14:06:38 +0000 Subject: Add libmp. --- src/libmp/port/mkfile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/libmp/port/mkfile (limited to 'src/libmp/port/mkfile') diff --git a/src/libmp/port/mkfile b/src/libmp/port/mkfile new file mode 100644 index 00000000..43670918 --- /dev/null +++ b/src/libmp/port/mkfile @@ -0,0 +1,47 @@ +PLAN9=../../.. +<$PLAN9/src/mkhdr + +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\ + +OFILES=${FILES:%=%.$O} + +# cull things in the per-machine directories from this list +# OFILES= `{sh ./reduce $O $objtype $ALLOFILES} + +HFILES=\ + $PLAN9/include/lib9.h\ + $PLAN9/include/mp.h\ + dat.h\ + +<$PLAN9/src/mksyslib -- cgit v1.2.3