Merge in Windows port using mingw and make.
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
ROOT=..
|
||||
include ../Make.config
|
||||
# N.B. This is used only for secstore. It needn't be fast.
|
||||
|
||||
LIB=libmp.a
|
||||
CC=gcc
|
||||
CFLAGS=-I../include -I. -c -ggdb -D_THREAD_SAFE -pthread
|
||||
O=o
|
||||
|
||||
OFILES=\
|
||||
betomp.$O\
|
||||
@ -38,8 +37,8 @@ OFILES=\
|
||||
strtomp.$O
|
||||
|
||||
$(LIB): $(OFILES)
|
||||
ar r $(LIB) $(OFILES)
|
||||
ranlib $(LIB)
|
||||
$(AR) r $(LIB) $(OFILES)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
%.$O: %.c
|
||||
$(CC) $(CFLAGS) $*.c
|
||||
|
40
libmp/mkfile
40
libmp/mkfile
@ -1,40 +0,0 @@
|
||||
TARG=libmp.$L
|
||||
<$DSRC/mkfile-$CONF
|
||||
|
||||
OFILES=\
|
||||
betomp.$O\
|
||||
crt.$O\
|
||||
letomp.$O\
|
||||
mpadd.$O\
|
||||
mpaux.$O\
|
||||
mpcmp.$O\
|
||||
mpdigdiv.$O\
|
||||
mpdiv.$O\
|
||||
mpeuclid.$O\
|
||||
mpexp.$O\
|
||||
mpextendedgcd.$O\
|
||||
mpfmt.$O\
|
||||
mpinvert.$O\
|
||||
mpleft.$O\
|
||||
mpmod.$O\
|
||||
mpmul.$O\
|
||||
mprand.$O\
|
||||
mpright.$O\
|
||||
mpsub.$O\
|
||||
mptobe.$O\
|
||||
mptoi.$O\
|
||||
mptole.$O\
|
||||
mptoui.$O\
|
||||
mptouv.$O\
|
||||
mptov.$O\
|
||||
mpvecadd.$O\
|
||||
mpveccmp.$O\
|
||||
mpvecdigmuladd.$O\
|
||||
mpvecsub.$O\
|
||||
strtomp.$O
|
||||
|
||||
HFILE=\
|
||||
dat.h\
|
||||
os.h
|
||||
|
||||
<$DSRC/mklib-$CONF
|
Reference in New Issue
Block a user